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

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

Issue 1691083002: Implement onSkipScanlines() for bmp and wbmp (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/SkBmpRLECodec.cpp ('k') | src/codec/SkBmpStandardCodec.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 "SkBmpCodec.h" 8 #include "SkBmpCodec.h"
9 #include "SkColorTable.h" 9 #include "SkColorTable.h"
10 #include "SkImageInfo.h" 10 #include "SkImageInfo.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 * Either way, this stream is unowned. 83 * Either way, this stream is unowned.
84 */ 84 */
85 void decodeIcoMask(SkStream* stream, const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes); 85 void decodeIcoMask(SkStream* stream, const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes);
86 86
87 SkAutoTUnref<SkColorTable> fColorTable; // owned 87 SkAutoTUnref<SkColorTable> fColorTable; // owned
88 // fNumColors is the number specified in the header, or 0 if not present in the header. 88 // fNumColors is the number specified in the header, or 0 if not present in the header.
89 const uint32_t fNumColors; 89 const uint32_t fNumColors;
90 const uint32_t fBytesPerColor; 90 const uint32_t fBytesPerColor;
91 const uint32_t fOffset; 91 const uint32_t fOffset;
92 SkAutoTDelete<SkSwizzler> fSwizzler; 92 SkAutoTDelete<SkSwizzler> fSwizzler;
93 const size_t fSrcRowBytes;
94 SkAutoTDeleteArray<uint8_t> fSrcBuffer; 93 SkAutoTDeleteArray<uint8_t> fSrcBuffer;
95 const bool fIsOpaque; 94 const bool fIsOpaque;
96 const bool fInIco; 95 const bool fInIco;
97 const size_t fAndMaskRowBytes; // only used for fInIc o decodes 96 const size_t fAndMaskRowBytes; // only used for fInIc o decodes
98 97
99 typedef SkBmpCodec INHERITED; 98 typedef SkBmpCodec INHERITED;
100 }; 99 };
OLDNEW
« no previous file with comments | « src/codec/SkBmpRLECodec.cpp ('k') | src/codec/SkBmpStandardCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698