libavfilter/vf_fifo.c File Reference

FIFO buffering video filter. More...

#include "avfilter.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  BufPic
struct  FifoContext

Functions

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)

Variables

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 71 of file vf_fifo.c.

static void end_frame ( AVFilterLink inlink  )  [static]

Definition at line 69 of file vf_fifo.c.

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

Definition at line 39 of file vf_fifo.c.

static int request_frame ( AVFilterLink outlink  )  [static]

Definition at line 73 of file vf_fifo.c.

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

Definition at line 60 of file vf_fifo.c.

static av_cold void uninit ( AVFilterContext ctx  )  [static]

Definition at line 48 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    = (const AVFilterPad[]) {{ .name      = "default",
                                    .type            = AVMEDIA_TYPE_VIDEO,
                                    .get_video_buffer= ff_null_get_video_buffer,
                                    .start_frame     = start_frame,
                                    .draw_slice      = draw_slice,
                                    .end_frame       = end_frame,
                                    .rej_perms       = AV_PERM_REUSE2, },
                                  { .name = NULL}},
    .outputs   = (const AVFilterPad[]) {{ .name      = "default",
                                    .type            = AVMEDIA_TYPE_VIDEO,
                                    .request_frame   = request_frame, },
                                  { .name = NULL}},
}

Definition at line 99 of file vf_fifo.c.


Generated on Fri Oct 26 02:48:01 2012 for FFmpeg by  doxygen 1.5.8