[jpege]: Add YUYV422 format support

Change-Id: Idbecbab280ce1128d21ee6656307b6c95a9523cf
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2018-12-19 10:44:41 +08:00
parent 50d2179ff5
commit 14de09a401
2 changed files with 2 additions and 0 deletions

View File

@@ -534,6 +534,7 @@ MPP_RET hal_jpege_vepu1_control(void *hal, RK_S32 cmd, void *param)
if (cfg->format != MPP_FMT_YUV420SP &&
cfg->format != MPP_FMT_YUV420P &&
cfg->format != MPP_FMT_YUV422SP_VU &&
cfg->format != MPP_FMT_YUV422_YUYV &&
cfg->format != MPP_FMT_YUV422_UYVY &&
cfg->format != MPP_FMT_RGB888 &&
cfg->format != MPP_FMT_BGR888) {

View File

@@ -515,6 +515,7 @@ MPP_RET hal_jpege_vepu2_control(void *hal, RK_S32 cmd, void *param)
if (cfg->format != MPP_FMT_YUV420SP &&
cfg->format != MPP_FMT_YUV420P &&
cfg->format != MPP_FMT_YUV422SP_VU &&
cfg->format != MPP_FMT_YUV422_YUYV &&
cfg->format != MPP_FMT_YUV422_UYVY &&
cfg->format != MPP_FMT_RGB888 &&
cfg->format != MPP_FMT_BGR888) {