#include <float.h>
#include "libavutil/opt.h"
#include "audio.h"
#include "avfilter.h"
#include "internal.h"
Go to the source code of this file.
|
| AVFILTER_DEFINE_CLASS (astats) |
|
static int | query_formats (AVFilterContext *ctx) |
|
static void | reset_stats (AudioStatsContext *s) |
|
static int | config_output (AVFilterLink *outlink) |
|
static void | bit_depth (AudioStatsContext *s, uint64_t mask, uint64_t imask, AVRational *depth) |
|
static void | update_stat (AudioStatsContext *s, ChannelStats *p, double d, double nd, int64_t i) |
|
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) |
|
#define LINEAR_TO_DB |
( |
|
x | ) |
(log10(x) * 20) |
AVFILTER_DEFINE_CLASS |
( |
astats |
| ) |
|
Definition at line 152 of file af_astats.c.
Referenced by check_idct(), check_ipred(), check_itxfm(), check_loopfilter(), check_mc(), checkasm_check_h264pred(), checkasm_check_h264qpel(), checkasm_check_hevc_add_res(), checkasm_check_hevc_idct(), dnxhd_calc_bits_thread(), dnxhd_init_vlc(), ff_bwdif_init_x86(), ff_get_qtpalette(), ff_isom_write_vpcc(), ff_yadif_init_x86(), hl_decode_mb(), hl_decode_mb_444(), matroska_parse_tracks(), mkv_write_track(), print_stats(), randomize_loopfilter_buffers(), and set_metadata().
static void set_meta |
( |
AVDictionary ** |
metadata, |
|
|
int |
chan, |
|
|
const char * |
key, |
|
|
const char * |
fmt, |
|
|
double |
val |
|
) |
| |
|
static |
Initial value:= {
{
.name = "default",
},
}
static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
Definition at line 520 of file af_astats.c.
Initial value:= {
{
.name = "default",
},
}
static int config_output(AVFilterLink *outlink)
Definition at line 529 of file af_astats.c.
Initial value:= {
.name = "astats",
.priv_class = &astats_class,
}
static int query_formats(AVFilterContext *ctx)
static const AVFilterPad astats_inputs[]
static av_cold void uninit(AVFilterContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVFilterPad outputs[]
static const AVFilterPad inputs[]
static const AVFilterPad astats_outputs[]
Definition at line 538 of file af_astats.c.