FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
Go to the source code of this file.
Data Structures | |
struct | Lowpass |
struct | ASoftClipContext |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#define | MAX_OVERSAMPLE 64 |
#define | OFFSET(x) offsetof(ASoftClipContext, x) |
#define | A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_RUNTIME_PARAM |
Enumerations | |
enum | ASoftClipTypes { ASC_HARD = -1, ASC_TANH, ASC_ATAN, ASC_CUBIC, ASC_EXP, ASC_ALG, ASC_QUINTIC, ASC_SIN, ASC_ERF, NB_TYPES } |
Functions | |
AVFILTER_DEFINE_CLASS (asoftclip) | |
static void | get_lowpass (Lowpass *s, double frequency, double sample_rate) |
static float | run_lowpassf (const Lowpass *const s, float src, float *w) |
static void | filter_flt (ASoftClipContext *s, void **dptr, const void **sptr, int nb_samples, int channels, int start, int end) |
static double | run_lowpassd (const Lowpass *const s, double src, double *w) |
static void | filter_dbl (ASoftClipContext *s, void **dptr, const void **sptr, int nb_samples, int channels, int start, int end) |
static int | config_input (AVFilterLink *inlink) |
static int | filter_channels (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | asoftclip_options [] |
static const AVFilterPad | inputs [] |
const AVFilter | ff_af_asoftclip |
#define MAX_OVERSAMPLE 64 |
Definition at line 28 of file af_asoftclip.c.
#define OFFSET | ( | x | ) | offsetof(ASoftClipContext, x) |
Definition at line 68 of file af_asoftclip.c.
Definition at line 69 of file af_asoftclip.c.
enum ASoftClipTypes |
Enumerator | |
---|---|
ASC_HARD | |
ASC_TANH | |
ASC_ATAN | |
ASC_CUBIC | |
ASC_EXP | |
ASC_ALG | |
ASC_QUINTIC | |
ASC_SIN | |
ASC_ERF | |
NB_TYPES |
Definition at line 30 of file af_asoftclip.c.
AVFILTER_DEFINE_CLASS | ( | asoftclip | ) |
Definition at line 91 of file af_asoftclip.c.
Referenced by config_input().
Definition at line 126 of file af_asoftclip.c.
Referenced by filter_flt().
|
static |
Definition at line 138 of file af_asoftclip.c.
Referenced by config_input().
Definition at line 251 of file af_asoftclip.c.
Referenced by filter_dbl().
|
static |
Definition at line 263 of file af_asoftclip.c.
Referenced by config_input().
|
static |
Definition at line 376 of file af_asoftclip.c.
|
static |
Definition at line 405 of file af_asoftclip.c.
Referenced by filter_frame().
|
static |
Definition at line 422 of file af_asoftclip.c.
|
static |
Definition at line 459 of file af_asoftclip.c.
|
static |
Definition at line 71 of file af_asoftclip.c.
|
static |
Definition at line 467 of file af_asoftclip.c.
const AVFilter ff_af_asoftclip |
Definition at line 476 of file af_asoftclip.c.