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/SkCodecImageGenerator.h

Issue 1549473003: Add getYUV8Planes() API to SkCodec (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add a test to DM Created 4 years, 11 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
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 "SkData.h" 9 #include "SkData.h"
10 #include "SkImageGenerator.h" 10 #include "SkImageGenerator.h"
(...skipping 21 matching lines...) Expand all
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 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698