Song Zhao | 6859d41 | 2020-06-15 17:16:04 -0700 | [diff] [blame^] | 1 | /* |
| 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 | |
| 17 | void tsync_enable(int session, bool enable); |
| 18 | uint32_t tsync_get_pcr(int session); |
| 19 | //uint32_t tsync_get_vpts(int session); |
| 20 | int tsync_send_video_start(int session, uint32_t vpts); |
| 21 | int tsync_send_video_pause(int session, bool pause); |
| 22 | int tsync_send_video_disc(int session, uint32_t vpts); |
| 23 | |
| 24 | #endif |