diff options
author | 2015-06-29 10:14:11 -0700 | |
---|---|---|
committer | 2015-06-29 10:14:11 -0700 | |
commit | f8bf9181d7b0463c8e371755cfbb9ece90b34fc5 (patch) | |
tree | f0bcd1f4b6732a9569c7d11b6ed3e054a1f84188 /src/codec/SkJpegCodec.h | |
parent | 146a4ba33640d2cf826248fa5562a81e3b68e164 (diff) |
Add libjpeg-turbo library (depends on yasm)
Mangle external function names to avoid conflict with libjpeg
Take advantage of direct color conversion (RGBA, BGRA, 565)
Prepare to use jpeg_skip_scanlines (when it is upstreamed)
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/b60c3f8291529303299262dba19b1a896060bd2d
Review URL: https://codereview.chromium.org/1180983002
Diffstat (limited to 'src/codec/SkJpegCodec.h')
-rw-r--r-- | src/codec/SkJpegCodec.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/codec/SkJpegCodec.h b/src/codec/SkJpegCodec.h index 87c925d9d1..1844269e6b 100644 --- a/src/codec/SkJpegCodec.h +++ b/src/codec/SkJpegCodec.h @@ -100,6 +100,13 @@ private: bool handleRewind(); /* + * Checks if the conversion between the input image and the requested output + * image has been implemented + * Sets the output color space + */ + bool setOutputColorSpace(const SkImageInfo& dst); + + /* * Checks if we can scale to the requested dimensions and scales the dimensions * if possible */ @@ -112,8 +119,6 @@ private: const Options& options); SkAutoTDelete<JpegDecoderMgr> fDecoderMgr; - SkAutoTDelete<SkSwizzler> fSwizzler; - size_t fSrcRowBytes; friend class SkJpegScanlineDecoder; |