|
FFmpeg
|
#include <float.h>#include <math.h>#include "libavutil/mem.h"#include "libavutil/opt.h"#include "audio.h"#include "avfilter.h"#include "filters.h"Go to the source code of this file.
Data Structures | |
| struct | ChannelStats |
| struct | AudioStatsContext |
Variables | |
| static const AVOption | astats_options [] |
| static const AVFilterPad | astats_inputs [] |
| static const AVFilterPad | astats_outputs [] |
| const FFFilter | ff_af_astats |
| #define HISTOGRAM_SIZE 8192 |
Definition at line 31 of file af_astats.c.
Referenced by calc_entropy().
| #define HISTOGRAM_MAX (HISTOGRAM_SIZE-1) |
Definition at line 32 of file af_astats.c.
Referenced by update_stat().
| #define MEASURE_ALL UINT_MAX |
Definition at line 34 of file af_astats.c.
| #define MEASURE_NONE 0 |
Definition at line 35 of file af_astats.c.
| #define MEASURE_DC_OFFSET (1 << 0) |
Definition at line 37 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_MIN_LEVEL (1 << 1) |
Definition at line 38 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_MAX_LEVEL (1 << 2) |
Definition at line 39 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_MIN_DIFFERENCE (1 << 3) |
Definition at line 40 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_MAX_DIFFERENCE (1 << 4) |
Definition at line 41 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_MEAN_DIFFERENCE (1 << 5) |
Definition at line 42 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_RMS_DIFFERENCE (1 << 6) |
Definition at line 43 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_PEAK_LEVEL (1 << 7) |
Definition at line 44 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_RMS_LEVEL (1 << 8) |
Definition at line 45 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_RMS_PEAK (1 << 9) |
Definition at line 46 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_RMS_TROUGH (1 << 10) |
Definition at line 47 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_CREST_FACTOR (1 << 11) |
Definition at line 48 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_FLAT_FACTOR (1 << 12) |
Definition at line 49 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_PEAK_COUNT (1 << 13) |
Definition at line 50 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_BIT_DEPTH (1 << 14) |
Definition at line 51 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_DYNAMIC_RANGE (1 << 15) |
Definition at line 52 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_ZERO_CROSSINGS (1 << 16) |
Definition at line 53 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_ZERO_CROSSINGS_RATE (1 << 17) |
Definition at line 54 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_NUMBER_OF_SAMPLES (1 << 18) |
Definition at line 55 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_NUMBER_OF_NANS (1 << 19) |
Definition at line 56 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_NUMBER_OF_INFS (1 << 20) |
Definition at line 57 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_NUMBER_OF_DENORMALS (1 << 21) |
Definition at line 58 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_NOISE_FLOOR (1 << 22) |
Definition at line 59 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_NOISE_FLOOR_COUNT (1 << 23) |
Definition at line 60 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_ENTROPY (1 << 24) |
Definition at line 61 of file af_astats.c.
| #define MEASURE_ABS_PEAK_COUNT (1 << 25) |
Definition at line 62 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define MEASURE_MINMAXPEAK (MEASURE_MIN_LEVEL | MEASURE_MAX_LEVEL | MEASURE_PEAK_LEVEL) |
Definition at line 64 of file af_astats.c.
| #define OFFSET | ( | x | ) |
Definition at line 119 of file af_astats.c.
| #define FLAGS AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 120 of file af_astats.c.
| #define LINEAR_TO_DB | ( | x | ) |
Definition at line 477 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
| #define UPDATE_STATS_P | ( | type, | |
| update_func, | |||
| update_float, | |||
| channel_func ) |
Definition at line 648 of file af_astats.c.
| #define UPDATE_STATS_I | ( | type, | |
| update_func, | |||
| update_float, | |||
| channel_func ) |
Definition at line 660 of file af_astats.c.
Definition at line 672 of file af_astats.c.
Referenced by filter_channel().
| AVFILTER_DEFINE_CLASS | ( | astats | ) |
|
static |
Definition at line 161 of file af_astats.c.
Referenced by config_output(), and filter_frame().
|
static |
Definition at line 209 of file af_astats.c.
|
static |
Definition at line 246 of file af_astats.c.
Referenced by amf_encode_init_av1(), amf_encode_init_hevc(), apv_decode_block(), apv_decode_check_format(), apv_decode_tile_component(), apv_decode_transquant_c(), calc_squared_error_and_weight(), check_add_res(), check_alf_classify(), check_alf_filter(), check_avg(), check_bdof(), check_chrConvertRange(), check_chroma_mc(), check_deblock_chroma(), check_deblock_luma(), check_decode_transquant_10(), check_dequant(), check_dmvr(), check_idct(), check_idct(), check_idct_dc(), check_idct_dequant(), check_idct_multiple(), check_ipred(), check_itxfm(), check_loop_filter(), check_loop_filter_intra(), check_loopfilter(), check_lumConvertRange(), check_mc(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_pred_angular(), check_pred_dc(), check_pred_planar(), check_put_vvc_chroma(), check_put_vvc_chroma_uni(), check_put_vvc_luma(), check_put_vvc_luma_uni(), check_ref_filter_3tap(), check_ref_filter_strong(), check_sao_band(), check_sao_band(), check_sao_edge(), check_sao_edge(), check_transform_luma(), check_vvc_sad(), check_yuv2yuvX(), checkasm_check_h264pred(), checkasm_check_h264qpel(), checkasm_check_hevc_add_res(), checkasm_check_hevc_deblock(), checkasm_check_hevc_dequant(), checkasm_check_hevc_epel(), checkasm_check_hevc_epel_bi(), checkasm_check_hevc_epel_bi_w(), checkasm_check_hevc_epel_uni(), checkasm_check_hevc_epel_uni_w(), checkasm_check_hevc_idct(), checkasm_check_hevc_pred(), checkasm_check_hevc_qpel(), checkasm_check_hevc_qpel_bi(), checkasm_check_hevc_qpel_bi_w(), checkasm_check_hevc_qpel_uni(), checkasm_check_hevc_qpel_uni_w(), checkasm_check_hevc_sao(), checkasm_check_vvc_alf(), checkasm_check_vvc_sao(), copy_subcoefs(), cuvid_test_capabilities(), dct4x4_impl(), dct8x8(), dnxhd_calc_bits_thread(), dvdvideo_audio_stream_analyze(), ff_bwdif_init_aarch64(), ff_bwdif_init_filter_line(), ff_bwdif_init_x86(), ff_dnxhd_find_cid(), ff_get_qtpalette(), ff_h264_pred_init(), ff_h264_pred_init_aarch64(), ff_h264_pred_init_arm(), ff_h264_pred_init_loongarch(), ff_h264_pred_init_mips(), ff_h264_pred_init_riscv(), ff_h264_pred_init_x86(), ff_h264chroma_init(), ff_h264chroma_init_aarch64(), ff_h264chroma_init_arm(), ff_h264chroma_init_loongarch(), ff_h264chroma_init_mips(), ff_h264chroma_init_ppc(), ff_h264chroma_init_riscv(), ff_h264chroma_init_x86(), ff_h264dsp_init(), ff_h264dsp_init_aarch64(), ff_h264dsp_init_arm(), ff_h264dsp_init_loongarch(), ff_h264dsp_init_mips(), ff_h264dsp_init_ppc(), ff_h264dsp_init_riscv(), ff_h264dsp_init_x86(), ff_h264qpel_init(), ff_h264qpel_init_aarch64(), ff_h264qpel_init_arm(), ff_h264qpel_init_loongarch(), ff_h264qpel_init_mips(), ff_h264qpel_init_ppc(), ff_h264qpel_init_riscv(), ff_h264qpel_init_x86(), ff_hevc_dsp_init(), ff_hevc_dsp_init_aarch64(), ff_hevc_dsp_init_arm(), ff_hevc_dsp_init_loongarch(), ff_hevc_dsp_init_mips(), ff_hevc_dsp_init_neon(), ff_hevc_dsp_init_ppc(), ff_hevc_dsp_init_riscv(), ff_hevc_dsp_init_wasm(), ff_hevc_dsp_init_x86(), ff_hevc_parse_sps(), ff_hevc_pred_init(), ff_hevc_pred_init_aarch64(), ff_hevc_pred_init_mips(), ff_hevc_sao_offset_abs_decode(), ff_hw_base_encode_init_params_h264(), ff_hw_base_encode_init_params_h265(), ff_isom_get_vpcc_features(), ff_isom_parse_apvc(), ff_spatial_idwt_init(), ff_vvc_dsp_init(), ff_vvc_ep_init_stat_coeff(), ff_vvc_new_palette_entries(), ff_yadif_init_x86(), ftx(), get_sw_pixel_format(), get_vt_hevc_profile_level(), h264_pred_init_neon(), h264_pred_init_neon(), h264dsp_init_neon(), hl_decode_mb(), hl_decode_mb_444(), idct_16x16(), idct_32x32(), idct_4x4(), idct_8x8(), init_range_convert_constants(), jpegxl_get_bit_depth(), lmcs_derive_lut(), mkv_write_track(), parse(), parse_bitstream(), parse_nal_unit(), parse_nal_unit(), pps_scc_extension(), pps_scc_extension(), PRED4x4(), PRED8x8(), print_stats(), profile_is_compatible(), randomize_buffers(), randomize_loopfilter_buffers(), randomize_luma_buffers(), set_metadata(), sps_scc_extension(), vaapi_av1_get_bit_depth_idx(), write_nalu(), and xavs2_init().
|
static |
Definition at line 270 of file af_astats.c.
Referenced by print_stats(), and set_metadata().
|
static |
Definition at line 284 of file af_astats.c.
Referenced by update_stat().
|
inlinestatic |
Definition at line 341 of file af_astats.c.
|
inlinestatic |
Definition at line 349 of file af_astats.c.
|
inlinestatic |
Definition at line 445 of file af_astats.c.
|
inlinestatic |
Definition at line 454 of file af_astats.c.
|
static |
Definition at line 463 of file af_astats.c.
Referenced by set_metadata().
|
static |
Definition at line 479 of file af_astats.c.
Referenced by filter_frame().
|
static |
Definition at line 679 of file af_astats.c.
|
static |
Definition at line 726 of file af_astats.c.
|
static |
Definition at line 751 of file af_astats.c.
|
static |
Definition at line 926 of file af_astats.c.
|
static |
Definition at line 122 of file af_astats.c.
|
static |
Definition at line 943 of file af_astats.c.
|
static |
Definition at line 951 of file af_astats.c.
| const FFFilter ff_af_astats |
Definition at line 959 of file af_astats.c.