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"
Include dependency graph for vf_vflip.c:

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 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 filter_frame ( AVFilterLink link,
AVFrame frame 
)
static

Definition at line 68 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.

Variable Documentation

AVFilter avfilter_vf_vflip
Initial value:
= {
.name = "vflip",
.description = NULL_IF_CONFIG_SMALL("Flip the input video vertically."),
.priv_size = sizeof(FlipContext),
}
static const AVFilterPad outputs[]
Definition: af_ashowinfo.c:117
static const AVFilterPad avfilter_vf_vflip_inputs[]
Definition: vf_vflip.c:84
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad avfilter_vf_vflip_outputs[]
Definition: vf_vflip.c:95
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs

Definition at line 103 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 }
}
static int filter_frame(AVFilterLink *link, AVFrame *frame)
Definition: vf_vflip.c:68
static int config_input(AVFilterLink *link)
Definition: vf_vflip.c:36
NULL
Definition: eval.c:55
static AVFrame * get_video_buffer(AVFilterLink *link, int w, int h)
Definition: vf_vflip.c:46

Definition at line 84 of file vf_vflip.c.

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

Definition at line 95 of file vf_vflip.c.