FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | 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 "framequeue.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
 

Macros

#define FF_INTERNAL_FIELDS   1
 

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
 

Macro Definition Documentation

#define FF_INTERNAL_FIELDS   1

Definition at line 27 of file af_amultiply.c.

Function Documentation

static int query_formats ( AVFilterContext ctx)
static

Definition at line 48 of file af_amultiply.c.

static int activate ( AVFilterContext ctx)
static

Definition at line 79 of file af_amultiply.c.

static int config_output ( AVFilterLink outlink)
static

Definition at line 162 of file af_amultiply.c.

static av_cold int init ( AVFilterContext ctx)
static

Definition at line 175 of file af_amultiply.c.

static av_cold void uninit ( AVFilterContext ctx)
static

Definition at line 186 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 192 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:162

Definition at line 204 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:186
static av_cold int init(AVFilterContext *ctx)
Definition: af_amultiply.c:175
#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:192
static const AVFilterPad outputs[]
Definition: af_amultiply.c:204
static int activate(AVFilterContext *ctx)
Definition: af_amultiply.c:79
static int query_formats(AVFilterContext *ctx)
Definition: af_amultiply.c:48

Definition at line 213 of file af_amultiply.c.