mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
feat[mpi_enc_test]: add YUV400 fmt support
Change-Id: I05d149d176e1e692e9706dac07e6d843446309f9 Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
This commit is contained in:
@@ -232,6 +232,7 @@ MPP_RET mt_test_ctx_init(MpiEncMtCtxInfo *info)
|
||||
case MPP_FMT_YUV422SP : {
|
||||
p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 2;
|
||||
} break;
|
||||
case MPP_FMT_YUV400 :
|
||||
case MPP_FMT_RGB444 :
|
||||
case MPP_FMT_BGR444 :
|
||||
case MPP_FMT_RGB555 :
|
||||
|
@@ -229,6 +229,7 @@ MPP_RET test_ctx_init(MpiEncMultiCtxInfo *info)
|
||||
case MPP_FMT_YUV422SP : {
|
||||
p->frame_size = MPP_ALIGN(p->hor_stride, 64) * MPP_ALIGN(p->ver_stride, 64) * 2;
|
||||
} break;
|
||||
case MPP_FMT_YUV400:
|
||||
case MPP_FMT_RGB444 :
|
||||
case MPP_FMT_BGR444 :
|
||||
case MPP_FMT_RGB555 :
|
||||
|
Reference in New Issue
Block a user