mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
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:
@@ -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);
|
||||
/* } */
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user