ionvideo: frame_sync: rm logs for vts

PD#152092: rm logs for vts

Change-Id: I42db4d660fa098a870252426d8e1fafab210c820
Signed-off-by: jintao xu <jintao.xu@amlogic.com>
This commit is contained in:
jintao xu
2017-11-13 16:57:12 +08:00
committed by Jianxin Pan
parent f7b7bd3df5
commit cededce3ad
3 changed files with 8 additions and 5 deletions

View File

@@ -15,6 +15,7 @@
*
*/
#define DEBUG
#include <linux/module.h>
#include <linux/list.h>
#include <linux/spinlock.h>
@@ -439,7 +440,8 @@ static int pts_checkin_offset_inline(u8 type, u32 offset, u32 val, u64 uS64)
*if(tsync_get_debug_pts_checkin() &&
* tsync_get_debug_vpts()) {
*/
pr_info("first check in vpts <0x%x:0x%x> ok!\n", offset,
pr_debug("first check in vpts <0x%x:0x%x> ok!\n",
offset,
val);
/* } */
}

View File

@@ -15,6 +15,7 @@
*
*/
#define DEBUG
#include <linux/module.h>
#include <linux/amlogic/media/frame_sync/tsync.h>
#include <linux/amlogic/media/utils/vdec_reg.h>
@@ -124,7 +125,7 @@ EXPORT_SYMBOL(timestamp_pcrscr_set);
void timestamp_firstvpts_set(u32 pts)
{
first_vpts = pts;
pr_info("video first pts = %x\n", first_vpts);
pr_debug("video first pts = %x\n", first_vpts);
}
EXPORT_SYMBOL(timestamp_firstvpts_set);
@@ -137,7 +138,7 @@ EXPORT_SYMBOL(timestamp_firstvpts_get);
void timestamp_checkin_firstvpts_set(u32 pts)
{
first_checkin_vpts = pts;
pr_info("video first checkin pts = %x\n", first_checkin_vpts);
pr_debug("video first checkin pts = %x\n", first_checkin_vpts);
}
EXPORT_SYMBOL(timestamp_checkin_firstvpts_set);

View File

@@ -932,7 +932,7 @@ static int video_receiver_event_fun(int type, void *data, void *private_data)
}
/*tsync_avevent(VIDEO_STOP, 0);*/
IONVID_INFO("unreg:ionvideo\n");
IONVID_DBG("unreg:ionvideo\n");
} else if (type == VFRAME_EVENT_PROVIDER_REG) {
dev->receiver_register = 1;
dev->is_omx_video_started = 1;
@@ -940,7 +940,7 @@ static int video_receiver_event_fun(int type, void *data, void *private_data)
dev->active_state = ION_ACTIVE;
init_completion(&dev->inactive_done);
IONVID_INFO("reg:ionvideo\n");
IONVID_DBG("reg:ionvideo\n");
} else if (type == VFRAME_EVENT_PROVIDER_QUREY_STATE) {
if (dev->vf_wait_cnt > 1)
return RECEIVER_INACTIVE;