fix[mpp_sys_cfg]: fix RK3399 hor stride calc issue

Platform: RK3399
Spec: All

RK3399 does not need to force 256 odd multiple alignment

Source:
1920x1080_taipei.mpg

Reported-by: Zulin Chen <casey.chen@rock-chips.com>

Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: Ie0c22aaf8c78d76a083db54098a5250bbf07c1db
This commit is contained in:
Hongjin Li
2025-05-28 10:00:32 +08:00
parent 04a695b831
commit 6d8d29bbac

View File

@@ -475,7 +475,7 @@ MPP_RET mpp_sys_dec_buf_chk_proc(MppSysDecBufChkCfg *cfg)
* NOTE: rk3576 use 128 odd plus 64 for all non jpeg format
* all the other socs use 256 odd on larger than 1080p
*/
if ((aligned_byte > 1920 || soc_type == ROCKCHIP_SOC_RK3576 || soc_type == ROCKCHIP_SOC_RK3399)
if ((aligned_byte > 1920 || soc_type == ROCKCHIP_SOC_RK3576)
&& type != MPP_VIDEO_CodingMJPEG) {
rk_s32 update = 0;