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

Unified Diff: include/codec/SkCodec.h

Issue 1260673002: SkScaledCodec class (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove setSampleX(), move IsInterlaced() to scanlineDecoder Created 5 years, 5 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: include/codec/SkCodec.h
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index 1cdc88d4adcfc0dc4e028913348dd21c287e50e7..042d8329a357655e7ad4d934ee692684a220ed03 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -149,6 +149,7 @@ public:
Options()
: fZeroInitialized(kNo_ZeroInitialized)
, fSubset(NULL)
+ , fSampleX(1)
{}
ZeroInitialized fZeroInitialized;
@@ -161,6 +162,10 @@ public:
* currently supports subsets), the top and left values must be even.
*/
SkIRect* fSubset;
+ /**
+ * Sample size in the x direction
+ */
+ int fSampleX;
};
/**
« no previous file with comments | « gyp/codec.gyp ('k') | include/codec/SkScaledCodec.h » ('j') | src/codec/SkCodec_libbmp.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698