Lines Matching defs:codec
12 #include "src/codec/SkBmpCodec.h"
13 #include "src/codec/SkCodecPriv.h"
14 #include "src/codec/SkIcoCodec.h"
15 #include "src/codec/SkPngCodec.h"
161 // Now will construct a candidate codec for each of the embedded images
193 // Check if the embedded codec is bmp or png and create the codec
194 std::unique_ptr<SkCodec> codec;
197 codec = SkPngCodec::MakeFromStream(std::move(embeddedStream), &ignoredResult);
199 codec = SkBmpCodec::MakeFromIco(std::move(embeddedStream), &ignoredResult);
202 if (nullptr != codec) {
203 codecs->push_back().reset(codec.release());
212 // Use the largest codec as a "suggestion" for image info
235 // codec's will be used instead.
316 // The embedded codec will handle filling incomplete images, so we will indicate
321 // Continue trying to find a valid embedded codec on a failed decode.
386 // rewind. The embedded codec has an SkMemoryStream, which is
397 // Move on to the next embedded codec.