Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1622)

Unified Diff: src/codec/SkJpegCodec.h

Issue 1180983002: Switch SkJpegCode to libjpeg-turbo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: cros 3 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/codec/SkJpegCodec.h
diff --git a/src/codec/SkJpegCodec.h b/src/codec/SkJpegCodec.h
index 87c925d9d17a49ca42ce96b91760f8259e1f33bf..1844269e6b3eff13a2e53dd636a8845e299c8739 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;

Powered by Google App Engine
This is Rietveld 408576698