Chromium Code Reviews| Index: include/core/SkImageGenerator.h |
| diff --git a/include/core/SkImageGenerator.h b/include/core/SkImageGenerator.h |
| index 4eb5cf85d67709b0801e48e4d863b0568ffc84da..0939f26688b4a725fa8ad48c3e4e8b59c7c7974c 100644 |
| --- a/include/core/SkImageGenerator.h |
| +++ b/include/core/SkImageGenerator.h |
| @@ -8,8 +8,9 @@ |
| #ifndef SkImageGenerator_DEFINED |
| #define SkImageGenerator_DEFINED |
| -#include "SkImageInfo.h" |
| #include "SkColor.h" |
| +#include "SkImageInfo.h" |
| +#include "SkPixelRef.h" |
|
Stephen White
2014/09/11 22:25:10
Is this necessary? It looks like the new dependenc
|
| class SkBitmap; |
| class SkData; |
| @@ -121,7 +122,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 +132,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 |