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/opt.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

 AVFILTER_DEFINE_CLASS (vflip)
 
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 AVOption vflip_options []
 
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

AVFILTER_DEFINE_CLASS ( vflip  )
static int config_input ( AVFilterLink link)
static

Definition at line 44 of file vf_vflip.c.

static AVFrame* get_video_buffer ( AVFilterLink link,
int  w,
int  h 
)
static

Definition at line 54 of file vf_vflip.c.

static int filter_frame ( AVFilterLink link,
AVFrame frame 
)
static

Definition at line 77 of file vf_vflip.c.

Variable Documentation

const AVOption vflip_options[]
static
Initial value:
= {
{ NULL }
}
#define NULL
Definition: coverity.c:32

Definition at line 38 of file vf_vflip.c.

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 }
}
#define NULL
Definition: coverity.c:32
static int filter_frame(AVFilterLink *link, AVFrame *frame)
Definition: vf_vflip.c:77
static int config_input(AVFilterLink *link)
Definition: vf_vflip.c:44
static AVFrame * get_video_buffer(AVFilterLink *link, int w, int h)
Definition: vf_vflip.c:54

Definition at line 94 of file vf_vflip.c.

const AVFilterPad avfilter_vf_vflip_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}
#define NULL
Definition: coverity.c:32

Definition at line 105 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),
.priv_class = &vflip_class,
}
#define AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC
Some filters support a generic "enable" expression option that can be used to enable or disable a fil...
Definition: avfilter.h:125
static const AVFilterPad avfilter_vf_vflip_inputs[]
Definition: vf_vflip.c:94
static int flags
Definition: log.c:57
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
static const AVFilterPad outputs[]
Definition: af_afftfilt.c:386
static const AVFilterPad inputs[]
Definition: af_afftfilt.c:376
static const AVFilterPad avfilter_vf_vflip_outputs[]
Definition: vf_vflip.c:105

Definition at line 113 of file vf_vflip.c.