#include "libavutil/audioconvert.h"
#include "avfilter.h"
Go to the source code of this file.
Data Structures | |
struct | EarwaxContext |
Defines | |
#define | NUMTAPS 64 |
Functions | |
static int | query_formats (AVFilterContext *ctx) |
static int | config_input (AVFilterLink *inlink) |
static int16_t * | scalarproduct (const int16_t *in, const int16_t *endin, int16_t *out) |
static void | filter_samples (AVFilterLink *inlink, AVFilterBufferRef *insamples) |
Variables | |
static const int8_t | filt [NUMTAPS] |
AVFilter | avfilter_af_earwax |
Adds audio cues to move stereo image in front of the listener. Adapted from the libsox earwax effect.
Definition in file af_earwax.c.
#define NUMTAPS 64 |
static int config_input | ( | AVFilterLink * | inlink | ) | [static] |
static void filter_samples | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | insamples | |||
) | [static] |
Definition at line 120 of file af_earwax.c.
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 76 of file af_earwax.c.
Initial value:
{ .name = "earwax", .description = NULL_IF_CONFIG_SMALL("Widen the stereo image."), .query_formats = query_formats, .priv_size = sizeof(EarwaxContext), .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO, .filter_samples = filter_samples, .config_props = config_input, .min_perms = AV_PERM_READ, }, { .name = NULL}}, .outputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO, }, { .name = NULL}}, }
Definition at line 148 of file af_earwax.c.
const int8_t filt[NUMTAPS] [static] |
Definition at line 37 of file af_earwax.c.
Referenced by apply_tns(), create_filter(), decode_tns(), ff_avfilter_graph_check_validity(), ff_avfilter_graph_config_links(), put_vp8_epel_h_altivec_core(), put_vp8_epel_v_altivec_core(), and scalarproduct().