FFmpeg
Functions | Variables
af_acopy.c File Reference
#include "audio.h"
#include "avfilter.h"
#include "filters.h"

Go to the source code of this file.

Functions

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

Variables

static const AVFilterPad acopy_inputs []
 
const AVFilter ff_af_acopy
 

Function Documentation

◆ filter_frame()

static int filter_frame ( AVFilterLink inlink,
AVFrame in 
)
static

Definition at line 23 of file af_acopy.c.

Variable Documentation

◆ acopy_inputs

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

Definition at line 48 of file af_acopy.c.

◆ ff_af_acopy

const AVFilter ff_af_acopy
Initial value:
= {
.name = "acopy",
.description = NULL_IF_CONFIG_SMALL("Copy the input audio unchanged to the output."),
}

Definition at line 56 of file af_acopy.c.

FILTER_INPUTS
#define FILTER_INPUTS(array)
Definition: filters.h:262
AVMEDIA_TYPE_AUDIO
@ AVMEDIA_TYPE_AUDIO
Definition: avutil.h:202
FILTER_OUTPUTS
#define FILTER_OUTPUTS(array)
Definition: filters.h:263
ff_audio_default_filterpad
const AVFilterPad ff_audio_default_filterpad[1]
An AVFilterPad array whose only entry has name "default" and is of type AVMEDIA_TYPE_AUDIO.
Definition: audio.c:34
filter_frame
static int filter_frame(AVFilterLink *inlink, AVFrame *in)
Definition: af_acopy.c:23
acopy_inputs
static const AVFilterPad acopy_inputs[]
Definition: af_acopy.c:48
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:94
AVFILTER_FLAG_METADATA_ONLY
#define AVFILTER_FLAG_METADATA_ONLY
The filter is a "metadata" filter - it does not modify the frame data in any way.
Definition: avfilter.h:168