author | yao liu <yao.liu@amlogic.com> | 2019-10-09 08:16:44 (GMT) |
---|---|---|
committer | zihuan.ling <zihuan.ling@amlogic.com> | 2019-10-12 01:49:13 (GMT) |
commit | 82608643024094f47f306692e188c43a57efdb0b (patch) | |
tree | c43bb3f14961c1284173d991687db22e11e6d576 | |
parent | 872a316fe19d69236c733accd0bad8c2d71253f7 (diff) | |
download | common-82608643024094f47f306692e188c43a57efdb0b.zip common-82608643024094f47f306692e188c43a57efdb0b.tar.gz common-82608643024094f47f306692e188c43a57efdb0b.tar.bz2 |
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 <yao.liu@amlogic.com>
-rw-r--r-- | drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c | 4 | ||||
-rw-r--r-- | 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 c744865..30fccf8 100644 --- a/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c +++ b/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c @@ -5981,7 +5981,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; @@ -6042,7 +6042,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 7cc3a72..54e7ba4 100644 --- a/drivers/amlogic/media/video_sink/video.c +++ b/drivers/amlogic/media/video_sink/video.c @@ -9715,8 +9715,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) |