#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavresample/avresample.h"
#include "audio.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | ResampleContext |
Functions | |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static int | request_frame (AVFilterLink *outlink) |
static void | filter_samples (AVFilterLink *inlink, AVFilterBufferRef *buf) |
Variables | |
AVFilter | avfilter_af_resample |
Definition in file af_resample.c.
static int config_output | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 77 of file af_resample.c.
static void filter_samples | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | buf | |||
) | [static] |
Definition at line 165 of file af_resample.c.
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 53 of file af_resample.c.
static int request_frame | ( | AVFilterLink * | outlink | ) | [static] |
Definition at line 129 of file af_resample.c.
static av_cold void uninit | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 43 of file af_resample.c.
Initial value:
{ .name = "resample", .description = NULL_IF_CONFIG_SMALL("Audio resampling and conversion."), .priv_size = sizeof(ResampleContext), .uninit = uninit, .query_formats = query_formats, .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", .type = AVMEDIA_TYPE_AUDIO, .config_props = config_output, .request_frame = request_frame }, { .name = NULL}}, }
Definition at line 218 of file af_resample.c.