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}},
}

Definition at line 147 of file vf_hflip.c.