• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * include/linux/amlogic/media/frame_sync/tsync_pcr.h
3  *
4  * Copyright (C) 2017 Amlogic, Inc. All rights reserved.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14  * more details.
15  *
16  */
17 
18 #ifndef TSYNC_PCR_H
19 #define TSYNC_PCR_H
20 #include <linux/amlogic/media/frame_sync/tsync.h>
21 extern void tsync_pcr_avevent_locked(enum avevent_e event, u32 param);
22 
23 extern int tsync_pcr_start(void);
24 
25 extern void tsync_pcr_stop(void);
26 
27 extern int tsync_pcr_set_apts(unsigned int pts);
28 
29 extern int get_vsync_pts_inc_mode(void);
30 
31 int tsync_pcr_init(void);
32 void tsync_pcr_exit(void);
33 extern int tsync_pcr_demux_pcr_used(void);
34 
35 #endif
36