FFmpeg
4.0
|
audio volume filter More...
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/eval.h"
#include "libavutil/ffmath.h"
#include "libavutil/float_dsp.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "libavutil/replaygain.h"
#include "audio.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "af_volume.h"
Go to the source code of this file.
Macros | |
#define | OFFSET(x) offsetof(VolumeContext, x) |
#define | A AV_OPT_FLAG_AUDIO_PARAM |
#define | F AV_OPT_FLAG_FILTERING_PARAM |
#define | D2TS(d) (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
#define | TS2D(ts) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
#define | TS2T(ts, tb) ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb)) |
Variables | |
static const char *const | precision_str [] |
static const char *const | var_names [] |
static const AVOption | volume_options [] |
static const AVFilterPad | avfilter_af_volume_inputs [] |
static const AVFilterPad | avfilter_af_volume_outputs [] |
AVFilter | ff_af_volume |
audio volume filter
Definition in file af_volume.c.
#define OFFSET | ( | x | ) | offsetof(VolumeContext, x) |
Definition at line 62 of file af_volume.c.
#define A AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 63 of file af_volume.c.
#define F AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 64 of file af_volume.c.
#define D2TS | ( | d | ) | (isnan(d) ? AV_NOPTS_VALUE : (int64_t)(d)) |
Definition at line 337 of file af_volume.c.
#define TS2D | ( | ts | ) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)) |
Definition at line 338 of file af_volume.c.
Referenced by filter_frame().
#define TS2T | ( | ts, | |
tb | |||
) | ((ts) == AV_NOPTS_VALUE ? NAN : (double)(ts)*av_q2d(tb)) |
Definition at line 339 of file af_volume.c.
Referenced by filter_frame().
AVFILTER_DEFINE_CLASS | ( | volume | ) |
Definition at line 92 of file af_volume.c.
Referenced by init(), and process_command().
|
static |
Definition at line 112 of file af_volume.c.
|
static |
Definition at line 123 of file af_volume.c.
|
static |
Definition at line 131 of file af_volume.c.
|
inlinestatic |
Definition at line 179 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 187 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 195 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 205 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 215 of file af_volume.c.
Referenced by volume_init().
|
static |
Definition at line 225 of file af_volume.c.
Referenced by filter_frame(), and set_volume().
|
static |
Definition at line 257 of file af_volume.c.
Referenced by config_output(), filter_frame(), and process_command().
|
static |
Definition at line 289 of file af_volume.c.
|
static |
Definition at line 321 of file af_volume.c.
|
static |
Definition at line 341 of file af_volume.c.
|
static |
Definition at line 42 of file af_volume.c.
Referenced by set_volume().
|
static |
Definition at line 46 of file af_volume.c.
Referenced by set_expr().
|
static |
Definition at line 66 of file af_volume.c.
|
static |
Definition at line 465 of file af_volume.c.
|
static |
Definition at line 474 of file af_volume.c.
AVFilter ff_af_volume |
Definition at line 483 of file af_volume.c.