FFmpeg
 All Data Structures 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 AVFilterBufferRefget_video_buffer (AVFilterLink *link, int perms, int w, int h)
 
static int filter_frame (AVFilterLink *link, AVFilterBufferRef *frame)
 

Variables

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

Definition at line 46 of file vf_vflip.c.

static int filter_frame ( AVFilterLink link,
AVFilterBufferRef frame 
)
static

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

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

Definition at line 99 of file vf_vflip.c.

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

Definition at line 107 of file vf_vflip.c.