Home
last modified time | relevance | path

Searched refs:relative_threshold (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavfilter/
Debur128.c515 double *relative_threshold) in FF_EBUR128_ADD_FRAMES()
519 *relative_threshold = 0.0; in FF_EBUR128_ADD_FRAMES()
524 *relative_threshold += block_energy_histogram[j] * histogram_energies[j]; in FF_EBUR128_ADD_FRAMES()
530 *relative_threshold /= (double)above_thresh_counter; in FF_EBUR128_ADD_FRAMES()
531 *relative_threshold *= RELATIVE_GATE_FACTOR; in FF_EBUR128_ADD_FRAMES()
541 double relative_threshold; in ebur128_gated_loudness() local
549 if (!ebur128_calc_relative_threshold(sts, size, &relative_threshold)) { in ebur128_gated_loudness()
555 if (relative_threshold < histogram_energy_boundaries[0]) { in ebur128_gated_loudness()
558 start_index = find_histogram_index(relative_threshold); in ebur128_gated_loudness()
559 if (relative_threshold > histogram_energies[start_index]) { in ebur128_gated_loudness()
[all …]
Df_ebur128.c561 double relative_threshold; in gate_update() local
571 relative_threshold = integ->sum_kept_powers / integ->nb_kept_powers; in gate_update()
572 if (!relative_threshold) in gate_update()
573 relative_threshold = 1e-12; in gate_update()
574 integ->rel_threshold = LOUDNESS(relative_threshold) + gate_thres; in gate_update()
Daf_loudnorm.c421 global, shortterm, lra, relative_threshold; in filter_frame() local
546 ff_ebur128_relative_threshold(s->r128_in, &relative_threshold); in filter_frame()
559 if (shortterm < relative_threshold || shortterm <= -70. || s->above_threshold == 0) { in filter_frame()