FFmpeg
|
#include <float.h>
#include "libavutil/avstring.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/xga_font_data.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | ThreadData |
Used for passing data between threads. More... | |
struct | Pair |
struct | BiquadContext |
struct | IIRChannel |
struct | AudioIIRContext |
Macros | |
#define | IIR_CH(name, type, min, max, need_clipping) |
#define | SERIAL_IIR_CH(name, type, min, max, need_clipping) |
#define | PARALLEL_IIR_CH(name, type, min, max, need_clipping) |
#define | LATTICE_IIR_CH(name, type, min, max, need_clipping) |
#define | OFFSET(x) offsetof(AudioIIRContext, x) |
#define | AF AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | VF AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static void | count_coefficients (char *item_str, int *nb_items) |
static int | read_gains (AVFilterContext *ctx, char *item_str, int nb_items) |
static int | read_tf_coefficients (AVFilterContext *ctx, char *item_str, int nb_items, double *dst) |
static int | read_zp_coefficients (AVFilterContext *ctx, char *item_str, int nb_items, double *dst, const char *format) |
static int | read_channels (AVFilterContext *ctx, int channels, uint8_t *item_str, int ab) |
static void | cmul (double re, double im, double re2, double im2, double *RE, double *IM) |
static int | expand (AVFilterContext *ctx, double *pz, int n, double *coefs) |
static void | normalize_coeffs (AVFilterContext *ctx, int ch) |
static int | convert_zp2tf (AVFilterContext *ctx, int channels) |
static int | decompose_zp2biquads (AVFilterContext *ctx, int channels) |
static void | biquad_process (double *x, double *y, int length, double b0, double b1, double b2, double a1, double a2) |
static void | solve (double *matrix, double *vector, int n, double *y, double *x, double *lu) |
static int | convert_serial2parallel (AVFilterContext *ctx, int channels) |
static void | convert_pr2zp (AVFilterContext *ctx, int channels) |
static void | convert_sp2zp (AVFilterContext *ctx, int channels) |
static double | fact (double i) |
static double | coef_sf2zf (double *a, int N, int n) |
static void | convert_sf2tf (AVFilterContext *ctx, int channels) |
static void | convert_pd2zp (AVFilterContext *ctx, int channels) |
static void | check_stability (AVFilterContext *ctx, int channels) |
static void | drawtext (AVFrame *pic, int x, int y, const char *txt, uint32_t color) |
static void | draw_line (AVFrame *out, int x0, int y0, int x1, int y1, uint32_t color) |
static double | distance (double x0, double x1, double y0, double y1) |
static void | get_response (int channel, int format, double w, const double *b, const double *a, int nb_b, int nb_a, double *magnitude, double *phase) |
static void | draw_response (AVFilterContext *ctx, AVFrame *out, int sample_rate) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | config_video (AVFilterLink *outlink) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
AVFILTER_DEFINE_CLASS (aiir) | |
Variables | |
static const char *const | format [] = { "%lf", "%lf %lfi", "%lf %lfr", "%lf %lfd", "%lf %lfi" } |
static const AVFilterPad | inputs [] |
static const AVOption | aiir_options [] |
const AVFilter | ff_af_aiir |
#define OFFSET | ( | x | ) | offsetof(AudioIIRContext, x) |
|
static |
|
static |
Definition at line 348 of file af_aiir.c.
Referenced by read_channels().
|
static |
Definition at line 362 of file af_aiir.c.
Referenced by config_output().
|
static |
Definition at line 395 of file af_aiir.c.
Referenced by read_channels().
|
static |
Definition at line 420 of file af_aiir.c.
Referenced by read_channels().
|
static |
Definition at line 447 of file af_aiir.c.
Referenced by config_output().
|
static |
|
static |
Definition at line 500 of file af_aiir.c.
Referenced by convert_zp2tf(), and decompose_zp2biquads().
|
static |
Definition at line 527 of file af_aiir.c.
Referenced by config_output(), and convert_zp2tf().
|
static |
Definition at line 555 of file af_aiir.c.
Referenced by config_output().
|
static |
Definition at line 603 of file af_aiir.c.
Referenced by config_output().
|
static |
Definition at line 765 of file af_aiir.c.
Referenced by convert_serial2parallel().
|
static |
Definition at line 783 of file af_aiir.c.
Referenced by convert_serial2parallel().
|
static |
Definition at line 817 of file af_aiir.c.
Referenced by config_output().
|
static |
Definition at line 887 of file af_aiir.c.
Referenced by config_output().
|
static |
Definition at line 914 of file af_aiir.c.
Referenced by config_output().
|
static |
Definition at line 941 of file af_aiir.c.
Referenced by apply_tilt_comp(), coef_sf2zf(), ftp_parse_entry_mlsd(), nb_decode(), pitch_unquant_3tap(), and pred_angular().
Definition at line 948 of file af_aiir.c.
Referenced by convert_sf2tf().
|
static |
Definition at line 967 of file af_aiir.c.
Referenced by config_output().
|
static |
Definition at line 995 of file af_aiir.c.
Referenced by config_output().
|
static |
Definition at line 1022 of file af_aiir.c.
Referenced by config_output().
Definition at line 1041 of file af_aiir.c.
Referenced by draw_response().
Definition at line 1064 of file af_aiir.c.
Referenced by draw_response().
|
static |
Definition at line 1090 of file af_aiir.c.
Referenced by decompose_zp2biquads(), and get_response().
|
static |
Definition at line 1095 of file af_aiir.c.
Referenced by draw_response().
|
static |
Definition at line 1142 of file af_aiir.c.
Referenced by config_output().
|
static |
|
static |
|
static |
|
static |
|
static |
AVFILTER_DEFINE_CLASS | ( | aiir | ) |
|
static |
Definition at line 445 of file af_aiir.c.
Referenced by get_response(), read_channels(), and read_zp_coefficients().
|
static |
const AVFilter ff_af_aiir |