FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/ffmath.h"
#include "libavutil/opt.h"
#include "libavutil/samplefmt.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | CompandSegment |
struct | CompandT |
struct | PrevCrossover |
struct | Crossover |
struct | CompBand |
struct | MCompandContext |
Macros | |
#define | N 4 |
#define | OFFSET(x) offsetof(MCompandContext, x) |
#define | A AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | S(x) s->segments[2 * ((x) + 1)] |
#define | S(x) s->segments[2 * (x)] |
#define | L(x) s->segments[i - (x)] |
#define | CONVOLVE _ _ _ _ |
#define | _ |
#define | _ |
Functions | |
AVFILTER_DEFINE_CLASS (mcompand) | |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static void | count_items (char *item_str, int *nb_items, char delimiter) |
static void | update_volume (CompBand *cb, double in, int ch) |
static double | get_volume (CompandT *s, double in_lin) |
static int | parse_points (char *points, int nb_points, double radius, CompandT *s, AVFilterContext *ctx) |
static void | square_quadratic (double const *x, double *y) |
static int | crossover_setup (AVFilterLink *outlink, Crossover *p, double frequency) |
static int | config_output (AVFilterLink *outlink) |
static void | crossover (int ch, Crossover *p, double *ibuf, double *obuf_low, double *obuf_high, size_t len) |
static int | mcompand_channel (MCompandContext *c, CompBand *l, double *ibuf, double *obuf, int len, int ch) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static int | request_frame (AVFilterLink *outlink) |
Variables | |
static const AVOption | mcompand_options [] |
static const AVFilterPad | mcompand_inputs [] |
static const AVFilterPad | mcompand_outputs [] |
AVFilter | ff_af_mcompand |
audio multiband compand filter
Definition in file af_mcompand.c.
#define N 4 |
Definition at line 54 of file af_mcompand.c.
#define OFFSET | ( | x | ) | offsetof(MCompandContext, x) |
Definition at line 94 of file af_mcompand.c.
Definition at line 95 of file af_mcompand.c.
#define S | ( | x | ) | s->segments[2 * ((x) + 1)] |
#define S | ( | x | ) | s->segments[2 * (x)] |
#define _ |
#define _ |
AVFILTER_DEFINE_CLASS | ( | mcompand | ) |
|
static |
Definition at line 104 of file af_mcompand.c.
|
static |
Definition at line 126 of file af_mcompand.c.
|
static |
Definition at line 156 of file af_mcompand.c.
Referenced by config_output().
Definition at line 167 of file af_mcompand.c.
Referenced by mcompand_channel().
|
static |
Definition at line 177 of file af_mcompand.c.
Referenced by mcompand_channel().
|
static |
Definition at line 198 of file af_mcompand.c.
Referenced by config_output().
|
static |
Definition at line 300 of file af_mcompand.c.
Referenced by crossover_setup().
|
static |
Definition at line 309 of file af_mcompand.c.
Referenced by config_output().
|
static |
Definition at line 343 of file af_mcompand.c.
|
static |
Definition at line 496 of file af_mcompand.c.
Referenced by filter_frame().
|
static |
Definition at line 527 of file af_mcompand.c.
Referenced by filter_frame().
|
static |
Definition at line 580 of file af_mcompand.c.
|
static |
Definition at line 636 of file af_mcompand.c.
|
static |
Definition at line 97 of file af_mcompand.c.
|
static |
Definition at line 646 of file af_mcompand.c.
|
static |
Definition at line 655 of file af_mcompand.c.
AVFilter ff_af_mcompand |
Definition at line 666 of file af_mcompand.c.