FFmpeg
|
#include "config_components.h"
#include "libavutil/audio_fifo.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "formats.h"
#include "hermite.h"
Go to the source code of this file.
Data Structures | |
struct | AudioGateContext |
Macros | |
#define | OFFSET(x) offsetof(AudioGateContext, x) |
#define | A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
#define | FAKE_INFINITY (65536.0 * 65536.0) |
#define | IS_FAKE_INFINITY(value) (fabs(value-FAKE_INFINITY) < 1.0) |
Functions | |
AVFILTER_DEFINE_CLASS_EXT (agate_sidechaingate, "agate/sidechaingate", options) | |
static int | agate_config_input (AVFilterLink *inlink) |
static double | output_gain (double lin_slope, double ratio, double thres, double knee, double knee_start, double knee_stop, double range, int mode) |
static void | gate (AudioGateContext *s, const double *src, double *dst, const double *scsrc, int nb_samples, double level_in, double level_sc, AVFilterLink *inlink, AVFilterLink *sclink) |
Variables | |
static const AVOption | options [] |
Audio (Sidechain) Gate filter
Definition in file af_agate.c.
#define OFFSET | ( | x | ) | offsetof(AudioGateContext, x) |
Definition at line 66 of file af_agate.c.
Definition at line 67 of file af_agate.c.
#define FAKE_INFINITY (65536.0 * 65536.0) |
Definition at line 115 of file af_agate.c.
#define IS_FAKE_INFINITY | ( | value | ) | (fabs(value-FAKE_INFINITY) < 1.0) |
Definition at line 118 of file af_agate.c.
AVFILTER_DEFINE_CLASS_EXT | ( | agate_sidechaingate | , |
"agate/sidechaingate" | , | ||
options | |||
) |
|
static |
Definition at line 93 of file af_agate.c.
|
static |
Definition at line 120 of file af_agate.c.
Referenced by gate().
|
static |
Definition at line 144 of file af_agate.c.
|
static |
Definition at line 69 of file af_agate.c.