#include "libavutil/opt.h"
#include "libavutil/tx.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "internal.h"
Go to the source code of this file.
|
| 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) |
|
◆ OFFSET
◆ FLAGS
◆ AVFILTER_DEFINE_CLASS()
AVFILTER_DEFINE_CLASS |
( |
apsyclip |
| ) |
|
◆ generate_hann_window()
static void generate_hann_window |
( |
float * |
window, |
|
|
float * |
inv_window, |
|
|
int |
size |
|
) |
| |
|
static |
◆ set_margin_curve()
◆ generate_spread_table()
◆ config_input()
◆ apply_window()
◆ calculate_mask_curve()
◆ clip_to_window()
◆ limit_clip_spectrum()
◆ r2c()
static void r2c |
( |
float * |
buffer, |
|
|
int |
size |
|
) |
| |
|
static |
◆ c2r()
static void c2r |
( |
float * |
buffer, |
|
|
int |
size |
|
) |
| |
|
static |
◆ feed()
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 |
◆ psy_channel()
◆ psy_channels()
◆ filter_frame()
◆ activate()
◆ uninit()
◆ apsyclip_options
◆ inputs
Initial value:= {
{
.name = "default",
},
}
Definition at line 632 of file af_apsyclip.c.
◆ ff_af_apsyclip
Initial value:= {
.name = "apsyclip",
.priv_class = &apsyclip_class,
}
Definition at line 640 of file af_apsyclip.c.
int ff_filter_process_command(AVFilterContext *ctx, const char *cmd, const char *arg, char *res, int res_len, int flags)
Generic processing of user supplied commands that are set in the same way as the filter options.