vf_split.c File Reference

Video splitter. More...

#include "avfilter.h"

Go to the source code of this file.

Functions

static void start_frame (AVFilterLink *inlink, AVFilterBufferRef *picref)
static void draw_slice (AVFilterLink *inlink, int y, int h, int slice_dir)
static void end_frame (AVFilterLink *inlink)

Variables

AVFilter avfilter_vf_split

Detailed Description

Video splitter.

Definition in file vf_split.c.

Function Documentation

static void draw_slice ( AVFilterLink inlink,
int  y,
int  h,
int  slice_dir 
)
static

Definition at line 36 of file vf_split.c.

static void end_frame ( AVFilterLink inlink)
static

Definition at line 42 of file vf_split.c.

static void start_frame ( AVFilterLink inlink,
AVFilterBufferRef picref 
)
static

Definition at line 28 of file vf_split.c.

Variable Documentation

AVFilter avfilter_vf_split
Initial value:
{
.name = "split",
.description = NULL_IF_CONFIG_SMALL("Pass on the input to two outputs."),
.inputs = (AVFilterPad[]) {{ .name = "default",
.get_video_buffer= avfilter_null_get_video_buffer,
.start_frame = start_frame,
.draw_slice = draw_slice,
.end_frame = end_frame, },
{ .name = NULL}},
.outputs = (AVFilterPad[]) {{ .name = "output1",
.type = AVMEDIA_TYPE_VIDEO, },
{ .name = "output2",
.type = AVMEDIA_TYPE_VIDEO, },
{ .name = NULL}},
}

Definition at line 50 of file vf_split.c.