1 #ifndef _IMAGE_FORMAT_H
2 #define _IMAGE_FORMAT_H 1
4 enum MovitPixelFormat {
6 FORMAT_RGBA_PREMULTIPLIED_ALPHA,
7 FORMAT_RGBA_POSTMULTIPLIED_ALPHA,
9 FORMAT_BGRA_PREMULTIPLIED_ALPHA,
10 FORMAT_BGRA_POSTMULTIPLIED_ALPHA,
15 COLORSPACE_INVALID = -1, // For internal use.
17 COLORSPACE_REC_709 = 0, // Same as sRGB.
18 COLORSPACE_REC_601_525 = 1,
19 COLORSPACE_REC_601_625 = 2,
20 COLORSPACE_XYZ = 3, // Mostly useful for testing and debugging.
24 GAMMA_INVALID = -1, // For internal use.
28 GAMMA_REC_709 = 2, // Same as Rec. 601.
31 enum YCbCrLumaCoefficients {
37 Colorspace color_space;
38 GammaCurve gamma_curve;
41 #endif // !defined(_IMAGE_FORMAT_H)