Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Side by Side Diff: src/codec/SkJpegDecoderMgr.h

Issue 1702533004: Individually enable and disable SkCodecs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/codec/SkJpegCodec.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_codec.h" 13 #include "SkJpegUtility_codec.h"
14 #include "SkSwizzler.h"
15 14
16 // stdio is needed for jpeglib 15 // stdio is needed for jpeglib
17 #include <stdio.h> 16 #include <stdio.h>
18 17
19 extern "C" { 18 extern "C" {
20 #include "jpeglib.h" 19 #include "jpeglib.h"
21 } 20 }
22 21
23 class JpegDecoderMgr : SkNoncopyable { 22 class JpegDecoderMgr : SkNoncopyable {
24 public: 23 public:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 66
68 private: 67 private:
69 68
70 jpeg_decompress_struct fDInfo; 69 jpeg_decompress_struct fDInfo;
71 skjpeg_source_mgr fSrcMgr; 70 skjpeg_source_mgr fSrcMgr;
72 skjpeg_error_mgr fErrorMgr; 71 skjpeg_error_mgr fErrorMgr;
73 bool fInit; 72 bool fInit;
74 }; 73 };
75 74
76 #endif 75 #endif
OLDNEW
« no previous file with comments | « src/codec/SkJpegCodec.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698