FFmpeg
|
#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 | AudioPsyClipContext |
Macros | |
#define | OFFSET(x) offsetof(AudioPsyClipContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_RUNTIME_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (apsyclip) | |
static void | generate_hann_window (float *window, float *inv_window, int size) |
static void | set_margin_curve (AudioPsyClipContext *s, const int(*points)[2], int num_points, int sample_rate) |
static void | generate_spread_table (AudioPsyClipContext *s) |
static int | config_input (AVFilterLink *inlink) |
static void | apply_window (AudioPsyClipContext *s, const float *in_frame, float *out_frame, const int add_to_out_frame) |
static void | calculate_mask_curve (AudioPsyClipContext *s, const float *spectrum, float *mask_curve) |
static void | clip_to_window (AudioPsyClipContext *s, const float *windowed_frame, float *clipping_delta, float delta_boost) |
static void | limit_clip_spectrum (AudioPsyClipContext *s, float *clip_spectrum, const float *mask_curve) |
static void | r2c (float *buffer, int size) |
static void | c2r (float *buffer, int size) |
static void | feed (AVFilterContext *ctx, int ch, const float *in_samples, float *out_samples, int diff_only, float *in_frame, float *out_dist_frame, float *windowed_frame, float *clipping_delta, float *spectrum_buf, float *mask_curve) |
static int | psy_channel (AVFilterContext *ctx, AVFrame *in, AVFrame *out, int ch) |
static int | psy_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) |
Variables | |
static const AVOption | apsyclip_options [] |
static const AVFilterPad | inputs [] |
const AVFilter | ff_af_apsyclip |
#define OFFSET | ( | x | ) | offsetof(AudioPsyClipContext, x) |
Definition at line 67 of file af_apsyclip.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM | AV_OPT_FLAG_RUNTIME_PARAM |
Definition at line 68 of file af_apsyclip.c.
AVFILTER_DEFINE_CLASS | ( | apsyclip | ) |
Definition at line 83 of file af_apsyclip.c.
Referenced by config_input().
|
static |
Definition at line 94 of file af_apsyclip.c.
Referenced by config_input().
|
static |
Definition at line 120 of file af_apsyclip.c.
Referenced by config_input().
|
static |
Definition at line 185 of file af_apsyclip.c.
|
static |
Definition at line 267 of file af_apsyclip.c.
Referenced by feed().
|
static |
Definition at line 281 of file af_apsyclip.c.
Referenced by feed().
|
static |
Definition at line 331 of file af_apsyclip.c.
Referenced by feed().
|
static |
Definition at line 348 of file af_apsyclip.c.
Referenced by feed().
|
static |
Definition at line 377 of file af_apsyclip.c.
Referenced by feed().
|
static |
Definition at line 386 of file af_apsyclip.c.
Referenced by feed().
|
static |
Definition at line 395 of file af_apsyclip.c.
Referenced by psy_channel().
|
static |
Definition at line 510 of file af_apsyclip.c.
Referenced by psy_channels().
|
static |
Definition at line 531 of file af_apsyclip.c.
Referenced by filter_frame().
|
static |
Definition at line 544 of file af_apsyclip.c.
Referenced by activate().
|
static |
Definition at line 572 of file af_apsyclip.c.
|
static |
Definition at line 602 of file af_apsyclip.c.
|
static |
Definition at line 70 of file af_apsyclip.c.
|
static |
Definition at line 632 of file af_apsyclip.c.
const AVFilter ff_af_apsyclip |
Definition at line 640 of file af_apsyclip.c.