Lines Matching refs:SkImageDecoder
57 class SkImageDecoder_CG : public SkImageDecoder {
140 SkImageDecoder::Result SkImageDecoder_CG::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { in onDecode()
178 if (SkImageDecoder::kDecodeBounds_Mode == mode) { in onDecode()
224 extern SkImageDecoder* image_decoder_from_stream(SkStreamRewindable*);
226 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { in Factory()
227 SkImageDecoder* decoder = image_decoder_from_stream(stream); in Factory()
371 SkImageDecoder::Format fFormat;
376 { kUTTypeBMP, SkImageDecoder::kBMP_Format },
377 { kUTTypeGIF, SkImageDecoder::kGIF_Format },
378 { kUTTypeICO, SkImageDecoder::kICO_Format },
379 { kUTTypeJPEG, SkImageDecoder::kJPEG_Format },
381 { kUTTypeJPEG2000, SkImageDecoder::kJPEG_Format },
382 { kUTTypePNG, SkImageDecoder::kPNG_Format },
385 static SkImageDecoder::Format UTType_to_Format(const CFStringRef uttype) { in UTType_to_Format()
391 return SkImageDecoder::kUnknown_Format; in UTType_to_Format()
394 static SkImageDecoder::Format get_format_cg(SkStreamRewindable* stream) { in get_format_cg()
398 return SkImageDecoder::kUnknown_Format; in get_format_cg()
404 return SkImageDecoder::kUnknown_Format; in get_format_cg()