Lines Matching refs:SkImageDecoder
51 class SkImageDecoder_WIC : public SkImageDecoder {
77 SkImageDecoder::Format fFormat;
81 { GUID_ContainerFormatBmp, SkImageDecoder::kBMP_Format },
82 { GUID_ContainerFormatGif, SkImageDecoder::kGIF_Format },
83 { GUID_ContainerFormatIco, SkImageDecoder::kICO_Format },
84 { GUID_ContainerFormatJpeg, SkImageDecoder::kJPEG_Format },
85 { GUID_ContainerFormatPng, SkImageDecoder::kPNG_Format },
88 static SkImageDecoder::Format GuidContainerFormat_to_Format(REFGUID guid) { in GuidContainerFormat_to_Format()
94 return SkImageDecoder::kUnknown_Format; in GuidContainerFormat_to_Format()
97 SkImageDecoder::Result SkImageDecoder_WIC::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { in onDecode()
100 case SkImageDecoder::kDecodeBounds_Mode: in onDecode()
103 case SkImageDecoder::kDecodePixels_Mode: in onDecode()
255 extern SkImageDecoder* image_decoder_from_stream(SkStreamRewindable*);
257 SkImageDecoder* SkImageDecoder::Factory(SkStreamRewindable* stream) { in Factory()
258 SkImageDecoder* decoder = image_decoder_from_stream(stream); in Factory()
457 static SkImageDecoder::Format get_format_wic(SkStreamRewindable* stream) { in get_format_wic()
458 SkImageDecoder::Format format; in get_format_wic()
461 format = SkImageDecoder::kUnknown_Format; in get_format_wic()