FFmpeg
|
Audio (Sidechain) Gate filter. More...
#include "libavutil/audio_fifo.h"
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.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 |
#define | FAKE_INFINITY (65536.0 * 65536.0) |
#define | IS_FAKE_INFINITY(value) (fabs(value-FAKE_INFINITY) < 1.0) |
Functions | |
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 lin_knee_stop, double range) |
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 62 of file af_agate.c.
Definition at line 63 of file af_agate.c.
#define FAKE_INFINITY (65536.0 * 65536.0) |
Definition at line 107 of file af_agate.c.
#define IS_FAKE_INFINITY | ( | value | ) | (fabs(value-FAKE_INFINITY) < 1.0) |
Definition at line 110 of file af_agate.c.
Referenced by output_gain().
|
static |
Definition at line 84 of file af_agate.c.
|
static |
Definition at line 112 of file af_agate.c.
Referenced by gate().
|
static |
Definition at line 136 of file af_agate.c.
|
static |
Definition at line 65 of file af_agate.c.