vf_copy.c File Reference

copy video filter More...

#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "avfilter.h"
#include "internal.h"
#include "video.h"
Include dependency graph for vf_copy.c:

Go to the source code of this file.

Functions

static int filter_frame (AVFilterLink *inlink, AVFrame *in)
 

Variables

static const AVFilterPad avfilter_vf_copy_inputs []
 
static const AVFilterPad avfilter_vf_copy_outputs []
 
AVFilter avfilter_vf_copy
 

Detailed Description

copy video filter

Definition in file vf_copy.c.

Function Documentation

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 30 of file vf_copy.c.

Variable Documentation

AVFilter avfilter_vf_copy
Initial value:
= {
.name = "copy",
.description = NULL_IF_CONFIG_SMALL("Copy the input video unchanged to the output."),
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad avfilter_vf_copy_outputs[]
Definition: vf_copy.c:57
static const AVFilterPad avfilter_vf_copy_inputs[]
Definition: vf_copy.c:47

Definition at line 65 of file vf_copy.c.

const AVFilterPad avfilter_vf_copy_inputs[]
static
Initial value:
= {
{
.name = "default",
.get_video_buffer = ff_null_get_video_buffer,
.filter_frame = filter_frame,
},
{ NULL }
}
AVFrame * ff_null_get_video_buffer(AVFilterLink *link, int w, int h)
Definition: video.c:35
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_copy.c:30
NULL
Definition: eval.c:55

Definition at line 47 of file vf_copy.c.

const AVFilterPad avfilter_vf_copy_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}
NULL
Definition: eval.c:55

Definition at line 57 of file vf_copy.c.