FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
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
 

Functions

static int config_input (AVFilterLink *link)
 
static AVFrameget_video_buffer (AVFilterLink *link, int w, int h)
 
static int filter_frame (AVFilterLink *link, AVFrame *frame)
 

Variables

static const AVFilterPad avfilter_vf_vflip_inputs []
 
static const AVFilterPad avfilter_vf_vflip_outputs []
 
AVFilter ff_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 AVFrame* get_video_buffer ( AVFilterLink link,
int  w,
int  h 
)
static

Definition at line 46 of file vf_vflip.c.

static int filter_frame ( AVFilterLink link,
AVFrame frame 
)
static

Definition at line 69 of file vf_vflip.c.

Variable Documentation

const AVFilterPad avfilter_vf_vflip_inputs[]
static
Initial value:
= {
{
.name = "default",
.get_video_buffer = get_video_buffer,
.filter_frame = filter_frame,
.config_props = config_input,
},
{ NULL }
}

Definition at line 86 of file vf_vflip.c.

const AVFilterPad avfilter_vf_vflip_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}

Definition at line 97 of file vf_vflip.c.

AVFilter ff_vf_vflip
Initial value:
= {
.name = "vflip",
.description = NULL_IF_CONFIG_SMALL("Flip the input video vertically."),
.priv_size = sizeof(FlipContext),
}

Definition at line 105 of file vf_vflip.c.