OLD | NEW |
---|---|
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 "SkData.h" | 9 #include "SkData.h" |
10 #include "SkImageGenerator.h" | 10 #include "SkImageGenerator.h" |
(...skipping 21 matching lines...) Expand all Loading... | |
32 private: | 32 private: |
33 /* | 33 /* |
34 * Takes ownership of codec | 34 * Takes ownership of codec |
35 * Refs the data | 35 * Refs the data |
36 */ | 36 */ |
37 SkCodecImageGenerator(SkCodec* codec, SkData* data); | 37 SkCodecImageGenerator(SkCodec* codec, SkData* data); |
38 | 38 |
39 SkAutoTDelete<SkCodec> fCodec; | 39 SkAutoTDelete<SkCodec> fCodec; |
40 SkAutoTUnref<SkData> fData; | 40 SkAutoTUnref<SkData> fData; |
41 | 41 |
42 int fYWidth; | |
scroggo
2016/01/19 18:37:48
I think we should initialize these to some bad val
msarett
2016/01/19 22:35:27
Done.
| |
43 int fUWidth; | |
44 int fVWidth; | |
45 | |
42 typedef SkImageGenerator INHERITED; | 46 typedef SkImageGenerator INHERITED; |
43 }; | 47 }; |
OLD | NEW |