#include "libavutil/eval.h"
#include "libavcodec/avcodec.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | AResampleContext |
Functions | |
static av_cold int | init (AVFilterContext *ctx, const char *args, void *opaque) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static int | query_formats (AVFilterContext *ctx) |
static void | deinterleave (int16_t **outp, int16_t *in, int nb_channels, int nb_samples) |
static void | interleave (int16_t *out, int16_t **inp, int nb_channels, int nb_samples) |
static void | filter_samples (AVFilterLink *inlink, AVFilterBufferRef *insamplesref) |
Variables | |
AVFilter | avfilter_af_aresample |
Definition in file af_aresample.c.
static int config_output | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 76 of file af_aresample.c.
static void deinterleave | ( | int16_t ** | outp, | |
int16_t * | in, | |||
int | nb_channels, | |||
int | nb_samples | |||
) | [static] |
Definition at line 121 of file af_aresample.c.
static void filter_samples | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | insamplesref | |||
) | [static] |
Definition at line 245 of file af_aresample.c.
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args, | |||
void * | opaque | |||
) | [static] |
Definition at line 43 of file af_aresample.c.
Definition at line 183 of file af_aresample.c.
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 99 of file af_aresample.c.
static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 58 of file af_aresample.c.
Initial value:
{ .name = "aresample", .description = NULL_IF_CONFIG_SMALL("Resample audio data."), .init = init, .uninit = uninit, .query_formats = query_formats, .priv_size = sizeof(AResampleContext), .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO, .filter_samples = filter_samples, .min_perms = AV_PERM_READ, }, { .name = NULL}}, .outputs = (const AVFilterPad[]) {{ .name = "default", .config_props = config_output, .type = AVMEDIA_TYPE_AUDIO, }, { .name = NULL}}, }
Definition at line 331 of file af_aresample.c.