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

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

Issue 1372973002: Move all knowledge of X sampling into SkScaledCodec (Closed) Base URL: https://skia.googlesource.com/skia.git@codecSDmerge
Patch Set: Attempt to fix RLE overflow Created 5 years, 2 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 | « include/codec/SkScaledCodec.h ('k') | src/codec/SkBmpCodec.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 #ifndef SkBmpCodec_DEFINED 7 #ifndef SkBmpCodec_DEFINED
8 #define SkBmpCodec_DEFINED 8 #define SkBmpCodec_DEFINED
9 9
10 #include "SkCodec.h" 10 #include "SkCodec.h"
11 #include "SkColorTable.h" 11 #include "SkColorTable.h"
12 #include "SkImageInfo.h" 12 #include "SkImageInfo.h"
13 #include "SkMaskSwizzler.h"
14 #include "SkStream.h" 13 #include "SkStream.h"
15 #include "SkSwizzler.h" 14 #include "SkSwizzler.h"
16 #include "SkTypes.h" 15 #include "SkTypes.h"
17 16
18 /* 17 /*
19 * This class enables code sharing between its bmp codec subclasses. The 18 * This class enables code sharing between its bmp codec subclasses. The
20 * subclasses actually do the work. 19 * subclasses actually do the work.
21 */ 20 */
22 class SkBmpCodec : public SkCodec { 21 class SkBmpCodec : public SkCodec {
23 public: 22 public:
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 153
155 // TODO(msarett): Override default skipping with something more clever. 154 // TODO(msarett): Override default skipping with something more clever.
156 155
157 const uint16_t fBitsPerPixel; 156 const uint16_t fBitsPerPixel;
158 const SkScanlineOrder fRowOrder; 157 const SkScanlineOrder fRowOrder;
159 158
160 typedef SkCodec INHERITED; 159 typedef SkCodec INHERITED;
161 }; 160 };
162 161
163 #endif 162 #endif
OLDNEW
« no previous file with comments | « include/codec/SkScaledCodec.h ('k') | src/codec/SkBmpCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698