FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
vf_hflip.c File Reference

horizontal flip filter More...

#include <string.h>
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
#include "libavutil/pixdesc.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"

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 int filter_frame (AVFilterLink *inlink, AVFilterBufferRef *in)
 

Variables

static const AVFilterPad avfilter_vf_hflip_inputs []
 
static const AVFilterPad avfilter_vf_hflip_outputs []
 
AVFilter avfilter_vf_hflip
 

Detailed Description

horizontal flip filter

Definition in file vf_hflip.c.

Function Documentation

static int query_formats ( AVFilterContext ctx)
static

Definition at line 43 of file vf_hflip.c.

static int config_props ( AVFilterLink inlink)
static

Definition at line 61 of file vf_hflip.c.

static int filter_frame ( AVFilterLink inlink,
AVFilterBufferRef in 
)
static

Definition at line 73 of file vf_hflip.c.

Variable Documentation

const AVFilterPad avfilter_vf_hflip_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
.config_props = config_props,
.min_perms = AV_PERM_READ,
},
{ NULL }
}

Definition at line 150 of file vf_hflip.c.

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

Definition at line 161 of file vf_hflip.c.

AVFilter avfilter_vf_hflip
Initial value:
= {
.name = "hflip",
.description = NULL_IF_CONFIG_SMALL("Horizontally flip the input video."),
.priv_size = sizeof(FlipContext),
}

Definition at line 169 of file vf_hflip.c.