#include "libavutil/opt.h"
#include "avfilter.h"
#include "filters.h"
#include "formats.h"
Go to the source code of this file.
|
| #define | CONTEXT ASetRateContext |
| |
| #define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
| |
| #define | OPT_GENERIC(name, field, def, min, max, descr, type, deffield, ...) |
| |
| #define | OPT_INT(name, field, def, min, max, descr, ...) |
| |
◆ CONTEXT
◆ FLAGS
◆ OPT_GENERIC
| #define OPT_GENERIC |
( |
| name, |
|
|
| field, |
|
|
| def, |
|
|
| min, |
|
|
| max, |
|
|
| descr, |
|
|
| type, |
|
|
| deffield, |
|
|
| ... ) |
◆ OPT_INT
| #define OPT_INT |
( |
| name, |
|
|
| field, |
|
|
| def, |
|
|
| min, |
|
|
| max, |
|
|
| descr, |
|
|
| ... ) |
Value:
#define OPT_GENERIC(name, field, def, min, max, descr, type, deffield,...)
Definition at line 39 of file af_asetrate.c.
◆ AVFILTER_DEFINE_CLASS()
| AVFILTER_DEFINE_CLASS |
( |
asetrate | | ) |
|
◆ query_formats()
◆ config_props()
◆ filter_frame()
◆ asetrate_options
Initial value:= {
OPT_INT(
"sample_rate", sample_rate, 44100, 1, INT_MAX,
"set the sample rate",),
OPT_INT(
"r", sample_rate, 44100, 1, INT_MAX,
"set the sample rate",),
}
#define OPT_INT(name, field, def, min, max, descr,...)
Definition at line 42 of file af_asetrate.c.
◆ asetrate_inputs
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(DBEDecodeContext *s, AVFrame *frame)
Definition at line 98 of file af_asetrate.c.
◆ asetrate_outputs
Initial value:= {
{
.name = "default",
},
}
static int config_props(AVBitStreamFilterLink *link)
Definition at line 106 of file af_asetrate.c.
◆ ff_af_asetrate
Initial value:= {
.p.name = "asetrate",
"altering the data."),
.p.priv_class = &asetrate_class,
}
static int query_formats(const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out)
static const AVFilterPad asetrate_inputs[]
static const AVFilterPad asetrate_outputs[]
#define AVFILTER_FLAG_METADATA_ONLY
The filter is a "metadata" filter - it does not modify the frame data in any way.
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FILTER_QUERY_FUNC2(func)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition at line 114 of file af_asetrate.c.