blob: 14a1c78c7d08a1777c808bd98f54e5605f1831a4 [file] [log] [blame]
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
*/
#ifndef TSYNC_PCR_H
#define TSYNC_PCR_H
#include <linux/amlogic/media/frame_sync/tsync.h>
extern void tsync_pcr_avevent_locked(enum avevent_e event, u32 param);
extern int tsync_pcr_start(void);
extern void tsync_pcr_stop(void);
extern int tsync_pcr_set_apts(unsigned int pts);
extern int get_vsync_pts_inc_mode(void);
int tsync_pcr_init(void);
void tsync_pcr_exit(void);
extern int tsync_pcr_demux_pcr_used(void);
#endif