All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
af_stereotools.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "formats.h"

Go to the source code of this file.

Data Structures

struct  StereoToolsContext


#define OFFSET(x)   offsetof(StereoToolsContext, x)


static int query_formats (AVFilterContext *ctx)
static int config_input (AVFilterLink *inlink)
static int filter_frame (AVFilterLink *inlink, AVFrame *in)
static av_cold void uninit (AVFilterContext *ctx)


static const AVOption stereotools_options []
static const AVFilterPad inputs []
static const AVFilterPad outputs []
AVFilter ff_af_stereotools

Macro Definition Documentation

#define OFFSET (   x)    offsetof(StereoToolsContext, x)

Definition at line 59 of file af_stereotools.c.

Definition at line 60 of file af_stereotools.c.

Function Documentation

AVFILTER_DEFINE_CLASS ( stereotools  )
static int query_formats ( AVFilterContext ctx)

Definition at line 100 of file af_stereotools.c.

static int config_input ( AVFilterLink inlink)

Definition at line 116 of file af_stereotools.c.

static int filter_frame ( AVFilterLink inlink,
AVFrame in 

Definition at line 137 of file af_stereotools.c.

static av_cold void uninit ( AVFilterContext ctx)

Definition at line 327 of file af_stereotools.c.

Variable Documentation

const AVOption stereotools_options[]

Definition at line 62 of file af_stereotools.c.

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

Definition at line 334 of file af_stereotools.c.

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

Definition at line 344 of file af_stereotools.c.

AVFilter ff_af_stereotools
Initial value:
= {
.name = "stereotools",
.description = NULL_IF_CONFIG_SMALL("Apply various stereo tools."),
.query_formats = query_formats,
.priv_size = sizeof(StereoToolsContext),
.priv_class = &stereotools_class,
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
static av_cold void uninit(AVFilterContext *ctx)
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]

Definition at line 352 of file af_stereotools.c.