#include <stdio.h>
#include "libavutil/audioconvert.h"
#include "libavutil/avstring.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | PanContext |
Defines | |
#define | MAX_CHANNELS 63 |
Functions | |
static int | parse_channel_name (char **arg, int *rchannel, int *rnamed) |
static void | skip_spaces (char **arg) |
static av_cold int | init (AVFilterContext *ctx, const char *args0, void *opaque) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_props (AVFilterLink *link) |
static void | filter_samples (AVFilterLink *inlink, AVFilterBufferRef *insamples) |
Variables | |
AVFilter | avfilter_af_pan |
Definition in file af_pan.c.
static int config_props | ( | AVFilterLink * | link | ) | [static] |
static void filter_samples | ( | AVFilterLink * | inlink, | |
AVFilterBufferRef * | insamples | |||
) | [static] |
static av_cold int init | ( | AVFilterContext * | ctx, | |
const char * | args0, | |||
void * | opaque | |||
) | [static] |
static int parse_channel_name | ( | char ** | arg, | |
int * | rchannel, | |||
int * | rnamed | |||
) | [static] |
static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Initial value:
{ .name = "pan", .description = NULL_IF_CONFIG_SMALL("Remix channels with coefficients (panning)"), .priv_size = sizeof(PanContext), .init = init, .query_formats = query_formats, .inputs = (const AVFilterPad[]) { { .name = "default", .type = AVMEDIA_TYPE_AUDIO, .config_props = config_props, .filter_samples = filter_samples, .min_perms = AV_PERM_READ, }, { .name = NULL} }, .outputs = (const AVFilterPad[]) { { .name = "default", .type = AVMEDIA_TYPE_AUDIO, }, { .name = NULL} }, }