FFmpeg
|
fade audio filter More...
#include "framequeue.h"
#include "libavutil/audio_fifo.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | AudioFadeContext |
Macros | |
#define | FF_INTERNAL_FIELDS 1 |
#define | OFFSET(x) offsetof(AudioFadeContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | CUBE(a) ((a)*(a)*(a)) |
#define | FADE_PLANAR(name, type) |
#define | FADE(name, type) |
Enumerations | |
enum | CurveType { TRI, QSIN, ESIN, HSIN, LOG, IPAR, QUA, CUB, SQU, CBR, PAR, EXP, IQSIN, IHSIN, DESE, DESI, LOSI, NB_CURVES } |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static double | fade_gain (int curve, int64_t index, int64_t range) |
static int | config_output (AVFilterLink *outlink) |
fade audio filter
Definition in file af_afade.c.
#define FF_INTERNAL_FIELDS 1 |
Definition at line 26 of file af_afade.c.
#define OFFSET | ( | x | ) | offsetof(AudioFadeContext, x) |
Definition at line 62 of file af_afade.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 63 of file af_afade.c.
Referenced by fade_gain().
Definition at line 167 of file af_afade.c.
Definition at line 185 of file af_afade.c.
enum CurveType |
Enumerator | |
---|---|
TRI | |
QSIN | |
ESIN | |
HSIN | |
LOG | |
IPAR | |
QUA | |
CUB | |
SQU | |
CBR | |
PAR | |
EXP | |
IQSIN | |
IHSIN | |
DESE | |
DESI | |
LOSI | |
NB_CURVES |
Definition at line 60 of file af_afade.c.
|
static |
Definition at line 65 of file af_afade.c.
|
static |
Definition at line 98 of file af_afade.c.
|
static |
Definition at line 211 of file af_afade.c.