blob: 24cce06e10c36e1e01bff5291cebd98e92afce59 [file] [log] [blame]
Song Zhao6859d412020-06-15 17:16:04 -07001/*
2 * Copyright (c) 2020 Amlogic, Inc. All rights reserved.
3 *
4 * This source code is subject to the terms and conditions defined in the
5 * file 'LICENSE' which is part of this source code package.
6 *
7 * Description: tsync sysnode wrapper
8 * Author: song.zhao@amlogic.com
9 */
10
11#ifndef _AML_TSYNC_H_
12#define _AML_TSYNC_H_
13
14#include <stdbool.h>
15#include <stdint.h>
16
17void tsync_enable(int session, bool enable);
18uint32_t tsync_get_pcr(int session);
19//uint32_t tsync_get_vpts(int session);
20int tsync_send_video_start(int session, uint32_t vpts);
21int tsync_send_video_pause(int session, bool pause);
22int tsync_send_video_disc(int session, uint32_t vpts);
23
24#endif