rk_fb: add RGB BT709/BT2020 format

Change-Id: I9581f78955c3efe77375bfa5e8ac571ac1d5aae4
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
Mark Yao
2015-10-29 15:57:23 +08:00
parent ddcff9a5c3
commit 849343d1a7

View File

@@ -57,11 +57,13 @@
#define ROTATE_270 12
#define COLOR_RGB 0
#define COLOR_RGB_BT2020 1
/* default colorspace is bt601 */
#define COLOR_YCBCR 1
#define COLOR_YCBCR 2
#define COLOR_YCBCR_BT709 3
#define COLOR_YCBCR_BT2020 4
#define COLOR_YCBCR_BT709 2
#define COLOR_YCBCR_BT2020 3
#define IS_YUV_COLOR(x) ((x) >= COLOR_YCBCR)
/* fb win map */
#define FB_DEFAULT_ORDER 0