FFmpeg
|
A sync queue provides timestamp synchronization between multiple streams. More...
Data Fields | |
enum SyncQueueType | type |
void * | logctx |
int | finished |
int | head_stream |
int | head_finished_stream |
int64_t | buf_size_us |
SyncQueueStream * | streams |
unsigned int | nb_streams |
int | have_limiting |
uintptr_t | align_mask |
A sync queue provides timestamp synchronization between multiple streams.
Some of these streams are marked as "limiting", then the queue ensures no stream gets ahead of any of the limiting streams.
Definition at line 90 of file sync_queue.c.
enum SyncQueueType SyncQueue::type |
Definition at line 91 of file sync_queue.c.
Referenced by frame_end(), frame_null(), frame_samples(), sq_add_stream(), sq_alloc(), sq_frame_samples(), and tb_update().
void* SyncQueue::logctx |
Definition at line 93 of file sync_queue.c.
Referenced by finish_stream(), overflow_heartbeat(), receive_for_stream(), sq_alloc(), and sq_send().
int SyncQueue::finished |
Definition at line 96 of file sync_queue.c.
Referenced by finish_stream(), and receive_for_stream().
int SyncQueue::head_stream |
Definition at line 99 of file sync_queue.c.
Referenced by queue_head_update(), receive_for_stream(), sq_alloc(), and stream_update_ts().
int SyncQueue::head_finished_stream |
Definition at line 101 of file sync_queue.c.
Referenced by finish_stream(), sq_alloc(), and stream_update_ts().
int64_t SyncQueue::buf_size_us |
Definition at line 104 of file sync_queue.c.
Referenced by overflow_heartbeat(), and sq_alloc().
SyncQueueStream* SyncQueue::streams |
Definition at line 106 of file sync_queue.c.
Referenced by finish_stream(), overflow_heartbeat(), queue_head_update(), receive_for_stream(), sq_add_stream(), sq_frame_samples(), sq_free(), sq_limit_frames(), sq_send(), and stream_update_ts().
unsigned int SyncQueue::nb_streams |
Definition at line 107 of file sync_queue.c.
Referenced by finish_stream(), overflow_heartbeat(), queue_head_update(), receive_internal(), sq_add_stream(), and sq_free().
int SyncQueue::have_limiting |
Definition at line 109 of file sync_queue.c.
Referenced by queue_head_update(), and sq_add_stream().
uintptr_t SyncQueue::align_mask |
Definition at line 111 of file sync_queue.c.
Referenced by frame_is_aligned(), and sq_frame_samples().