From e4d7b7eed2af464c29a39e60707abe0bc34c83a0 Mon Sep 17 00:00:00 2001 From: yao liu Date: Wed, 9 Oct 2019 04:16:44 -0400 Subject: [PATCH] dv: screen highlighting when playing some videos [1/1] PD#SWPL-13043 Problem: Too many prints cause the active line to be too large when entering the DV process, resulting in the LUT table of DV core1 not being written completely Solution: Simplify printing in DV Verify: sm1 Change-Id: I4fd06f6a8b5e6d0b973077bbe92815224834857b Signed-off-by: yao liu --- drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c | 4 ++-- drivers/amlogic/media/video_sink/video.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c b/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c index 8b05d72..c922e23 100644 --- a/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c +++ b/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c @@ -6025,7 +6025,7 @@ int dolby_vision_parse_metadata( dv_provider, VFRAME_EVENT_RECEIVER_DOLBY_BYPASS_EL, (void *)&req); - pr_info("bypass mel\n"); + pr_dolby_dbg("bypass mel\n"); } if (ret_flags == 1) mel_flag = true; @@ -6091,7 +6091,7 @@ int dolby_vision_parse_metadata( || (frame_count == 0)) && (toggle_mode == 1)) pr_info( - "DOLBY: dolby_vision_parse_metadata frame %d pts %lld, src bdp: %d format: %s, aux_size:%d, enhance: %d\n", + "DV:[%d,%lld,%d,%s,%d,%d]\n", frame_count, vf->pts_us64, src_bdp, (src_format == FORMAT_HDR10) ? "HDR10" : (src_format == FORMAT_DOVI ? "DOVI" : diff --git a/drivers/amlogic/media/video_sink/video.c b/drivers/amlogic/media/video_sink/video.c index 3d39546..b58be3f 100644 --- a/drivers/amlogic/media/video_sink/video.c +++ b/drivers/amlogic/media/video_sink/video.c @@ -9736,8 +9736,8 @@ static void set_omx_pts(u32 *p) frame_num > 0 ? frame_num-1 : 0; if (omx_need_drop_frame_num == 0) omx_drop_done = true; - pr_info("omx_need_drop_frame_num %d\n", - omx_need_drop_frame_num); + pr_info("omx need drop %d\n", + omx_need_drop_frame_num); } omx_run = true; if (omx_pts_set_from_hwc_count < OMX_MAX_COUNT_RESET_SYSTEMTIME) -- 2.7.4