Lines Matching refs:decode
59 // decode the alpha from it.
77 // Decode a resource:
90 SkDebugf("couldn't decode %s\n", filename.c_str());
94 bool success = decoder->decode(&stream, &bm8888, kN32_SkColorType,
107 success = decoder->decode(&stream, &bm8888Unpremul, kN32_SkColorType,
162 // SkDebugf("about to decode \"%s\"\n", filename.c_str());
184 // Decode just the bounds. This should always succeed.
185 bool success = decoder->decode(&stream, &bm, kN32_SkColorType,
192 // Keep track of the alpha type for testing later. If the full decode
193 // succeeds, the alpha type should be the same, unless the full decode
205 success = decoder->decode(&stream, &bm, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
209 // unpremul it will fail. This is the only reason the decode should
215 // The bounds decode should return with either the requested
227 // returned by the bounds decode, unless the full decode determined that
287 bool success = decoder->decode(&stream, &bm, kN32_SkColorType,
309 success = decoder->decode(&stream, &bm, kN32_SkColorType,
572 * Given either a SkStream or a SkData, try to decode the encoded
603 ERRORF(reporter, "Bounds decode failed [sampleSize=%d dither=%s "
624 ERRORF(reporter, "Pixel decode failed [sampleSize=%d dither=%s "