vf_hflip.c File Reference

horizontal flip filter More...

Go to the source code of this file.

Data Structures

struct  FlipContext
 

Functions

static int query_formats (AVFilterContext *ctx)
 
static int config_props (AVFilterLink *inlink)
 
static void draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir)
 

Variables

AVFilter avfilter_vf_hflip
 

Detailed Description

horizontal flip filter

Definition in file vf_hflip.c.

Function Documentation

static int config_props ( AVFilterLink inlink)
static

Definition at line 69 of file vf_hflip.c.

static void draw_slice ( AVFilterLink inlink,
int  y,
int  h,
int  slice_dir 
)
static

Definition at line 81 of file vf_hflip.c.

static int query_formats ( AVFilterContext ctx)
static

Definition at line 37 of file vf_hflip.c.

Variable Documentation

AVFilter avfilter_vf_hflip
Initial value:
= {
.name = "hflip",
.description = NULL_IF_CONFIG_SMALL("Horizontally flip the input video."),
.priv_size = sizeof(FlipContext),
.inputs = (AVFilterPad[]) {{ .name = "default",
.draw_slice = draw_slice,
.config_props = config_props,
.min_perms = AV_PERM_READ, },
{ .name = NULL}},
.outputs = (AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO, },
{ .name = NULL}},
}
#define AV_PERM_READ
can read from the buffer
Definition: avfilter.h:81
static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
Definition: vf_hflip.c:81
static int config_props(AVFilterLink *inlink)
Definition: vf_hflip.c:69
A filter pad used for either input or output.
Definition: avfilter.h:312
static int query_formats(AVFilterContext *ctx)
Definition: vf_hflip.c:37
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
NULL
Definition: eval.c:50

Definition at line 147 of file vf_hflip.c.