FFmpeg
|
Queue of AVFrame pointers. More...
#include <framequeue.h>
Data Fields | |
FFFrameQueueGlobal * | global |
Pointer to the global frame queue struct holding statistics and limits. More... | |
FFFrameBucket * | queue |
Array of allocated buckets, used as a circular buffer. More... | |
size_t | allocated |
Size of the array of buckets. More... | |
size_t | tail |
Tail of the queue. More... | |
size_t | queued |
Number of currently queued frames. More... | |
FFFrameBucket | first_bucket |
Pre-allocated bucket for queues of size 1. More... | |
uint64_t | total_frames_head |
Total number of frames entered in the queue. More... | |
uint64_t | total_frames_tail |
Total number of frames dequeued from the queue. More... | |
uint64_t | total_samples_head |
Total number of samples entered in the queue. More... | |
uint64_t | total_samples_tail |
Total number of samples dequeued from the queue. More... | |
int | samples_skipped |
Indicate that samples are skipped. More... | |
Definition at line 60 of file framequeue.h.
FFFrameQueueGlobal* FFFrameQueue::global |
Pointer to the global frame queue struct holding statistics and limits.
Definition at line 65 of file framequeue.h.
Referenced by ff_framequeue_add(), ff_framequeue_init(), and ff_framequeue_take().
FFFrameBucket* FFFrameQueue::queue |
Array of allocated buckets, used as a circular buffer.
Definition at line 70 of file framequeue.h.
Referenced by bucket(), ff_framequeue_add(), ff_framequeue_free(), and ff_framequeue_init().
size_t FFFrameQueue::allocated |
Size of the array of buckets.
Definition at line 75 of file framequeue.h.
Referenced by bucket(), ff_framequeue_add(), ff_framequeue_init(), and ff_framequeue_take().
size_t FFFrameQueue::tail |
Tail of the queue.
It is the index in the array of the next frame to take.
Definition at line 81 of file framequeue.h.
Referenced by bucket(), ff_framequeue_add(), and ff_framequeue_take().
size_t FFFrameQueue::queued |
Number of currently queued frames.
Definition at line 86 of file framequeue.h.
Referenced by check_consistency(), ff_framequeue_add(), ff_framequeue_free(), ff_framequeue_queued_frames(), ff_framequeue_skip_samples(), and ff_framequeue_take().
FFFrameBucket FFFrameQueue::first_bucket |
Pre-allocated bucket for queues of size 1.
Definition at line 91 of file framequeue.h.
Referenced by ff_framequeue_free(), and ff_framequeue_init().
uint64_t FFFrameQueue::total_frames_head |
Total number of frames entered in the queue.
Definition at line 96 of file framequeue.h.
Referenced by check_consistency(), and ff_framequeue_add().
uint64_t FFFrameQueue::total_frames_tail |
Total number of frames dequeued from the queue.
queued = total_frames_head - total_frames_tail
Definition at line 102 of file framequeue.h.
Referenced by check_consistency(), and ff_framequeue_take().
uint64_t FFFrameQueue::total_samples_head |
Total number of samples entered in the queue.
Definition at line 107 of file framequeue.h.
Referenced by check_consistency(), ff_framequeue_add(), and ff_framequeue_queued_samples().
uint64_t FFFrameQueue::total_samples_tail |
Total number of samples dequeued from the queue.
queued_samples = total_samples_head - total_samples_tail
Definition at line 113 of file framequeue.h.
Referenced by check_consistency(), ff_framequeue_queued_samples(), ff_framequeue_skip_samples(), and ff_framequeue_take().
int FFFrameQueue::samples_skipped |
Indicate that samples are skipped.
Definition at line 118 of file framequeue.h.
Referenced by ff_framequeue_skip_samples(), ff_framequeue_take(), ff_inlink_consume_frame(), and take_samples().