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

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

Issue 1766413002: Use a smart pointer for SkColorSpace factories (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix spacing Created 4 years, 9 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/SkGifCodec.h ('k') | src/codec/SkPngCodec.h » ('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 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
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
OLDNEW
« no previous file with comments | « src/codec/SkGifCodec.h ('k') | src/codec/SkPngCodec.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698