mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
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:
committed by
gerrit autosubmit
parent
c2d7151dd3
commit
016d540d49
@@ -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) {
|
||||
|
||||
@@ -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 &&
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user