vpp: add sar_width/sar_height check when toggle frame [2/2]

PD#SWPL-22711

Problem:
When toggle frame, vpp did not check sar_width/sar_height
change. It caused that vpp setting did not update when only
sar_width/sar_height information changed.

Solution:
Add sar_width/sar_height check

Verify:
Verified on u212

Change-Id: I68c0c1d0e51ec0c537296b3ef5d26dcc4ca0c6d8
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
This commit is contained in:
Brian Zhu
2020-03-19 18:21:12 +08:00
committed by Chris
parent ba9742df1f
commit e24d27e49f

View File

@@ -3947,6 +3947,8 @@ static bool is_vframe_changed(
((cur_vf->bufWidth != new_vf->bufWidth) ||
(cur_vf->width != new_vf->width) ||
(cur_vf->height != new_vf->height) ||
(cur_vf->sar_width != new_vf->sar_width) ||
(cur_vf->sar_height != new_vf->sar_height) ||
(cur_vf->bitdepth != new_vf->bitdepth) ||
(cur_vf->trans_fmt != new_vf->trans_fmt) ||
(cur_vf->ratio_control != new_vf->ratio_control) ||