dv: screen highlighting when playing some videos [1/1]
authoryao liu <yao.liu@amlogic.com>
Wed, 9 Oct 2019 08:16:44 +0000 (04:16 -0400)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 10 Oct 2019 06:58:54 +0000 (23:58 -0700)
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>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c
drivers/amlogic/media/video_sink/video.c

index 8b05d72..c922e23 100644 (file)
@@ -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" :
index 3d39546..b58be3f 100644 (file)
@@ -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)