Index: include/core/SkImageGenerator.h |
diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h |
index 4eb5cf85d67709b0801e48e4d863b0568ffc84da..fc6b1b4421443dedec199176b165235de8abf7e4 100644 |
--- a/include/core/SkImageGenerator.h |
+++ b/include/core/SkImageGenerator.h |
@@ -8,8 +8,8 @@ |
#ifndef SkImageGenerator_DEFINED |
#define SkImageGenerator_DEFINED |
-#include "SkImageInfo.h" |
#include "SkColor.h" |
+#include "SkImageInfo.h" |
class SkBitmap; |
class SkData; |
@@ -121,7 +121,8 @@ public: |
* associated YUV data into those planes of memory supplied by the caller. It should validate |
* that the sizes match what it expected. If the sizes do not match, it should return false. |
*/ |
- bool getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3]); |
+ bool getYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], |
+ SkYUVColorSpace* colorSpace); |
protected: |
virtual SkData* onRefEncodedData(); |
@@ -130,6 +131,8 @@ protected: |
void* pixels, size_t rowBytes, |
SkPMColor ctable[], int* ctableCount); |
virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3]); |
+ virtual bool onGetYUV8Planes(SkISize sizes[3], void* planes[3], size_t rowBytes[3], |
+ SkYUVColorSpace* colorSpace); |
}; |
#endif // SkImageGenerator_DEFINED |