FFmpeg
|
#include "libavutil/audio_fifo.h"
#include "libavutil/opt.h"
#include "avfilter.h"
#include "audio.h"
#include "filters.h"
#include "formats.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | DeclickChannel |
struct | AudioDeclickContext |
struct | ThreadData |
Used for passing data between threads. More... | |
Macros | |
#define | OFFSET(x) offsetof(AudioDeclickContext, x) |
#define | AF AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (adeclick) | |
static int | config_input (AVFilterLink *inlink) |
static void | autocorrelation (const double *input, int order, int size, double *output, double scale) |
static double | autoregression (const double *samples, int ar_order, int nb_samples, double *k, double *r, double *a) |
static int | isfinite_array (double *samples, int nb_samples) |
static int | find_index (int *index, int value, int size) |
static int | factorization (double *matrix, int n) |
static int | do_interpolation (DeclickChannel *c, double *matrix, double *vector, int n, double *out) |
static int | interpolation (DeclickChannel *c, const double *src, int ar_order, double *acoefficients, int *index, int nb_errors, double *auxiliary, double *interpolated) |
static int | detect_clips (AudioDeclickContext *s, DeclickChannel *c, double unused0, double *unused1, double *unused2, uint8_t *clip, int *index, const double *src, double *dst) |
static int | detect_clicks (AudioDeclickContext *s, DeclickChannel *c, double sigmae, double *detection, double *acoefficients, uint8_t *click, int *index, const double *src, double *dst) |
static int | filter_channel (AVFilterContext *ctx, void *arg, int ch, int nb_jobs) |
static int | filter_frame (AVFilterLink *inlink) |
static int | activate (AVFilterContext *ctx) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
AVFILTER_DEFINE_CLASS (adeclip) | |
Variables | |
static const AVOption | adeclick_options [] |
static const AVFilterPad | inputs [] |
static const AVFilterPad | outputs [] |
const AVFilter | ff_af_adeclick |
static const AVOption | adeclip_options [] |
const AVFilter | ff_af_adeclip |
#define OFFSET | ( | x | ) | offsetof(AudioDeclickContext, x) |
Definition at line 91 of file af_adeclick.c.
Definition at line 92 of file af_adeclick.c.
AVFILTER_DEFINE_CLASS | ( | adeclick | ) |
|
static |
Definition at line 116 of file af_adeclick.c.
|
static |
Definition at line 187 of file af_adeclick.c.
Referenced by autoregression(), and interpolation().
|
static |
Definition at line 202 of file af_adeclick.c.
Referenced by filter_channel().
Definition at line 237 of file af_adeclick.c.
Referenced by filter_channel().
Definition at line 248 of file af_adeclick.c.
Referenced by interpolation().
Definition at line 271 of file af_adeclick.c.
Referenced by do_interpolation().
|
static |
Definition at line 302 of file af_adeclick.c.
Referenced by interpolation().
|
static |
Definition at line 336 of file af_adeclick.c.
Referenced by filter_channel().
|
static |
Definition at line 380 of file af_adeclick.c.
Referenced by init().
|
static |
Definition at line 430 of file af_adeclick.c.
Referenced by init().
|
static |
Definition at line 476 of file af_adeclick.c.
Referenced by filter_frame().
|
static |
Definition at line 541 of file af_adeclick.c.
Referenced by activate().
|
static |
Definition at line 601 of file af_adeclick.c.
|
static |
Definition at line 661 of file af_adeclick.c.
|
static |
Definition at line 675 of file af_adeclick.c.
AVFILTER_DEFINE_CLASS | ( | adeclip | ) |
|
static |
Definition at line 94 of file af_adeclick.c.
|
static |
Definition at line 719 of file af_adeclick.c.
|
static |
Definition at line 727 of file af_adeclick.c.
const AVFilter ff_af_adeclick |
Definition at line 734 of file af_adeclick.c.
|
static |
Definition at line 748 of file af_adeclick.c.
const AVFilter ff_af_adeclip |
Definition at line 770 of file af_adeclick.c.