#include "libavutil/avstring.h"
#include "libavutil/opt.h"
#include "libavutil/samplefmt.h"
#include "libavutil/avassert.h"
#include "libswresample/swresample.h"
#include "avfilter.h"
#include "audio.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 | query_formats (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static void | filter_samples (AVFilterLink *inlink, AVFilterBufferRef *insamplesref) |
static int | request_frame (AVFilterLink *outlink) |
Variables | |
AVFilter | avfilter_af_aresample |
Definition in file af_aresample.c.
static int config_output | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 128 of file af_aresample.c.
static void filter_samples | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | insamplesref | |||
) | [static] |
Definition at line 169 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.
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 84 of file af_aresample.c.
static int request_frame | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 208 of file af_aresample.c.
static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 78 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, .request_frame = request_frame, .type = AVMEDIA_TYPE_AUDIO, }, { .name = NULL}}, }
Definition at line 249 of file af_aresample.c.