Index: include/core/SkImageInfo.h |
diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h |
index 6204cb3b81ac9903dcb558acd5ea3158fb168eb6..7fedfa1a4ae17205f51c3e37930faa64e39beac7 100644 |
--- a/include/core/SkImageInfo.h |
+++ b/include/core/SkImageInfo.h |
@@ -133,6 +133,21 @@ 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, |
+ |
+ kLastEnum_SkYUVColorSpace = kRec601_SkYUVColorSpace |
+}; |
+ |
+/////////////////////////////////////////////////////////////////////////////// |
+ |
+/** |
* Describe an image's dimensions and pixel type. |
*/ |
struct SkImageInfo { |