four format supported.
ARGB8888, XRGB8888, NV12 and YUV420
Change-Id: I7eca1bb90ec813a92c49cc3d74836952c84d120d
//#define USE_CONTIG_ONLY
#define USE_DMAIMPORT
-#define TBM_COLOR_FORMAT_COUNT 8
+#define TBM_COLOR_FORMAT_COUNT 4
#ifdef DEBUG
#define LOG_TAG "TBM_BACKEND"
};
-uint32_t tbm_sprd_color_format_list[TBM_COLOR_FORMAT_COUNT] = { TBM_FORMAT_RGBA8888,
- TBM_FORMAT_BGRA8888,
- TBM_FORMAT_RGBX8888,
- TBM_FORMAT_RGB888,
- TBM_FORMAT_NV12,
- TBM_FORMAT_NV21,
- TBM_FORMAT_YUV420,
- TBM_FORMAT_YVU420
- };
+uint32_t tbm_sprd_color_format_list[TBM_COLOR_FORMAT_COUNT] = {
+ TBM_FORMAT_ARGB8888,
+ TBM_FORMAT_XRGB8888,
+ TBM_FORMAT_NV12,
+ TBM_FORMAT_YUV420
+ };
static inline int
_tgl_init(int fd, unsigned int key)