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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: src/codec/SkCodecImageGenerator.h
diff --git a/src/codec/SkCodecImageGenerator.h b/src/codec/SkCodecImageGenerator.h
index 80eacb19c885544c5e93bdec605e5725d91b5da5..e9dae2b485c15a28a95430c86bc18dbd73f53d0c 100644
--- a/src/codec/SkCodecImageGenerator.h
+++ b/src/codec/SkCodecImageGenerator.h
@@ -39,5 +39,9 @@ private:
SkAutoTDelete<SkCodec> fCodec;
SkAutoTUnref<SkData> fData;
+ 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.
+ int fUWidth;
+ int fVWidth;
+
typedef SkImageGenerator INHERITED;
};

Powered by Google App Engine
This is Rietveld 408576698