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

Go to the source code of this file.

Functions

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

Variables

static const AVFilterPad acopy_inputs []
 
static const AVFilterPad acopy_outputs []
 
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.

◆ acopy_outputs

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

Definition at line 56 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 63 of file af_acopy.c.

AVMEDIA_TYPE_AUDIO
@ AVMEDIA_TYPE_AUDIO
Definition: avutil.h:202
FILTER_INPUTS
#define FILTER_INPUTS(array)
Definition: internal.h:191
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:117
acopy_outputs
static const AVFilterPad acopy_outputs[]
Definition: af_acopy.c:56
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:137
FILTER_OUTPUTS
#define FILTER_OUTPUTS(array)
Definition: internal.h:192