FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#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.
Data Structures | |
struct | SincContext |
Macros | |
#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 | activate (AVFilterContext *ctx) |
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 [] |
const AVFilter | ff_asrc_sinc |
Definition at line 206 of file asrc_sinc.c.
Definition at line 414 of file asrc_sinc.c.
#define OFFSET | ( | x | ) | offsetof(SincContext, x) |
Definition at line 415 of file asrc_sinc.c.
|
static |
Definition at line 48 of file asrc_sinc.c.
|
static |
Definition at line 76 of file asrc_sinc.c.
Definition at line 94 of file asrc_sinc.c.
Referenced by make_lpf().
|
static |
Definition at line 109 of file asrc_sinc.c.
Referenced by lpf().
Definition at line 137 of file asrc_sinc.c.
Referenced by build_filter(), kaiser_params(), and resample_init().
Definition at line 167 of file asrc_sinc.c.
Referenced by lpf().
|
static |
Definition at line 175 of file asrc_sinc.c.
Referenced by config_output(), and fluxlr().
Definition at line 198 of file asrc_sinc.c.
Referenced by bitplane_decoding(), config_output(), ff_h274_apply_film_grain(), ff_vfscanf(), and generate().
Definition at line 208 of file asrc_sinc.c.
Referenced by fir_to_phase().
|
static |
Definition at line 216 of file asrc_sinc.c.
Referenced by config_output().
|
static |
Definition at line 337 of file asrc_sinc.c.
|
static |
Definition at line 397 of file asrc_sinc.c.
AVFILTER_DEFINE_CLASS | ( | sinc | ) |
|
static |
Definition at line 406 of file asrc_sinc.c.
|
static |
Definition at line 417 of file asrc_sinc.c.
const AVFilter ff_asrc_sinc |
Definition at line 435 of file asrc_sinc.c.