1 #ifndef _IMAGE_FORMAT_H
2 #define _IMAGE_FORMAT_H 1
4 enum MovitPixelFormat { FORMAT_RGB, FORMAT_RGBA, FORMAT_BGR, FORMAT_BGRA, FORMAT_GRAYSCALE };
7 COLORSPACE_INVALID = -1, // For internal use.
9 COLORSPACE_REC_709 = 0, // Same as sRGB.
10 COLORSPACE_REC_601_525 = 1,
11 COLORSPACE_REC_601_625 = 2,
15 GAMMA_INVALID = -1, // For internal use.
19 GAMMA_REC_709 = 2, // Same as Rec. 601.
22 enum YCbCrLumaCoefficients {
28 ColorSpace color_space;
29 GammaCurve gamma_curve;
32 #endif // !defined(_IMAGE_FORMAT_H)