| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef SkJpegCodec_DEFINED | 8 #ifndef SkJpegCodec_DEFINED |
| 9 #define SkJpegCodec_DEFINED | 9 #define SkJpegCodec_DEFINED |
| 10 | 10 |
| 11 #include "SkCodec.h" | 11 #include "SkCodec.h" |
| 12 #include "SkColorSpace.h" |
| 12 #include "SkImageInfo.h" | 13 #include "SkImageInfo.h" |
| 13 #include "SkSwizzler.h" | 14 #include "SkSwizzler.h" |
| 14 #include "SkStream.h" | 15 #include "SkStream.h" |
| 15 #include "SkTemplates.h" | 16 #include "SkTemplates.h" |
| 16 | 17 |
| 17 class JpegDecoderMgr; | 18 class JpegDecoderMgr; |
| 18 | 19 |
| 19 /* | 20 /* |
| 20 * | 21 * |
| 21 * This class implements the decoding for jpeg images | 22 * This class implements the decoding for jpeg images |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // libjpeg-turbo provides some subsetting. In the case that libjpeg-turbo | 119 // libjpeg-turbo provides some subsetting. In the case that libjpeg-turbo |
| 119 // cannot take the exact the subset that we need, we will use the swizzler | 120 // cannot take the exact the subset that we need, we will use the swizzler |
| 120 // to further subset the output from libjpeg-turbo. | 121 // to further subset the output from libjpeg-turbo. |
| 121 SkIRect fSwizzlerSubset; | 122 SkIRect fSwizzlerSubset; |
| 122 SkAutoTDelete<SkSwizzler> fSwizzler; | 123 SkAutoTDelete<SkSwizzler> fSwizzler; |
| 123 | 124 |
| 124 typedef SkCodec INHERITED; | 125 typedef SkCodec INHERITED; |
| 125 }; | 126 }; |
| 126 | 127 |
| 127 #endif | 128 #endif |
| OLD | NEW |