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 "SkImageInfo.h" | 12 #include "SkImageInfo.h" |
13 #include "SkJpegDecoderMgr.h" | 13 #include "SkJpegDecoderMgr.h" |
14 #include "SkJpegUtility.h" | 14 #include "SkJpegUtility_codec.h" |
15 #include "SkStream.h" | 15 #include "SkStream.h" |
16 | 16 |
17 extern "C" { | 17 extern "C" { |
18 #include "jpeglib.h" | 18 #include "jpeglib.h" |
19 } | 19 } |
20 | 20 |
21 /* | 21 /* |
22 * | 22 * |
23 * This class implements the decoding for jpeg images | 23 * This class implements the decoding for jpeg images |
24 * | 24 * |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 SkAutoTDelete<JpegDecoderMgr> fDecoderMgr; | 114 SkAutoTDelete<JpegDecoderMgr> fDecoderMgr; |
115 SkAutoTDelete<SkSwizzler> fSwizzler; | 115 SkAutoTDelete<SkSwizzler> fSwizzler; |
116 size_t fSrcRowBytes; | 116 size_t fSrcRowBytes; |
117 | 117 |
118 friend class SkJpegScanlineDecoder; | 118 friend class SkJpegScanlineDecoder; |
119 | 119 |
120 typedef SkCodec INHERITED; | 120 typedef SkCodec INHERITED; |
121 }; | 121 }; |
122 | 122 |
123 #endif | 123 #endif |
OLD | NEW |