#include "libavutil/audioconvert.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
| struct | ChannelSplitContext |
Defines | |
| #define | OFFSET(x) offsetof(ChannelSplitContext, x) |
| #define | A AV_OPT_FLAG_AUDIO_PARAM |
| #define | F AV_OPT_FLAG_FILTERING_PARAM |
Functions | |
| AVFILTER_DEFINE_CLASS (channelsplit) | |
| static int | init (AVFilterContext *ctx, const char *arg) |
| static int | query_formats (AVFilterContext *ctx) |
| static int | filter_samples (AVFilterLink *inlink, AVFilterBufferRef *buf) |
Variables | |
| static const AVOption | channelsplit_options [] |
| AVFilter | avfilter_af_channelsplit |
Split an audio stream into per-channel streams.
Definition in file af_channelsplit.c.
| #define A AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 43 of file af_channelsplit.c.
| #define F AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 44 of file af_channelsplit.c.
| #define OFFSET | ( | x | ) | offsetof(ChannelSplitContext, x) |
Definition at line 42 of file af_channelsplit.c.
| AVFILTER_DEFINE_CLASS | ( | channelsplit | ) |
| static int filter_samples | ( | AVFilterLink * | inlink, | |
| AVFilterBufferRef * | buf | |||
| ) | [static] |
Definition at line 108 of file af_channelsplit.c.
| static int init | ( | AVFilterContext * | ctx, | |
| const char * | arg | |||
| ) | [static] |
Definition at line 52 of file af_channelsplit.c.
| static int query_formats | ( | AVFilterContext * | ctx | ) | [static] |
Definition at line 85 of file af_channelsplit.c.
Initial value:
{
.name = "channelsplit",
.description = NULL_IF_CONFIG_SMALL("Split audio into per-channel streams"),
.priv_size = sizeof(ChannelSplitContext),
.init = init,
.query_formats = query_formats,
.inputs = (const AVFilterPad[]){{ .name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.filter_samples = filter_samples, },
{ NULL }},
.outputs = NULL,
.priv_class = &channelsplit_class,
}
Definition at line 133 of file af_channelsplit.c.
const AVOption channelsplit_options[] [static] |
Initial value:
{
{ "channel_layout", "Input channel layout.", OFFSET(channel_layout_str), AV_OPT_TYPE_STRING, { .str = "stereo" }, .flags = A|F },
{ NULL },
}
Definition at line 45 of file af_channelsplit.c.
1.5.8