mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-09-26 21:15:53 +08:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user