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

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, AVFrame *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 config_props ( AVFilterLink inlink)
static

Definition at line 61 of file vf_hflip.c.

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 73 of file vf_hflip.c.

static int query_formats ( AVFilterContext ctx)
static

Definition at line 43 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),
}
static const AVFilterPad outputs[]
Definition: af_ashowinfo.c:117
static const AVFilterPad avfilter_vf_hflip_outputs[]
Definition: vf_hflip.c:160
static int query_formats(AVFilterContext *ctx)
Definition: vf_hflip.c:43
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad avfilter_vf_hflip_inputs[]
Definition: vf_hflip.c:150
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 168 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:73
static int config_props(AVFilterLink *inlink)
Definition: vf_hflip.c:61
NULL
Definition: eval.c:55

Definition at line 150 of file vf_hflip.c.

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

Definition at line 160 of file vf_hflip.c.