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 | query_formats (AVFilterContext *ctx) |
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 [] |
AVFilter | ff_af_adeclick |
static const AVOption | adeclip_options [] |
AVFilter | ff_af_adeclip |
#define OFFSET | ( | x | ) | offsetof(AudioDeclickContext, x) |
Definition at line 89 of file af_adeclick.c.
Definition at line 90 of file af_adeclick.c.
AVFILTER_DEFINE_CLASS | ( | adeclick | ) |
|
static |
Definition at line 106 of file af_adeclick.c.
|
static |
Definition at line 135 of file af_adeclick.c.
|
static |
Definition at line 202 of file af_adeclick.c.
Referenced by autoregression(), and interpolation().
|
static |
Definition at line 217 of file af_adeclick.c.
Referenced by filter_channel().
Definition at line 252 of file af_adeclick.c.
Referenced by filter_channel().
Definition at line 263 of file af_adeclick.c.
Referenced by interpolation().
Definition at line 286 of file af_adeclick.c.
Referenced by do_interpolation().
|
static |
Definition at line 317 of file af_adeclick.c.
Referenced by interpolation().
|
static |
Definition at line 351 of file af_adeclick.c.
Referenced by filter_channel().
|
static |
Definition at line 395 of file af_adeclick.c.
Referenced by init().
|
static |
Definition at line 445 of file af_adeclick.c.
Referenced by init().
|
static |
Definition at line 491 of file af_adeclick.c.
Referenced by filter_frame().
|
static |
Definition at line 550 of file af_adeclick.c.
Referenced by activate().
|
static |
Definition at line 609 of file af_adeclick.c.
|
static |
Definition at line 663 of file af_adeclick.c.
|
static |
Definition at line 677 of file af_adeclick.c.
AVFILTER_DEFINE_CLASS | ( | adeclip | ) |
|
static |
Definition at line 92 of file af_adeclick.c.
|
static |
Definition at line 719 of file af_adeclick.c.
|
static |
Definition at line 728 of file af_adeclick.c.
AVFilter ff_af_adeclick |
Definition at line 736 of file af_adeclick.c.
|
static |
Definition at line 750 of file af_adeclick.c.
AVFilter ff_af_adeclip |
Definition at line 764 of file af_adeclick.c.