Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Audio: Optimize mel filterbank computation
This check-in optimizes the mel filterbank generation function by precomputing mel values for each FFT frequency ahead of the main processing loop. By calculating the psy_hz_to_mel conversions once for each required frequency and storing these values in fb->scratch_data1, we avoid redundant computations within the core loops for filter bank coefficient calculation. This optimization reduces computational overhead, especially beneficial for large FFT bin sizes. The aim is to enhance execution efficiency of the mel filterbank generation without altering its functional output. Impact: - Decreased computation load and execution time during filterbank creation. - Maintained functional behavior, ensuring performance gains do not compromise accuracy or result integrity. Signed-off-by: Shriram Shastry <[email protected]>
- Loading branch information