]> git.sesse.net Git - movit/blobdiff - image_format.h
Add YCbCr input. Required a bit of reworking of the sRGB extension stuff, but seems...
[movit] / image_format.h
index 346cdef9a495e72e947eb3502d4996f429c297d2..2c65724c6af36b42ba836760d7bbb4bd746e587b 100644 (file)
@@ -17,6 +17,11 @@ enum GammaCurve {
        GAMMA_REC_709 = 2,  // Same as Rec. 601.
 };
 
+enum YCbCrLumaCoefficients {
+       YCBCR_REC_601 = 0,
+       YCBCR_REC_709 = 1,
+};
+
 struct ImageFormat {
        MovitPixelFormat pixel_format;
        ColorSpace color_space;