FFmpeg
|
af_aconvert.c File Reference
sample format and channel layout conversion audio filter More...
#include "libavutil/avstring.h"
#include "libavutil/channel_layout.h"
#include "libswresample/swresample.h"
#include "avfilter.h"
#include "audio.h"
#include "internal.h"
Include dependency graph for af_aconvert.c:
Go to the source code of this file.
Data Structures | |
struct | AConvertContext |
Functions | |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *insamplesref) |
Variables | |
static const AVFilterPad | aconvert_inputs [] |
static const AVFilterPad | aconvert_outputs [] |
AVFilter | avfilter_af_aconvert |
Detailed Description
sample format and channel layout conversion audio filter
Definition in file af_aconvert.c.
Function Documentation
|
static |
Definition at line 104 of file af_aconvert.c.
|
static |
Definition at line 140 of file af_aconvert.c.
Referenced by exit_program(), ff_filter_frame(), and ff_filter_frame_framed().
|
static |
Definition at line 41 of file af_aconvert.c.
|
static |
Definition at line 73 of file af_aconvert.c.
Referenced by movie_request_frame(), and request_frame().
|
static |
Definition at line 67 of file af_aconvert.c.
Variable Documentation
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.filter_frame = filter_frame,
},
{ NULL }
}
Definition: avutil.h:144
static int filter_frame(AVFilterLink *inlink, AVFrame *insamplesref)
Definition: af_aconvert.c:140
Definition at line 162 of file af_aconvert.c.
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.config_props = config_output,
},
{ NULL }
}
Definition: avutil.h:144
Definition at line 171 of file af_aconvert.c.
AVFilter avfilter_af_aconvert |
Initial value:
= {
.name = "aconvert",
.description = NULL_IF_CONFIG_SMALL("Convert the input audio to sample_fmt:channel_layout."),
.priv_size = sizeof(AConvertContext),
}
Definition: af_aconvert.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several inputs
Definition: filter_design.txt:216
Definition at line 180 of file af_aconvert.c.
Generated on Mon Nov 18 2024 06:52:04 for FFmpeg by 1.8.11