Index: include/core/SkImageInfo.h |
diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h |
index 6204cb3b81ac9903dcb558acd5ea3158fb168eb6..8c0ddb6d2c9cdc5d59aea31b6d36af22192f9ace 100644 |
--- a/include/core/SkImageInfo.h |
+++ b/include/core/SkImageInfo.h |
@@ -133,6 +133,19 @@ bool SkColorTypeValidateAlphaType(SkColorType colorType, SkAlphaType alphaType, |
/////////////////////////////////////////////////////////////////////////////// |
/** |
+ * Describes the color space a YUV pixel. |
+ */ |
+enum SkYUVColorSpace { |
+ /** Standard JPEG color space. */ |
+ kJPEG_SkYUVColorSpace, |
+ /** SDTV standard Rec. 601 color space. Uses "studio swing" [16, 235] color |
+ range. See http://en.wikipedia.org/wiki/Rec._601 for details. */ |
+ kRec601_SkYUVColorSpace |
+}; |
+ |
+/////////////////////////////////////////////////////////////////////////////// |
+ |
+/** |
* Describe an image's dimensions and pixel type. |
*/ |
struct SkImageInfo { |