mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 03:40:42 +01:00
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:
parent
ebb4987988
commit
4ebce81d20
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue