summaryrefslogtreecommitdiff
authorapollo.ling <apollo.ling@amlogic.com>2019-10-31 07:14:26 (GMT)
committer apollo.ling <apollo.ling@amlogic.com>2019-10-31 07:14:37 (GMT)
commit7420081f31aa40ef3892cdf7c3b8b880ab18d7f8 (patch)
tree4295c114c4ffa9e81d34bc098cadced47510645d
parentcd4249774427c80c1fb3e87299138c5efd4ee206 (diff)
downloadmedia_modules-7420081f31aa40ef3892cdf7c3b8b880ab18d7f8.zip
media_modules-7420081f31aa40ef3892cdf7c3b8b880ab18d7f8.tar.gz
media_modules-7420081f31aa40ef3892cdf7c3b8b880ab18d7f8.tar.bz2
vdec: remove some printings [1/1]
PD#SWPL-15106 Problem: h264 keep print "ref_pic_list_reordering error" Solution: remove some printings Verify: X301 Change-Id: Ic8f9bc0c1c536abd209775d4d1b501303fc4ef67 Signed-off-by: apollo.ling <apollo.ling@amlogic.com>
Diffstat
-rw-r--r--drivers/frame_provider/decoder/h264_multi/vmh264.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/frame_provider/decoder/h264_multi/vmh264.c b/drivers/frame_provider/decoder/h264_multi/vmh264.c
index f34097c..3d26c59 100644
--- a/drivers/frame_provider/decoder/h264_multi/vmh264.c
+++ b/drivers/frame_provider/decoder/h264_multi/vmh264.c
@@ -845,8 +845,6 @@ struct vdec_h264_hw_s {
bool new_iframe_flag;
bool ref_err_flush_dpb_flag;
unsigned int first_i_policy;
- u32 tfn_cnt;
- u64 tfn_ns;
};
static u32 again_threshold;
@@ -5347,17 +5345,6 @@ static irqreturn_t vh264_isr_thread_fn(struct vdec_s *vdec, int irq)
unsigned int dec_dpb_status = p_H264_Dpb->dec_dpb_status;
u32 debug_tag;
int ret;
- if (++hw->tfn_cnt == 1) {
- hw->tfn_ns = local_clock();
- } else if (hw->tfn_cnt >= 10) {
- u64 tenth_ns = local_clock();
- /* Here borrow the varible debug_tag for use */
- debug_tag = tenth_ns - hw->tfn_ns;
- hw->tfn_cnt = 1;
- hw->tfn_cnt = tenth_ns;
- if (debug_tag <= 10000000)
- pr_err("Within 10ms 10 vh264_isr_thread_fn!\n");
- }
if (dec_dpb_status == H264_CONFIG_REQUEST) {
#if 1