]> git.sesse.net Git - movit/blobdiff - image_format.h
Use exact sRGB matrix values.
[movit] / image_format.h
index 1bd19f953e6ddc27102baf601229a44eb8b33cbd..40067c656782a38017920a7e649c03bb4f34cd3b 100644 (file)
@@ -27,12 +27,12 @@ enum MovitPixelFormat {
 
 enum Colorspace {
        COLORSPACE_INVALID = -1,  // For internal use.
-       COLORSPACE_sRGB = 0,
-       COLORSPACE_REC_709 = 0,  // Same as sRGB.
+       COLORSPACE_REC_709 = 0,
        COLORSPACE_REC_601_525 = 1,
        COLORSPACE_REC_601_625 = 2,
        COLORSPACE_XYZ = 3,  // Mostly useful for testing and debugging.
        COLORSPACE_REC_2020 = 4,
+       COLORSPACE_sRGB = 5,  // Used to be same as COLORSPACE_REC_709.
 };
 
 enum GammaCurve {