FFmpeg
|
Queue of AVFrame pointers. More...
#include <framequeue.h>
Data Fields | |
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 53 of file framequeue.h.
FFFrameBucket* FFFrameQueue::queue |
Array of allocated buckets, used as a circular buffer.
Definition at line 58 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 63 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 69 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 74 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 79 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 84 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 90 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 95 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 101 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 106 of file framequeue.h.
Referenced by ff_framequeue_skip_samples(), ff_framequeue_take(), ff_inlink_consume_frame(), and take_samples().