FFmpeg
|
#include <float.h>
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
Data Structures | |
struct | ChannelStats |
struct | AudioStatsContext |
Macros | |
#define | OFFSET(x) offsetof(AudioStatsContext, x) |
#define | FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | LINEAR_TO_DB(x) (log10(x) * 20) |
Functions | |
AVFILTER_DEFINE_CLASS (astats) | |
static int | query_formats (AVFilterContext *ctx) |
static void | reset_stats (AudioStatsContext *s) |
static int | config_output (AVFilterLink *outlink) |
static unsigned | bit_depth (uint64_t mask) |
static void | update_stat (AudioStatsContext *s, ChannelStats *p, double d) |
static void | set_meta (AVDictionary **metadata, int chan, const char *key, const char *fmt, double val) |
static void | set_metadata (AudioStatsContext *s, AVDictionary **metadata) |
static int | filter_frame (AVFilterLink *inlink, AVFrame *buf) |
static void | print_stats (AVFilterContext *ctx) |
static av_cold void | uninit (AVFilterContext *ctx) |
Variables | |
static const AVOption | astats_options [] |
static const AVFilterPad | astats_inputs [] |
static const AVFilterPad | astats_outputs [] |
AVFilter | ff_af_astats |
#define OFFSET | ( | x | ) | offsetof(AudioStatsContext, x) |
Definition at line 55 of file af_astats.c.
#define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 56 of file af_astats.c.
#define LINEAR_TO_DB | ( | x | ) | (log10(x) * 20) |
Definition at line 193 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
AVFILTER_DEFINE_CLASS | ( | astats | ) |
|
static |
Definition at line 67 of file af_astats.c.
|
static |
Definition at line 97 of file af_astats.c.
Referenced by config_output(), and filter_frame().
|
static |
Definition at line 112 of file af_astats.c.
|
static |
Definition at line 128 of file af_astats.c.
Referenced by checkasm_check_h264pred(), checkasm_check_h264qpel(), dnxhd_encode_init(), dnxhd_init_vlc(), ff_dnxhd_find_cid(), ff_yadif_init_x86(), hl_decode_mb(), hl_decode_mb_444(), matroska_parse_tracks(), mkv_write_track(), print_stats(), and set_metadata().
|
inlinestatic |
Definition at line 137 of file af_astats.c.
Referenced by filter_frame().
|
static |
Definition at line 179 of file af_astats.c.
Referenced by set_metadata().
|
static |
Definition at line 195 of file af_astats.c.
Referenced by filter_frame().
|
static |
Definition at line 264 of file af_astats.c.
|
static |
Definition at line 306 of file af_astats.c.
Referenced by uninit().
|
static |
Definition at line 380 of file af_astats.c.
|
static |
Definition at line 58 of file af_astats.c.
|
static |
Definition at line 389 of file af_astats.c.
|
static |
Definition at line 398 of file af_astats.c.
AVFilter ff_af_astats |
Definition at line 407 of file af_astats.c.