FFmpeg
 All Data Structures Namespaces 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 "libavutil/opt.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
 
struct  ThreadData
 

Functions

 AVFILTER_DEFINE_CLASS (hflip)
 
static int query_formats (AVFilterContext *ctx)
 
static int config_props (AVFilterLink *inlink)
 
static int filter_slice (AVFilterContext *ctx, void *arg, int job, int nb_jobs)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *in)
 

Variables

static const AVOption hflip_options []
 
static const AVFilterPad avfilter_vf_hflip_inputs []
 
static const AVFilterPad avfilter_vf_hflip_outputs []
 
AVFilter ff_vf_hflip
 

Detailed Description

horizontal flip filter

Definition in file vf_hflip.c.

Function Documentation

AVFILTER_DEFINE_CLASS ( hflip  )
static int query_formats ( AVFilterContext ctx)
static

Definition at line 52 of file vf_hflip.c.

static int config_props ( AVFilterLink inlink)
static

Definition at line 70 of file vf_hflip.c.

static int filter_slice ( AVFilterContext ctx,
void arg,
int  job,
int  nb_jobs 
)
static

Definition at line 90 of file vf_hflip.c.

Referenced by filter_frame().

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 158 of file vf_hflip.c.

Variable Documentation

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

Definition at line 46 of file vf_hflip.c.

const AVFilterPad avfilter_vf_hflip_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
.config_props = config_props,
},
{ NULL }
}
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_hflip.c:158
#define NULL
Definition: coverity.c:32
static int config_props(AVFilterLink *inlink)
Definition: vf_hflip.c:70

Definition at line 183 of file vf_hflip.c.

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

Definition at line 193 of file vf_hflip.c.

AVFilter ff_vf_hflip
Initial value:
= {
.name = "hflip",
.description = NULL_IF_CONFIG_SMALL("Horizontally flip the input video."),
.priv_size = sizeof(FlipContext),
.priv_class = &hflip_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_hflip_outputs[]
Definition: vf_hflip.c:193
static int flags
Definition: log.c:57
static int query_formats(AVFilterContext *ctx)
Definition: vf_hflip.c:52
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
#define AVFILTER_FLAG_SLICE_THREADS
The filter supports multithreading by splitting frames into multiple parts and processing them concur...
Definition: avfilter.h:116
static const AVFilterPad avfilter_vf_hflip_inputs[]
Definition: vf_hflip.c:183
static const AVFilterPad outputs[]
Definition: af_afftfilt.c:386
static const AVFilterPad inputs[]
Definition: af_afftfilt.c:376

Definition at line 201 of file vf_hflip.c.