FFmpeg
Data Structures | Functions | Variables
af_amultiply.c File Reference
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "formats.h"
#include "filters.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  AudioMultiplyContext
 

Functions

static int query_formats (AVFilterContext *ctx)
 
static int activate (AVFilterContext *ctx)
 
static int config_output (AVFilterLink *outlink)
 
static av_cold int init (AVFilterContext *ctx)
 
static av_cold void uninit (AVFilterContext *ctx)
 

Variables

static const AVFilterPad inputs []
 
static const AVFilterPad outputs []
 
AVFilter ff_af_amultiply
 

Function Documentation

static int query_formats ( AVFilterContext ctx)
static

Definition at line 44 of file af_amultiply.c.

static int activate ( AVFilterContext ctx)
static

Definition at line 75 of file af_amultiply.c.

static int config_output ( AVFilterLink outlink)
static

Definition at line 157 of file af_amultiply.c.

static av_cold int init ( AVFilterContext ctx)
static

Definition at line 170 of file af_amultiply.c.

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 181 of file af_amultiply.c.

Variable Documentation

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

Definition at line 187 of file af_amultiply.c.

const AVFilterPad outputs[]
static
Initial value:
= {
{
.name = "default",
.config_props = config_output,
},
{ NULL }
}
#define NULL
Definition: coverity.c:32
static int config_output(AVFilterLink *outlink)
Definition: af_amultiply.c:157

Definition at line 199 of file af_amultiply.c.

AVFilter ff_af_amultiply
Initial value:
= {
.name = "amultiply",
.description = NULL_IF_CONFIG_SMALL("Multiply two audio streams."),
.priv_size = sizeof(AudioMultiplyContext),
.init = init,
}
static av_cold void uninit(AVFilterContext *ctx)
Definition: af_amultiply.c:181
static av_cold int init(AVFilterContext *ctx)
Definition: af_amultiply.c:170
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static const AVFilterPad inputs[]
Definition: af_amultiply.c:187
static const AVFilterPad outputs[]
Definition: af_amultiply.c:199
static int activate(AVFilterContext *ctx)
Definition: af_amultiply.c:75
static int query_formats(AVFilterContext *ctx)
Definition: af_amultiply.c:44

Definition at line 208 of file af_amultiply.c.