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

◆ query_formats()

static int query_formats ( AVFilterContext ctx)
static

Definition at line 44 of file af_amultiply.c.

◆ activate()

static int activate ( AVFilterContext ctx)
static

Definition at line 75 of file af_amultiply.c.

◆ config_output()

static int config_output ( AVFilterLink outlink)
static

Definition at line 157 of file af_amultiply.c.

◆ init()

static av_cold int init ( AVFilterContext ctx)
static

Definition at line 170 of file af_amultiply.c.

◆ uninit()

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 181 of file af_amultiply.c.

Variable Documentation

◆ inputs

const AVFilterPad inputs[]
static
Initial value:
= {
{
.name = "multiply0",
},
{
.name = "multiply1",
},
{ NULL }
}

Definition at line 187 of file af_amultiply.c.

◆ outputs

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

Definition at line 199 of file af_amultiply.c.

◆ ff_af_amultiply

AVFilter ff_af_amultiply
Initial value:
= {
.name = "amultiply",
.description = NULL_IF_CONFIG_SMALL("Multiply two audio streams."),
.priv_size = sizeof(AudioMultiplyContext),
.init = init,
}

Definition at line 208 of file af_amultiply.c.

config_output
static int config_output(AVFilterLink *outlink)
Definition: af_amultiply.c:157
AVMEDIA_TYPE_AUDIO
@ AVMEDIA_TYPE_AUDIO
Definition: avutil.h:202
uninit
static av_cold void uninit(AVFilterContext *ctx)
Definition: af_amultiply.c:181
init
static av_cold int init(AVFilterContext *ctx)
Definition: af_amultiply.c:170
inputs
static const AVFilterPad inputs[]
Definition: af_amultiply.c:187
NULL
#define NULL
Definition: coverity.c:32
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
activate
static int activate(AVFilterContext *ctx)
Definition: af_amultiply.c:75
query_formats
static int query_formats(AVFilterContext *ctx)
Definition: af_amultiply.c:44
outputs
static const AVFilterPad outputs[]
Definition: af_amultiply.c:199
AudioMultiplyContext
Definition: af_amultiply.c:33