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

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

Issue 1836493002: Rename encoders to Sk*ImageEncoder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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.cpp ('k') | src/codec/SkJpegDecoderMgr.cpp » ('j') | 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"
14
15 // stdio is needed for jpeglib
16 #include <stdio.h> 13 #include <stdio.h>
14 #include "SkJpegUtility.h"
17 15
18 extern "C" { 16 extern "C" {
19 #include "jpeglib.h" 17 #include "jpeglib.h"
20 } 18 }
21 19
22 class JpegDecoderMgr : SkNoncopyable { 20 class JpegDecoderMgr : SkNoncopyable {
23 public: 21 public:
24 22
25 /* 23 /*
26 * Print a useful error message and return false 24 * Print a useful error message and return false
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 64
67 private: 65 private:
68 66
69 jpeg_decompress_struct fDInfo; 67 jpeg_decompress_struct fDInfo;
70 skjpeg_source_mgr fSrcMgr; 68 skjpeg_source_mgr fSrcMgr;
71 skjpeg_error_mgr fErrorMgr; 69 skjpeg_error_mgr fErrorMgr;
72 bool fInit; 70 bool fInit;
73 }; 71 };
74 72
75 #endif 73 #endif
OLDNEW
« no previous file with comments | « src/codec/SkJpegCodec.cpp ('k') | src/codec/SkJpegDecoderMgr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698