LIBDSP Version 4.1.9
LIBDSP Software Library
Loading...
Searching...
No Matches
Collaboration diagram for Buffer Sizes for MFCC:

Functions

int32_t tpt_mfcc_tmp_buffer_size (tpt_math_target_arch arch, tpt_math_datatype dt, uint32_t nb_samples, uint32_t buf_id, uint32_t use_cfft)
 Calculate required length for the temporary buffer.

Detailed Description

end of RFFTBuffers group

Function Documentation

◆ tpt_mfcc_tmp_buffer_size()

int32_t tpt_mfcc_tmp_buffer_size ( tpt_math_target_arch arch,
tpt_math_datatype dt,
uint32_t nb_samples,
uint32_t buf_id,
uint32_t use_cfft )

Calculate required length for the temporary buffer.

Parameters
[in]archTarget architecture identification
[in]dtData type of the input data
[in]nb_samplesNumber of samples in the input data
[in]buf_idIdentification for the temporary buffer
[in]use_cfft1 if implementastion uses CFFT, 0 if RFFT
Returns
Length in datatype elements (real numbers) for the temporary buffer
Note
0 means not applicable (temporary buffer not needed)
-1 means error : configuration not supported
The define TPT_MFCC_USE_CFFT can be checked to know the current MFCC mode (CFFT or RFFT) for the build