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

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

Issue 1032093004: Use a wrapper for SkDebugf in SkCodec. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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/SkCodecPriv.h ('k') | src/codec/SkCodec_libbmp.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 #include "SkCodec.h" 8 #include "SkCodec.h"
9 #include "SkColorTable.h" 9 #include "SkColorTable.h"
10 #include "SkImageInfo.h" 10 #include "SkImageInfo.h"
11 #include "SkMaskSwizzler.h" 11 #include "SkMaskSwizzler.h"
12 #include "SkStream.h" 12 #include "SkStream.h"
13 #include "SkSwizzler.h" 13 #include "SkSwizzler.h"
14 #include "SkTypes.h" 14 #include "SkTypes.h"
15 15
16 // TODO: rename SkCodec_libbmp files to SkBmpCodec 16 // TODO: rename SkCodec_libbmp files to SkBmpCodec
17 // TODO: define a wrapper for SkDebugf that doesn't always print
18 /* 17 /*
19 * 18 *
20 * This class implements the decoding for bmp images 19 * This class implements the decoding for bmp images
21 * 20 *
22 */ 21 */
23 class SkBmpCodec : public SkCodec { 22 class SkBmpCodec : public SkCodec {
24 public: 23 public:
25 24
26 /* 25 /*
27 * 26 *
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 SkAutoTDelete<SkColorTable> fColorTable; // owned 174 SkAutoTDelete<SkColorTable> fColorTable; // owned
176 uint32_t fNumColors; 175 uint32_t fNumColors;
177 const uint32_t fBytesPerColor; 176 const uint32_t fBytesPerColor;
178 const uint32_t fOffset; 177 const uint32_t fOffset;
179 const RowOrder fRowOrder; 178 const RowOrder fRowOrder;
180 const size_t fRLEBytes; 179 const size_t fRLEBytes;
181 const bool fIsIco; 180 const bool fIsIco;
182 181
183 typedef SkCodec INHERITED; 182 typedef SkCodec INHERITED;
184 }; 183 };
OLDNEW
« no previous file with comments | « src/codec/SkCodecPriv.h ('k') | src/codec/SkCodec_libbmp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698