|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< double > MayaFlux::Yantra::compute_dynamic_range_energy | ( | std::span< const double > | data, |
| const size_t | num_windows, | ||
| const uint32_t | hop_size, | ||
| const uint32_t | window_size | ||
| ) |
Compute dynamic range energy using zero-copy processing.
This function computes the dynamic range energy for a given data span. It calculates the maximum and minimum absolute values in each window, then computes the dynamic range in decibels.
| data | Input data span |
| num_windows | Number of windows to process |
| hop_size | Hop size for windowing |
| window_size | Size of each window |
Definition at line 11 of file AnalysisHelper.cpp.
Referenced by MayaFlux::Yantra::EnergyAnalyzer< InputType, OutputType >::compute_energy_values().
Here is the caller graph for this function: