FFmpeg
|
af_channelsplit.c File Reference
Channel split filter. More...
#include "libavutil/channel_layout.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
Include dependency graph for af_channelsplit.c:
Go to the source code of this file.
Data Structures | |
struct | ChannelSplitContext |
Macros | |
#define | OFFSET(x) offsetof(ChannelSplitContext, x) |
#define | A AV_OPT_FLAG_AUDIO_PARAM |
#define | F AV_OPT_FLAG_FILTERING_PARAM |
Typedefs | |
typedef struct ChannelSplitContext | ChannelSplitContext |
Functions | |
AVFILTER_DEFINE_CLASS (channelsplit) | |
static int | init (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *buf) |
Variables | |
static const AVOption | channelsplit_options [] |
static const AVFilterPad | avfilter_af_channelsplit_inputs [] |
AVFilter | avfilter_af_channelsplit |
Detailed Description
Channel split filter.
Split an audio stream into per-channel streams.
Definition in file af_channelsplit.c.
Macro Definition Documentation
#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.
Typedef Documentation
typedef struct ChannelSplitContext ChannelSplitContext |
Function Documentation
AVFILTER_DEFINE_CLASS | ( | channelsplit | ) |
|
static |
Definition at line 103 of file af_channelsplit.c.
|
static |
Definition at line 52 of file af_channelsplit.c.
|
static |
Definition at line 80 of file af_channelsplit.c.
Variable Documentation
AVFilter avfilter_af_channelsplit |
Initial value:
= {
.name = "channelsplit",
.description = NULL_IF_CONFIG_SMALL("Split audio into per-channel streams."),
.priv_size = sizeof(ChannelSplitContext),
.priv_class = &channelsplit_class,
}
#define AVFILTER_FLAG_DYNAMIC_OUTPUTS
The number of the filter outputs is not determined just by AVFilter.outputs.
Definition: avfilter.h:430
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static const AVFilterPad avfilter_af_channelsplit_inputs[]
Definition: af_channelsplit.c:129
struct ChannelSplitContext ChannelSplitContext
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
Definition: filter_design.txt:216
Definition at line 138 of file af_channelsplit.c.
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.filter_frame = filter_frame,
},
{ NULL }
}
Definition: avutil.h:144
static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
Definition: af_channelsplit.c:103
Definition at line 129 of file af_channelsplit.c.
|
static |
Initial value:
= {
{ "channel_layout", "Input channel layout.", OFFSET(channel_layout_str), AV_OPT_TYPE_STRING, { .str = "stereo" }, .flags = A|F },
{ NULL },
}
Definition: opt.h:226
Definition at line 45 of file af_channelsplit.c.
Generated on Mon Nov 18 2024 06:52:04 for FFmpeg by 1.8.11