FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.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 27 of file af_asoftclip.c.
#define OFFSET | ( | x | ) | offsetof(ASoftClipContext, x) |
Definition at line 67 of file af_asoftclip.c.
Definition at line 68 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 29 of file af_asoftclip.c.
AVFILTER_DEFINE_CLASS | ( | asoftclip | ) |
Definition at line 90 of file af_asoftclip.c.
Referenced by config_input().
Definition at line 125 of file af_asoftclip.c.
Referenced by filter_flt().
|
static |
Definition at line 137 of file af_asoftclip.c.
Referenced by config_input().
Definition at line 250 of file af_asoftclip.c.
Referenced by filter_dbl().
|
static |
Definition at line 262 of file af_asoftclip.c.
Referenced by config_input().
|
static |
Definition at line 375 of file af_asoftclip.c.
|
static |
Definition at line 404 of file af_asoftclip.c.
Referenced by filter_frame().
|
static |
Definition at line 421 of file af_asoftclip.c.
|
static |
Definition at line 458 of file af_asoftclip.c.
|
static |
Definition at line 70 of file af_asoftclip.c.
|
static |
Definition at line 466 of file af_asoftclip.c.
const AVFilter ff_af_asoftclip |
Definition at line 475 of file af_asoftclip.c.