FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/opt.h"
#include "libavcodec/avfft.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | SincContext |
Macros | |
#define | PACK(h, n) h[1] = h[n] |
#define | UNPACK(h, n) h[n] = h[1], h[n + 1] = h[1] = 0; |
#define | SQR(a) ((a) * (a)) |
#define | AF AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | OFFSET(x) offsetof(SincContext, x) |
Functions | |
static int | request_frame (AVFilterLink *outlink) |
static int | query_formats (AVFilterContext *ctx) |
static float | bessel_I_0 (float x) |
static float * | make_lpf (int num_taps, float Fc, float beta, float rho, float scale, int dc_norm) |
static float | kaiser_beta (float att, float tr_bw) |
static void | kaiser_params (float att, float Fc, float tr_bw, float *beta, int *num_taps) |
static float * | lpf (float Fn, float Fc, float tbw, int *num_taps, float att, float *beta, int round) |
static void | invert (float *h, int n) |
static float | safe_log (float x) |
static int | fir_to_phase (SincContext *s, float **h, int *len, int *post_len, float phase) |
static int | config_output (AVFilterLink *outlink) |
static av_cold void | uninit (AVFilterContext *ctx) |
AVFILTER_DEFINE_CLASS (sinc) | |
Variables | |
static const AVFilterPad | sinc_outputs [] |
static const AVOption | sinc_options [] |
AVFilter | ff_asrc_sinc |
Definition at line 209 of file asrc_sinc.c.
Referenced by fir_to_phase().
Definition at line 210 of file asrc_sinc.c.
Referenced by fir_to_phase().
Definition at line 211 of file asrc_sinc.c.
Referenced by fir_to_phase().
Definition at line 425 of file asrc_sinc.c.
#define OFFSET | ( | x | ) | offsetof(SincContext, x) |
Definition at line 426 of file asrc_sinc.c.
|
static |
Definition at line 46 of file asrc_sinc.c.
|
static |
Definition at line 69 of file asrc_sinc.c.
|
static |
Definition at line 100 of file asrc_sinc.c.
Referenced by make_lpf().
|
static |
Definition at line 115 of file asrc_sinc.c.
Referenced by lpf().
|
static |
Definition at line 140 of file asrc_sinc.c.
Referenced by kaiser_params(), and resample_init().
Definition at line 170 of file asrc_sinc.c.
Referenced by lpf().
|
static |
Definition at line 178 of file asrc_sinc.c.
Referenced by config_output().
Definition at line 201 of file asrc_sinc.c.
Referenced by bitplane_decoding(), and config_output().
|
static |
Definition at line 213 of file asrc_sinc.c.
Referenced by fir_to_phase().
|
static |
Definition at line 221 of file asrc_sinc.c.
Referenced by config_output().
|
static |
Definition at line 344 of file asrc_sinc.c.
|
static |
Definition at line 405 of file asrc_sinc.c.
AVFILTER_DEFINE_CLASS | ( | sinc | ) |
|
static |
Definition at line 415 of file asrc_sinc.c.
|
static |
Definition at line 428 of file asrc_sinc.c.
AVFilter ff_asrc_sinc |
Definition at line 446 of file asrc_sinc.c.