51 for (
i = 0;
i <
s->nb_outputs;
i++) {
54 pad.
type =
ctx->filter->inputs[0].type;
72 for (
i = 0;
i <
ctx->nb_outputs;
i++)
81 for (
i = 0;
i <
ctx->nb_outputs;
i++) {
100 #define OFFSET(x) offsetof(SplitContext, x)
101 #define FLAGS (AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_FILTERING_PARAM)
107 #define split_options options
110 #define asplit_options options
126 .priv_class = &split_class,
147 .priv_class = &asplit_class,
static const AVFilterPad inputs[]
static const AVFilterPad outputs[]
static char * split(char *message, char delim)
Macro definitions for various function/variable attributes.
int ff_outlink_get_status(AVFilterLink *link)
Get the status on an output link.
int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
Send a frame of data to the next filter.
Main libavfilter public API header.
static av_cold int init(AVCodecContext *avctx)
char * av_asprintf(const char *fmt,...)
#define flags(name, subs,...)
static av_cold int uninit(AVCodecContext *avctx)
#define AVFILTER_FLAG_DYNAMIC_OUTPUTS
The number of the filter outputs is not determined just by AVFilter.outputs.
#define AVERROR_EOF
End of file.
AVFrame * av_frame_clone(const AVFrame *src)
Create a new frame that references the same data as src.
void av_frame_free(AVFrame **frame)
Free the frame and any dynamically allocated objects in it, e.g.
static int ff_insert_outpad(AVFilterContext *f, unsigned index, AVFilterPad *p)
Insert a new output pad for the filter.
common internal API header
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Memory handling functions.
static const AVOption options[]
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
static av_cold int split_init(AVFilterContext *ctx)
static const AVFilterPad avfilter_af_asplit_inputs[]
static const AVFilterPad avfilter_vf_split_inputs[]
static av_cold void split_uninit(AVFilterContext *ctx)
AVFILTER_DEFINE_CLASS(split)
Describe the class of an AVClass context structure.
A link between two filters.
AVFilterContext * dst
dest filter
A filter pad used for either input or output.
enum AVMediaType type
AVFilterPad type.
const char * name
Pad name.
const char * name
Filter name.
This structure describes decoded (raw) audio or video data.