FFmpeg
|
af_resample.c File Reference
sample format and channel layout conversion audio filter More...
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavresample/avresample.h"
#include "audio.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
Include dependency graph for af_resample.c:
Go to the source code of this file.
Data Structures | |
struct | ResampleContext |
Typedefs | |
typedef struct ResampleContext | ResampleContext |
Functions | |
static av_cold int | init (AVFilterContext *ctx, AVDictionary **opts) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static int | request_frame (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *in) |
static const AVClass * | resample_child_class_next (const AVClass *prev) |
static void * | resample_child_next (void *obj, void *prev) |
Variables | |
static const AVClass | resample_class |
static const AVFilterPad | avfilter_af_resample_inputs [] |
static const AVFilterPad | avfilter_af_resample_outputs [] |
AVFilter | avfilter_af_resample |
Detailed Description
sample format and channel layout conversion audio filter
Definition in file af_resample.c.
Typedef Documentation
typedef struct ResampleContext ResampleContext |
Function Documentation
|
static |
Definition at line 112 of file af_resample.c.
|
static |
Definition at line 209 of file af_resample.c.
|
static |
Definition at line 50 of file af_resample.c.
|
static |
Definition at line 88 of file af_resample.c.
|
static |
Definition at line 170 of file af_resample.c.
Definition at line 280 of file af_resample.c.
Definition at line 285 of file af_resample.c.
|
static |
Definition at line 77 of file af_resample.c.
Variable Documentation
AVFilter avfilter_af_resample |
Initial value:
= {
.name = "resample",
.description = NULL_IF_CONFIG_SMALL("Audio resampling and conversion."),
.priv_size = sizeof(ResampleContext),
.priv_class = &resample_class,
}
static const AVFilterPad avfilter_af_resample_outputs[]
Definition: af_resample.c:308
struct ResampleContext ResampleContext
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static av_cold int init_dict(AVFilterContext *ctx, AVDictionary **opts)
Definition: af_aresample.c:46
static const AVFilterPad avfilter_af_resample_inputs[]
Definition: af_resample.c:299
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 318 of file af_resample.c.
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.filter_frame = filter_frame,
},
{ NULL }
}
Definition: avutil.h:144
Definition at line 299 of file af_resample.c.
|
static |
Initial value:
= {
{
.name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.config_props = config_output,
.request_frame = request_frame
},
{ NULL }
}
Definition: avutil.h:144
Definition at line 308 of file af_resample.c.
|
static |
Initial value:
= {
.class_name = "resample",
.item_name = av_default_item_name,
.version = LIBAVUTIL_VERSION_INT,
.child_class_next = resample_child_class_next,
}
void *(* child_next)(void *obj, void *prev)
Return next AVOptions-enabled child or NULL.
Definition: log.h:96
static void * resample_child_next(void *obj, void *prev)
Definition: af_resample.c:285
static const AVClass * resample_child_class_next(const AVClass *prev)
Definition: af_resample.c:280
Definition at line 291 of file af_resample.c.
Generated on Mon Nov 18 2024 06:52:04 for FFmpeg by 1.8.11