Chromium Code Reviews| Index: src/codec/SkJpegCodec.h |
| diff --git a/src/codec/SkJpegCodec.h b/src/codec/SkJpegCodec.h |
| index 5e2135cdffb71b66faa6a2c1cb24ae895626d31d..73e4e0f339e90f8405981b9b0e034c76935fabe6 100644 |
| --- a/src/codec/SkJpegCodec.h |
| +++ b/src/codec/SkJpegCodec.h |
| @@ -101,6 +101,11 @@ private: |
| SkJpegCodec(const SkImageInfo& srcInfo, SkStream* stream, JpegDecoderMgr* decoderMgr); |
| /* |
| + * Create the swizzler based on the encoded format |
|
scroggo
2015/08/06 15:09:11
This should probably state that it is only used in
emmaleer
2015/08/06 18:59:52
Acknowledged.
|
| + */ |
| + Result initializeSwizzler(const SkImageInfo& requestedInfo, const Options&); |
| + |
| + /* |
| * Handles rewinding the input stream if it is necessary |
| */ |
| bool handleRewind(); |
| @@ -113,19 +118,13 @@ private: |
| bool setOutputColorSpace(const SkImageInfo& dst); |
| /* |
| - * Checks if we can scale to the requested dimensions and scales the dimensions |
| - * if possible |
| + * Checks if we can natively scale to the requested dimensions and natively scales the |
| + * dimensions if possible |
| */ |
| - 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); |
| + bool nativelyScaleToDimensions(uint32_t width, uint32_t height); |
| SkAutoTDelete<JpegDecoderMgr> fDecoderMgr; |
| - |
| + |
| friend class SkJpegScanlineDecoder; |
| typedef SkCodec INHERITED; |