Lines Matching refs:SkImageDecoder
81 class SkJPEGImageDecoder : public SkImageDecoder {
104 typedef SkImageDecoder INHERITED;
177 static SkImageDecoder::Result return_failure(const jpeg_decompress_struct& cinfo, in return_failure()
180 return SkImageDecoder::kFailure; in return_failure()
221 static void set_dct_method(const SkImageDecoder& decoder, jpeg_decompress_struct* cinfo) { in set_dct_method()
286 const SkImageDecoder& decoder) { in adjust_out_color_space_and_dither()
354 SkImageDecoder::Result SkJPEGImageDecoder::onDecode(SkStream* stream, SkBitmap* bm, Mode mode) { in onDecode()
398 if (1 == sampleSize && SkImageDecoder::kDecodeBounds_Mode == mode) { in onDecode()
422 if (SkImageDecoder::kDecodeBounds_Mode == mode && valid_output_dimensions(cinfo)) { in onDecode()
445 if (SkImageDecoder::kDecodeBounds_Mode == mode) { in onDecode()
921 static SkImageDecoder* sk_libjpeg_dfactory(SkStreamRewindable* stream) { in sk_libjpeg_dfactory()
928 static SkImageDecoder::Format get_format_jpeg(SkStreamRewindable* stream) { in get_format_jpeg()
930 return SkImageDecoder::kJPEG_Format; in get_format_jpeg()
932 return SkImageDecoder::kUnknown_Format; in get_format_jpeg()