Lines Matching refs:codec
108 // Now will construct a candidate codec for each of the embedded images
130 // Create a new stream for the embedded codec
140 // Check if the embedded codec is bmp or png and create the codec
141 SkCodec* codec = nullptr;
143 codec = SkPngCodec::NewFromStream(embeddedStream.detach());
145 codec = SkBmpCodec::NewFromIco(embeddedStream.detach());
148 // Save a valid codec
149 if (nullptr != codec) {
150 codecs->push_back().reset(codec);
160 // Use the largest codec as a "suggestion" for image info
173 // Note that stream is owned by the embedded codec, the ico does not need
260 // The embedded codec will handle filling incomplete images, so we will indicate
265 // Continue trying to find a valid embedded codec on a failed decode.