52 for (pic = fifo->
root.
next; pic; pic = tmp) {
100 .description =
NULL_IF_CONFIG_SMALL(
"Buffer input images and send them when they are requested."),
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
int h
agreed upon image height
static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
static av_cold void uninit(AVFilterContext *ctx)
AVFilterLink ** inputs
array of pointers to input links
void avfilter_end_frame(AVFilterLink *link)
Notifie the next filter that the current frame has finished.
static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
static void end_frame(AVFilterLink *inlink)
A filter pad used for either input or output.
AVFilter avfilter_vf_fifo
A link between two filters.
void av_free(void *ptr)
Free a memory block which has been allocated with av_malloc(z)() or av_realloc(). ...
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
void * priv
private data for use by the filter
void av_log(void *avcl, int level, const char *fmt,...)
AVFilterBufferRef * picref
static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
AVFilterContext * src
source filter
void avfilter_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
Send a slice to the next filter.
static int request_frame(AVFilterLink *outlink)
void avfilter_unref_buffer(AVFilterBufferRef *ref)
Remove a reference to a buffer.
A reference to an AVFilterBuffer.
void avfilter_start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
Notify the next filter of the start of a frame.
int avfilter_request_frame(AVFilterLink *link)
Request an input frame from the filter at the other end of the link.
const char * name
filter name
AVFilterBufferRef * avfilter_null_get_video_buffer(AVFilterLink *link, int perms, int w, int h)
get_video_buffer() handler for filters which simply pass video along
#define AV_PERM_REUSE2
can output the buffer multiple times, modified each time
AVFilterContext * dst
dest filter
BufPic * last
last buffered picture