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

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

Issue 1702533004: Individually enable and disable SkCodecs (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/SkCodec.cpp ('k') | src/codec/SkGifCodec.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 "SkSwizzler.h" 11 #include "SkSwizzler.h"
12 12
13 #include "gif_lib.h" 13 struct GifFileType;
14 struct SavedImage;
14 15
15 /* 16 /*
16 * 17 *
17 * This class implements the decoding for gif images 18 * This class implements the decoding for gif images
18 * 19 *
19 */ 20 */
20 class SkGifCodec : public SkCodec { 21 class SkGifCodec : public SkCodec {
21 public: 22 public:
22 static bool IsGif(const void*, size_t); 23 static bool IsGif(const void*, size_t);
23 24
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 SkAutoTDeleteArray<uint8_t> fSrcBuffer; 195 SkAutoTDeleteArray<uint8_t> fSrcBuffer;
195 const SkIRect fFrameRect; 196 const SkIRect fFrameRect;
196 const uint32_t fTransIndex; 197 const uint32_t fTransIndex;
197 uint32_t fFillIndex; 198 uint32_t fFillIndex;
198 const bool fFrameIsSubset; 199 const bool fFrameIsSubset;
199 SkAutoTDelete<SkSwizzler> fSwizzler; 200 SkAutoTDelete<SkSwizzler> fSwizzler;
200 SkAutoTUnref<SkColorTable> fColorTable; 201 SkAutoTUnref<SkColorTable> fColorTable;
201 202
202 typedef SkCodec INHERITED; 203 typedef SkCodec INHERITED;
203 }; 204 };
OLDNEW
« no previous file with comments | « src/codec/SkCodec.cpp ('k') | src/codec/SkGifCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698