FFmpeg
|
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/eval.h"
#include "libavutil/ffmath.h"
#include "libavutil/float_dsp.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/replaygain.h"
#include "audio.h"
#include "avfilter.h"
#include "filters.h"
#include "formats.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 | T AV_OPT_FLAG_RUNTIME_PARAM |
Functions | |
AVFILTER_DEFINE_CLASS (volume) | |
static int | set_expr (AVExpr **pexpr, const char *expr, void *log_ctx) |
static av_cold int | init (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
static int | query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) |
static void | scale_samples_u8 (uint8_t *dst, const uint8_t *src, int nb_samples, int volume) |
static void | scale_samples_u8_small (uint8_t *dst, const uint8_t *src, int nb_samples, int volume) |
static void | scale_samples_s16 (uint8_t *dst, const uint8_t *src, int nb_samples, int volume) |
static void | scale_samples_s16_small (uint8_t *dst, const uint8_t *src, int nb_samples, int volume) |
static void | scale_samples_s32 (uint8_t *dst, const uint8_t *src, int nb_samples, int volume) |
static av_cold void | volume_init (VolumeContext *vol) |
static int | set_volume (AVFilterContext *ctx) |
static int | config_output (AVFilterLink *outlink) |
static int | process_command (AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *buf) |
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 [] |
const AVFilter | ff_af_volume |
audio volume filter
Definition in file af_volume.c.
#define OFFSET | ( | x | ) | offsetof(VolumeContext, x) |
Definition at line 64 of file af_volume.c.
#define A AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 65 of file af_volume.c.
#define F AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 66 of file af_volume.c.
#define T AV_OPT_FLAG_RUNTIME_PARAM |
Definition at line 67 of file af_volume.c.
AVFILTER_DEFINE_CLASS | ( | volume | ) |
|
static |
Definition at line 95 of file af_volume.c.
Referenced by init(), and process_command().
|
static |
Definition at line 115 of file af_volume.c.
|
static |
Definition at line 126 of file af_volume.c.
|
static |
Definition at line 133 of file af_volume.c.
|
inlinestatic |
Definition at line 168 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 176 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 184 of file af_volume.c.
Referenced by config_output(), and volume_init().
|
inlinestatic |
Definition at line 194 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 204 of file af_volume.c.
Referenced by config_output(), and volume_init().
|
static |
Definition at line 214 of file af_volume.c.
Referenced by filter_frame(), and set_volume().
|
static |
Definition at line 247 of file af_volume.c.
Referenced by config_output(), filter_frame(), and process_command().
|
static |
Definition at line 279 of file af_volume.c.
|
static |
Definition at line 313 of file af_volume.c.
|
static |
Definition at line 329 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 69 of file af_volume.c.
|
static |
Definition at line 458 of file af_volume.c.
|
static |
Definition at line 466 of file af_volume.c.
const AVFilter ff_af_volume |
Definition at line 474 of file af_volume.c.