libavfilter/vf_vflip.c File Reference

video vertical flip filter More...

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

Go to the source code of this file.

Data Structures

struct  FlipContext

Functions

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)

Variables

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 33 of file vf_vflip.c.

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

Definition at line 83 of file vf_vflip.c.

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

Definition at line 42 of file vf_vflip.c.

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

Definition at line 65 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 90 of file vf_vflip.c.


Generated on Fri Oct 26 02:46:12 2012 for FFmpeg by  doxygen 1.5.8