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

Functions

int32_t tpt_rfft_tmp_buffer_size (tpt_math_target_arch arch, tpt_math_datatype dt, uint32_t nb_samples, uint32_t buf_id)
 Calculate required length for the temporary buffer for both RFFT and RIFFT.
int32_t tpt_rfft_output_buffer_size (tpt_math_target_arch arch, tpt_math_datatype dt, uint32_t nb_samples)
 Calculate required length for the output buffer.
int32_t tpt_rifft_input_buffer_size (tpt_math_target_arch arch, tpt_math_datatype dt, uint32_t nb_samples)
 Calculate required length for the input buffer.

Detailed Description

end of CFFTBuffers group

Function Documentation

◆ tpt_rfft_output_buffer_size()

int32_t tpt_rfft_output_buffer_size ( tpt_math_target_arch arch,
tpt_math_datatype dt,
uint32_t nb_samples )

Calculate required length for the output buffer.

Parameters
[in]archTarget architecture identification
[in]dtData type of the input data
[in]nb_samplesNumber of samples in the input data
Returns
Length in datatype elements (real numbers) for the output buffer
Note
0 means not applicable (temporary buffer not needed)
-1 means error : configuration not supported

◆ tpt_rfft_tmp_buffer_size()

int32_t tpt_rfft_tmp_buffer_size ( tpt_math_target_arch arch,
tpt_math_datatype dt,
uint32_t nb_samples,
uint32_t buf_id )

Calculate required length for the temporary buffer for both RFFT and RIFFT.

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
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

◆ tpt_rifft_input_buffer_size()

int32_t tpt_rifft_input_buffer_size ( tpt_math_target_arch arch,
tpt_math_datatype dt,
uint32_t nb_samples )

Calculate required length for the input buffer.

Parameters
[in]archTarget architecture identification
[in]dtData type of the input data
[in]nb_samplesRFFT length in samples
Returns
Length in datatype elements (real numbers) for the input buffer
Note
0 means not applicable (temporary buffer not needed)
-1 means error : configuration not supported