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 SkJpegDecoderMgr_DEFINED | 8 #ifndef SkJpegDecoderMgr_DEFINED |
9 #define SkJpegDecoderMgr_DEFINED | 9 #define SkJpegDecoderMgr_DEFINED |
10 | 10 |
11 #include "SkCodec.h" | 11 #include "SkCodec.h" |
12 #include "SkCodecPriv.h" | 12 #include "SkCodecPriv.h" |
13 #include "SkJpegUtility.h" | 13 #include "SkJpegUtility_codec.h" |
14 #include "SkSwizzler.h" | 14 #include "SkSwizzler.h" |
15 #include "SkTemplates.h" | 15 #include "SkTemplates.h" |
16 | 16 |
17 // stdio is needed for jpeglib | 17 // stdio is needed for jpeglib |
18 #include <stdio.h> | 18 #include <stdio.h> |
19 | 19 |
20 extern "C" { | 20 extern "C" { |
21 #include "jpeglib.h" | 21 #include "jpeglib.h" |
22 } | 22 } |
23 | 23 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 private: | 69 private: |
70 | 70 |
71 jpeg_decompress_struct fDInfo; | 71 jpeg_decompress_struct fDInfo; |
72 skjpeg_source_mgr fSrcMgr; | 72 skjpeg_source_mgr fSrcMgr; |
73 skjpeg_error_mgr fErrorMgr; | 73 skjpeg_error_mgr fErrorMgr; |
74 bool fInit; | 74 bool fInit; |
75 }; | 75 }; |
76 | 76 |
77 #endif | 77 #endif |
OLD | NEW |