mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[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:
@@ -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_mirr = prep_cfg->mirroring > 0;
|
||||||
reg_base->reg0203_src_proc.src_rot = prep_cfg->rotation;
|
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;
|
stridey = prep_cfg->hor_stride;
|
||||||
} else {
|
} else {
|
||||||
if (fmt->format == VEPU541_FMT_BGRA8888 )
|
if (fmt->format == VEPU541_FMT_BGRA8888 )
|
||||||
|
Reference in New Issue
Block a user