FFmpeg
Functions | Variables
vf_copy.c File Reference
#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 []
 
const 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 42 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 }
}

Definition at line 67 of file vf_copy.c.

◆ avfilter_vf_copy_outputs

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

Definition at line 76 of file vf_copy.c.

◆ ff_vf_copy

const 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,
}

Definition at line 84 of file vf_copy.c.

query_formats
static int query_formats(AVFilterContext *ctx)
Definition: vf_copy.c:30
filter_frame
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: vf_copy.c:42
NULL
#define NULL
Definition: coverity.c:32
avfilter_vf_copy_inputs
static const AVFilterPad avfilter_vf_copy_inputs[]
Definition: vf_copy.c:67
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:117
avfilter_vf_copy_outputs
static const AVFilterPad avfilter_vf_copy_outputs[]
Definition: vf_copy.c:76
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201