63 for (buf =
s->root.next; buf; buf =
tmp) {
82 s->last =
s->last->next;
91 if (
s->last ==
s->root.next)
133 .description =
NULL_IF_CONFIG_SMALL(
"Buffer input images and send them when they are requested."),
161 .description =
NULL_IF_CONFIG_SMALL(
"Buffer input frames and send them when they are requested."),
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
Send a frame of data to the next filter.
int ff_request_frame(AVFilterLink *link)
Request an input frame from the filter at the other end of the link.
Main libavfilter public API header.
common internal and external API header
void av_frame_free(AVFrame **frame)
Free the frame and any dynamically allocated objects in it, e.g.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
static int add_to_queue(AVFilterLink *inlink, AVFrame *frame)
static int request_frame(AVFilterLink *outlink)
static const AVFilterPad avfilter_vf_fifo_inputs[]
static av_cold int init(AVFilterContext *ctx)
static av_cold void uninit(AVFilterContext *ctx)
static void queue_pop(FifoContext *s)
static const AVFilterPad avfilter_af_afifo_inputs[]
static const AVFilterPad avfilter_af_afifo_outputs[]
static const AVFilterPad avfilter_vf_fifo_outputs[]
common internal API header
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
AVFilterLink ** inputs
array of pointers to input links
void * priv
private data for use by the filter
A link between two filters.
AVFilterContext * src
source filter
AVFilterContext * dst
dest filter
A filter pad used for either input or output.
const char * name
Pad name.
const char * name
Filter name.
This structure describes decoded (raw) audio or video data.
int allocated_samples
number of samples out was allocated for
Buf * last
last buffered frame
AVFrame * out
When a specific number of output samples is requested, the partial buffer is stored here.