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 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 145 of file af_adeclick.c.
|
static |
Definition at line 216 of file af_adeclick.c.
Referenced by autoregression(), and interpolation().
|
static |
Definition at line 231 of file af_adeclick.c.
Referenced by filter_channel().
Definition at line 266 of file af_adeclick.c.
Referenced by filter_channel().
Definition at line 277 of file af_adeclick.c.
Referenced by interpolation().
Definition at line 300 of file af_adeclick.c.
Referenced by do_interpolation().
|
static |
Definition at line 331 of file af_adeclick.c.
Referenced by interpolation().
|
static |
Definition at line 365 of file af_adeclick.c.
Referenced by filter_channel().
|
static |
Definition at line 409 of file af_adeclick.c.
Referenced by init().
|
static |
Definition at line 459 of file af_adeclick.c.
Referenced by init().
|
static |
Definition at line 505 of file af_adeclick.c.
Referenced by filter_frame().
|
static |
Definition at line 570 of file af_adeclick.c.
Referenced by activate().
|
static |
Definition at line 630 of file af_adeclick.c.
|
static |
Definition at line 690 of file af_adeclick.c.
|
static |
Definition at line 704 of file af_adeclick.c.
AVFILTER_DEFINE_CLASS | ( | adeclip | ) |
|
static |
Definition at line 94 of file af_adeclick.c.
|
static |
Definition at line 748 of file af_adeclick.c.
|
static |
Definition at line 757 of file af_adeclick.c.
AVFilter ff_af_adeclick |
Definition at line 765 of file af_adeclick.c.
|
static |
Definition at line 779 of file af_adeclick.c.
AVFilter ff_af_adeclip |
Definition at line 801 of file af_adeclick.c.