libavfilter/vf_vflip.c File Reference

video vertical flip filter More...

#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "video.h"

Go to the source code of this file.

Data Structures

struct  FlipContext


static int config_input (AVFilterLink *link)
static AVFilterBufferRefget_video_buffer (AVFilterLink *link, int perms, int w, int h)
static void start_frame (AVFilterLink *link, AVFilterBufferRef *inpicref)
static void draw_slice (AVFilterLink *link, int y, int h, int slice_dir)


AVFilter avfilter_vf_vflip

Detailed Description

video vertical flip filter

Definition in file vf_vflip.c.

Function Documentation

static int config_input ( AVFilterLink link  )  [static]

Definition at line 34 of file vf_vflip.c.

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

Definition at line 84 of file vf_vflip.c.

static AVFilterBufferRef* get_video_buffer ( AVFilterLink link,
int  perms,
int  w,
int  h 
) [static]

Definition at line 43 of file vf_vflip.c.

static void start_frame ( AVFilterLink link,
AVFilterBufferRef inpicref 
) [static]

Definition at line 66 of file vf_vflip.c.

Variable Documentation

Initial value:

    .name      = "vflip",
    .description = NULL_IF_CONFIG_SMALL("Flip the input video vertically."),

    .priv_size = sizeof(FlipContext),

    .inputs    = (const AVFilterPad[]) {{ .name       = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO,
                                    .get_video_buffer = get_video_buffer,
                                    .start_frame      = start_frame,
                                    .draw_slice       = draw_slice,
                                    .config_props     = config_input, },
                                  { .name = NULL}},
    .outputs   = (const AVFilterPad[]) {{ .name       = "default",
                                    .type             = AVMEDIA_TYPE_VIDEO, },
                                  { .name = NULL}},

Definition at line 91 of file vf_vflip.c.

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