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,
12 COLORSPACE_XYZ = 3, // Mostly useful for testing and debugging.
16 GAMMA_INVALID = -1, // For internal use.
20 GAMMA_REC_709 = 2, // Same as Rec. 601.
23 enum YCbCrLumaCoefficients {
29 Colorspace color_space;
30 GammaCurve gamma_curve;
33 #endif // !defined(_IMAGE_FORMAT_H)