fix[mpp_sys_cfg]: afbc calc support yuv444sp_10bit

Platform: General
Spec: All

Reported-by: Jinsen Chen <kevin.chen@rock-chips.com>

Change-Id: Iaf5eaadedc718682e9876ec8cb64fdd82ea1ac86
Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
This commit is contained in:
Hongjin Li 2025-05-29 09:53:30 +08:00 committed by Herman Chen
parent ebb4987988
commit 4ebce81d20

View file

@ -383,6 +383,9 @@ MPP_RET mpp_sys_dec_buf_chk_proc(MppSysDecBufChkCfg *cfg)
case MPP_FMT_YUV444SP : {
size_total = get_afbc_min_size(aligned_pixel, aligned_height, 24);
} break;
case MPP_FMT_YUV444SP_10BIT : {
size_total = get_afbc_min_size(aligned_pixel, aligned_height, 30);
} break;
default : {
size_total = aligned_byte * aligned_height * 3 / 2;
mpp_err("dec out fmt 0x%x is no support", fmt_raw & MPP_FRAME_FMT_MASK);