FFmpeg
|
audio volume filter More...
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/eval.h"
#include "libavutil/float_dsp.h"
#include "libavutil/opt.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 |
Functions | |
AVFILTER_DEFINE_CLASS (volume) | |
static av_cold int | init (AVFilterContext *ctx) |
static int | query_formats (AVFilterContext *ctx) |
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 | config_output (AVFilterLink *outlink) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *buf) |
Variables | |
static const char * | precision_str [] |
static const AVOption | volume_options [] |
static const AVFilterPad | avfilter_af_volume_inputs [] |
static const AVFilterPad | avfilter_af_volume_outputs [] |
AVFilter | avfilter_af_volume |
audio volume filter
Definition in file af_volume.c.
#define OFFSET | ( | x | ) | offsetof(VolumeContext, x) |
Definition at line 42 of file af_volume.c.
#define A AV_OPT_FLAG_AUDIO_PARAM |
Definition at line 43 of file af_volume.c.
#define F AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 44 of file af_volume.c.
AVFILTER_DEFINE_CLASS | ( | volume | ) |
|
static |
Definition at line 59 of file af_volume.c.
|
static |
Definition at line 77 of file af_volume.c.
|
inlinestatic |
Definition at line 122 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 130 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 138 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 148 of file af_volume.c.
Referenced by volume_init().
|
inlinestatic |
Definition at line 158 of file af_volume.c.
Referenced by volume_init().
|
static |
Definition at line 168 of file af_volume.c.
Referenced by config_output().
|
static |
Definition at line 202 of file af_volume.c.
|
static |
Definition at line 217 of file af_volume.c.
|
static |
Definition at line 38 of file af_volume.c.
Referenced by init().
|
static |
Definition at line 46 of file af_volume.c.
|
static |
Definition at line 272 of file af_volume.c.
|
static |
Definition at line 281 of file af_volume.c.
AVFilter avfilter_af_volume |
Definition at line 290 of file af_volume.c.