vpp: init over_filed to false every frame [1/1]

PD#SWPL-155430

Problem:
init over_filed to false every frame

Solution:
init over_filed to false every frame

Verify:
t3x

Change-Id: I754a5ada4a1e68a783bca059625c292ebf404842
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
This commit is contained in:
Pengcheng Chen
2024-02-22 11:26:17 +08:00
committed by gerrit autosubmit
parent c2d7151dd3
commit 016d540d49
3 changed files with 7 additions and 7 deletions
-1
View File
@@ -3726,7 +3726,6 @@ struct vframe_s *amvideo_toggle_frame(s32 *vd_path_id)
toggle_cnt = 0;
over_field = false;
if (!cur_dispbuf[0] || cur_dispbuf[0] == &vf_local[0]) {
vf = amvideo_vf_peek();
if (vf) {
+1
View File
@@ -3352,6 +3352,7 @@ static struct vframe_s *video_toggle_frame
u8 path_index = 0;
struct vframe_s *path_new_frame = NULL;
over_field = false;
#ifdef CONFIG_AMLOGIC_MEDIA_FRC
if (cur_dev->vsync_2to1_enable &&
layer_id == 0 &&
+6 -6
View File
@@ -88,9 +88,9 @@ static inline struct vframe_s *common_vf_get(struct video_recv_s *ins)
if (vf) {
if (debug_flag & DEBUG_FLAG_PRINT_FRAME_DETAIL)
pr_info("%s:vf=%p, omx_index=%d, vf->type=0x%x, vf->flag=0x%x,canvas adr:0x%lx, canvas0:%x, pnum:%d, afbc:0x%lx-0x%lx\n",
__func__,
vf, vf->omx_index, vf->type, vf->flag,
pr_info("%s:recv_name=%s, vf=%p(%px), omx_index=%d, vf->type=0x%x, vf->flag=0x%x,canvas adr:0x%lx, canvas0:%x, pnum:%d, afbc:0x%lx-0x%lx\n",
__func__, ins->recv_name,
vf, vf, vf->omx_index, vf->type, vf->flag,
vf->canvas0_config[0].phy_addr, vf->canvas0Addr, vf->plane_num,
vf->compHeadAddr, vf->compBodyAddr);
vpp_trace_vframe("common_vf_get",
@@ -144,9 +144,9 @@ static inline void common_vf_put(struct video_recv_s *ins,
ins->vpp_id, vsync_cnt[ins->vpp_id]);
vf_put(vf, ins->recv_name);
if (debug_flag & DEBUG_FLAG_PRINT_FRAME_DETAIL)
pr_info("%s:vf=%p, omx_index=%d, vf->type=0x%x, vf->flag=0x%x,canvas adr:0x%lx, canvas0:%x, pnum:%d, afbc:0x%lx-0x%lx\n",
__func__,
vf, vf->omx_index, vf->type, vf->flag,
pr_info("%s:recv_name=%s, vf=%p(%px), omx_index=%d, vf->type=0x%x, vf->flag=0x%x,canvas adr:0x%lx, canvas0:%x, pnum:%d, afbc:0x%lx-0x%lx\n",
__func__, ins->recv_name,
vf, vf, vf->omx_index, vf->type, vf->flag,
vf->canvas0_config[0].phy_addr, vf->canvas0Addr, vf->plane_num,
vf->compHeadAddr, vf->compBodyAddr);
#ifdef CONFIG_AMLOGIC_MEDIA_ENHANCEMENT_DOLBYVISION