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}},
}
static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
Definition: vf_split.c:36
A filter pad used for either input or output.
Definition: avfilter.h:312
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
static void end_frame(AVFilterLink *inlink)
Definition: vf_split.c:42
NULL
Definition: eval.c:50
AVFilterBufferRef * avfilter_null_get_video_buffer(AVFilterLink *link, int perms, int w, int h)
get_video_buffer() handler for filters which simply pass video along
Definition: defaults.c:288
static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
Definition: vf_split.c:28

Definition at line 50 of file vf_split.c.