libavfilter/vf_vflip.c File Reference

video vertical flip filter More...

#include "libavutil/internal.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "internal.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 int start_frame (AVFilterLink *link, AVFilterBufferRef *inpicref)
static int 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 36 of file vf_vflip.c.

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

Definition at line 92 of file vf_vflip.c.

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

Definition at line 45 of file vf_vflip.c.

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

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

Generated on Fri Oct 26 02:50:10 2012 for FFmpeg by  doxygen 1.5.8