[hal_h265e_vepu580]: Fix fbc stride error

Change-Id: Idd043f73b9d0e61ebfd47f30e084da7f065bc260
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2022-05-24 11:31:08 +08:00
parent 728d9422f9
commit 1bccabfcd4

View File

@@ -1471,7 +1471,9 @@ static MPP_RET vepu580_h265_set_pp_regs(H265eV580RegSet *regs, VepuFmtCfg *fmt,
reg_base->reg0203_src_proc.src_mirr = prep_cfg->mirroring > 0;
reg_base->reg0203_src_proc.src_rot = prep_cfg->rotation;
if (prep_cfg->hor_stride) {
if (MPP_FRAME_FMT_IS_FBC(prep_cfg->format)) {
stridey = MPP_ALIGN(prep_cfg->width, 16);
} else if (prep_cfg->hor_stride) {
stridey = prep_cfg->hor_stride;
} else {
if (fmt->format == VEPU541_FMT_BGRA8888 )