libavfilter/vf_fifo.c File Reference

FIFO buffering video filter. More...

#include "avfilter.h"

Go to the source code of this file.

Data Structures

struct  BufPic
struct  FifoContext


static av_cold int init (AVFilterContext *ctx, const char *args, void *opaque)
static av_cold void uninit (AVFilterContext *ctx)
static void start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)
static void end_frame (AVFilterLink *inlink)
static void draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir)
static int request_frame (AVFilterLink *outlink)


AVFilter avfilter_vf_fifo

Detailed Description

FIFO buffering video filter.

Definition in file vf_fifo.c.

Function Documentation

static void draw_slice ( AVFilterLink inlink,
int  y,
int  h,
int  slice_dir 
) [static]

Definition at line 70 of file vf_fifo.c.

static void end_frame ( AVFilterLink inlink  )  [static]

Definition at line 68 of file vf_fifo.c.

static av_cold int init ( AVFilterContext ctx,
const char *  args,
void *  opaque 
) [static]

Definition at line 38 of file vf_fifo.c.

static int request_frame ( AVFilterLink outlink  )  [static]

Definition at line 72 of file vf_fifo.c.

static void start_frame ( AVFilterLink inlink,
AVFilterBufferRef picref 
) [static]

Definition at line 59 of file vf_fifo.c.

static av_cold void uninit ( AVFilterContext ctx  )  [static]

Definition at line 47 of file vf_fifo.c.

Variable Documentation

Initial value:

    .name      = "fifo",
    .description = NULL_IF_CONFIG_SMALL("Buffer input images and send them when they are requested."),

    .init      = init,
    .uninit    = uninit,

    .priv_size = sizeof(FifoContext),

    .inputs    = (AVFilterPad[]) {{ .name            = "default",
                                    .type            = AVMEDIA_TYPE_VIDEO,
                                    .get_video_buffer= avfilter_null_get_video_buffer,
                                    .start_frame     = start_frame,
                                    .draw_slice      = draw_slice,
                                    .end_frame       = end_frame,
                                    .rej_perms       = AV_PERM_REUSE2, },
                                  { .name = NULL}},
    .outputs   = (AVFilterPad[]) {{ .name            = "default",
                                    .type            = AVMEDIA_TYPE_VIDEO,
                                    .request_frame   = request_frame, },
                                  { .name = NULL}},

Definition at line 98 of file vf_fifo.c.

Generated on Fri Oct 26 02:38:20 2012 for FFmpeg by  doxygen 1.5.8