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 "formats.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 * | 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 192 of file asrc_sinc.c.
Definition at line 401 of file asrc_sinc.c.
#define OFFSET | ( | x | ) | offsetof(SincContext, x) |
Definition at line 402 of file asrc_sinc.c.
|
static |
Definition at line 49 of file asrc_sinc.c.
|
static |
Definition at line 77 of file asrc_sinc.c.
|
static |
Definition at line 95 of file asrc_sinc.c.
Referenced by lpf().
Definition at line 123 of file asrc_sinc.c.
Referenced by build_filter(), kaiser_params(), and resample_init().
Definition at line 153 of file asrc_sinc.c.
Referenced by lpf().
|
static |
Definition at line 161 of file asrc_sinc.c.
Referenced by config_output(), and fluxlr().
Definition at line 184 of file asrc_sinc.c.
Referenced by bitplane_decoding(), config_output(), ff_h274_apply_film_grain(), ff_vfscanf(), and generate().
Definition at line 194 of file asrc_sinc.c.
Referenced by fir_to_phase().
|
static |
Definition at line 202 of file asrc_sinc.c.
Referenced by config_output().
|
static |
Definition at line 324 of file asrc_sinc.c.
|
static |
Definition at line 384 of file asrc_sinc.c.
AVFILTER_DEFINE_CLASS | ( | sinc | ) |
|
static |
Definition at line 393 of file asrc_sinc.c.
|
static |
Definition at line 404 of file asrc_sinc.c.
const AVFilter ff_asrc_sinc |
Definition at line 422 of file asrc_sinc.c.