|
FFmpeg
|
#include <float.h>#include "libavutil/eval.h"#include "libavutil/ffmath.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/tx.h"#include "audio.h"#include "avfilter.h"#include "filters.h"Go to the source code of this file.
Data Structures | |
| struct | AudioDRCContext |
Macros | |
| #define | OFFSET(x) |
| #define | FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_RUNTIME_PARAM |
Enumerations | |
| enum | var_name { VAR_CH , VAR_SN , VAR_NB_CHANNELS , VAR_T , VAR_SR , VAR_P , VAR_F , VAR_VARS_NB } |
Functions | |
| AVFILTER_DEFINE_CLASS (adrc) | |
| static void | generate_hann_window (float *window, int size) |
| static int | config_input (AVFilterLink *inlink) |
| static void | apply_window (AudioDRCContext *s, const float *in_frame, float *out_frame, const int add_to_out_frame) |
| static float | sqrf (float x) |
| static void | get_energy (AVFilterContext *ctx, int len, float *energy, const float *spectral) |
| static void | get_target_gain (AVFilterContext *ctx, int len, float *gain, const float *energy, double *var_values, float fx, int bypass) |
| static void | get_envelope (AVFilterContext *ctx, int len, float *envelope, const float *energy, const float *gain) |
| static void | get_factors (AVFilterContext *ctx, int len, float *factors, const float *envelope) |
| static void | apply_factors (AVFilterContext *ctx, int len, float *spectrum, const float *factors) |
| static void | feed (AVFilterContext *ctx, int ch, const float *in_samples, float *out_samples, float *in_frame, float *out_dist_frame, float *windowed_frame, float *drc_frame, float *spectrum_buf, float *energy, float *target_gain, float *envelope, float *factors) |
| static int | drc_channel (AVFilterContext *ctx, AVFrame *in, AVFrame *out, int ch) |
| static int | drc_channels (AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs) |
| static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
| static int | activate (AVFilterContext *ctx) |
| static av_cold void | uninit (AVFilterContext *ctx) |
| static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
Variables | |
| static const char *const | var_names [] |
| static const AVOption | adrc_options [] |
| static const AVFilterPad | inputs [] |
| const FFFilter | ff_af_adrc |
| #define OFFSET | ( | x | ) |
| #define FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_RUNTIME_PARAM |
| enum var_name |
| AVFILTER_DEFINE_CLASS | ( | adrc | ) |
|
static |
Definition at line 108 of file af_adrc.c.
Referenced by config_input().
|
static |
|
static |
Definition at line 190 of file af_adrc.c.
Referenced by get_energy().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 275 of file af_adrc.c.
Referenced by drc_channel(), and parse_stream().
|
static |
Definition at line 324 of file af_adrc.c.
Referenced by drc_channels().
|
static |
Definition at line 347 of file af_adrc.c.
Referenced by filter_frame().
|
static |
Definition at line 361 of file af_adrc.c.
Referenced by activate().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| const FFFilter ff_af_adrc |