FFmpeg  4.0
Functions | Variables
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"

Go to the source code of this file.

Functions

static int query_formats (AVFilterContext *ctx)
 
static int filter_frame (AVFilterLink *inlink, AVFrame *in)
 

Variables

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

Detailed Description

copy video filter

Definition in file vf_copy.c.

Function Documentation

◆ query_formats()

static int query_formats ( AVFilterContext ctx)
static

Definition at line 30 of file vf_copy.c.

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 47 of file vf_copy.c.

Variable Documentation

◆ avfilter_vf_copy_inputs

const AVFilterPad avfilter_vf_copy_inputs[]
static
Initial value:
= {
{
.name = "default",
.filter_frame = filter_frame,
},
{ NULL }
}
#define NULL
Definition: coverity.c:32
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_copy.c:47

Definition at line 62 of file vf_copy.c.

◆ avfilter_vf_copy_outputs

const AVFilterPad avfilter_vf_copy_outputs[]
static
Initial value:
= {
{
.name = "default",
},
{ NULL }
}
#define NULL
Definition: coverity.c:32

Definition at line 71 of file vf_copy.c.

◆ ff_vf_copy

AVFilter ff_vf_copy
Initial value:
= {
.name = "copy",
.description = NULL_IF_CONFIG_SMALL("Copy the input video unchanged to the output."),
.query_formats = query_formats,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static const AVFilterPad avfilter_vf_copy_outputs[]
Definition: vf_copy.c:71
static const AVFilterPad avfilter_vf_copy_inputs[]
Definition: vf_copy.c:62
static int query_formats(AVFilterContext *ctx)
Definition: vf_copy.c:30

Definition at line 79 of file vf_copy.c.