22 #ifndef AVFILTER_FRAMEQUEUE_H 23 #define AVFILTER_FRAMEQUEUE_H 146 static inline size_t ff_framequeue_queued_frames(
const FFFrameQueue *fq)
154 static inline uint64_t ff_framequeue_queued_samples(
const FFFrameQueue *fq)
164 static inline void ff_framequeue_update_peeked(
FFFrameQueue *fq,
size_t idx)
This structure describes decoded (raw) audio or video data.
Definition: frame.h:218
uint64_t total_frames_head
Total number of frames entered in the queue.
Definition: framequeue.h:84
Queue of AVFrame pointers.
Definition: framequeue.h:53
size_t allocated
Size of the array of buckets.
Definition: framequeue.h:63
uint64_t total_samples_head
Total number of samples entered in the queue.
Definition: framequeue.h:95
uint64_t total_frames_tail
Total number of frames dequeued from the queue.
Definition: framequeue.h:90
reference-counted frame API
size_t tail
Tail of the queue.
Definition: framequeue.h:69
uint64_t total_samples_tail
Total number of samples dequeued from the queue.
Definition: framequeue.h:101
size_t queued
Number of currently queued frames.
Definition: framequeue.h:74
Rational number (pair of numerator and denominator).
Definition: rational.h:58
int samples_skipped
Indicate that samples are skipped.
Definition: framequeue.h:106
FFFrameBucket * queue
Array of allocated buckets, used as a circular buffer.
Definition: framequeue.h:58
FFFrameBucket first_bucket
Pre-allocated bucket for queues of size 1.
Definition: framequeue.h:79
Structure to hold global options and statistics for frame queues.
Definition: framequeue.h:46
FFFrameQueue: simple AVFrame queue API.
Definition: framequeue.h:34