CMSIS-DSP  
CMSIS DSP Software Library
 
Loading...
Searching...
No Matches

Functions

int32_t arm_mfcc_tmp_buffer_size (arm_math_target_arch arch, arm_math_datatype dt, uint32_t nb_samples, uint32_t buf_id, uint32_t use_cfft)
 Calculate required length for the temporary buffer.
 

Description

end of RFFTBuffers group

Function Documentation

◆ arm_mfcc_tmp_buffer_size()

int32_t arm_mfcc_tmp_buffer_size ( arm_math_target_arch  arch,
arm_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 ARM_MFCC_USE_CFFT can be checked to know the current MFCC mode (CFFT or RFFT) for the build