FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
split.c File Reference

audio and video splitter More...

#include <stdio.h>
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "avfilter.h"
#include "audio.h"
#include "internal.h"
#include "video.h"

Go to the source code of this file.

Functions

static int split_init (AVFilterContext *ctx, const char *args)
 
static void split_uninit (AVFilterContext *ctx)
 
static int filter_frame (AVFilterLink *inlink, AVFilterBufferRef *frame)
 

Variables

static const AVFilterPad avfilter_vf_split_inputs []
 
AVFilter avfilter_vf_split
 
static const AVFilterPad avfilter_af_asplit_inputs []
 
AVFilter avfilter_af_asplit
 

Detailed Description

audio and video splitter

Definition in file split.c.

Function Documentation

static int split_init ( AVFilterContext ctx,
const char *  args 
)
static

Definition at line 35 of file split.c.

static void split_uninit ( AVFilterContext ctx)
static

Definition at line 63 of file split.c.

static int filter_frame ( AVFilterLink inlink,
AVFilterBufferRef frame 
)
static

Definition at line 71 of file split.c.

Variable Documentation

const AVFilterPad avfilter_vf_split_inputs[]
static
Initial value:
= {
{
.name = "default",
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
},
{ NULL }
}

Definition at line 95 of file split.c.

AVFilter avfilter_vf_split
Initial value:
= {
.name = "split",
.description = NULL_IF_CONFIG_SMALL("Pass on the input video to N outputs."),
.init = split_init,
.uninit = split_uninit,
.outputs = NULL,
}

Definition at line 105 of file split.c.

const AVFilterPad avfilter_af_asplit_inputs[]
static
Initial value:
= {
{
.name = "default",
.get_audio_buffer = ff_null_get_audio_buffer,
.filter_frame = filter_frame,
},
{ NULL }
}

Definition at line 116 of file split.c.

AVFilter avfilter_af_asplit
Initial value:
= {
.name = "asplit",
.description = NULL_IF_CONFIG_SMALL("Pass on the audio input to N audio outputs."),
.init = split_init,
.uninit = split_uninit,
.outputs = NULL,
}

Definition at line 126 of file split.c.