Index: src/codec/SkJpegCodec.h |
diff --git a/src/codec/SkJpegCodec.h b/src/codec/SkJpegCodec.h |
index fac7d96075eacb6be2a5a49ebc5f9786c3ffbde0..62a5bbc4cf0f450eb4f2d92f16be0875bc222c1c 100644 |
--- a/src/codec/SkJpegCodec.h |
+++ b/src/codec/SkJpegCodec.h |
@@ -110,13 +110,19 @@ |
bool setOutputColorSpace(const SkImageInfo& dst); |
/* |
- * Checks if we can natively scale to the requested dimensions and natively scales the |
- * dimensions if possible |
+ * Checks if we can scale to the requested dimensions and scales the dimensions |
+ * if possible |
*/ |
- bool nativelyScaleToDimensions(uint32_t width, uint32_t height); |
+ bool scaleToDimensions(uint32_t width, uint32_t height); |
+ |
+ /* |
+ * Create the swizzler based on the encoded format |
+ */ |
+ void initializeSwizzler(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, |
+ const Options& options); |
SkAutoTDelete<JpegDecoderMgr> fDecoderMgr; |
- |
+ |
friend class SkJpegScanlineDecoder; |
typedef SkCodec INHERITED; |