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

Functions

int32_t tpt_cfft_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.
int32_t tpt_cfft_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_cifft_output_buffer_size (tpt_math_target_arch arch, tpt_math_datatype dt, uint32_t nb_samples)
 Calculate required length for the output buffer.

Detailed Description

Function Documentation

◆ tpt_cfft_output_buffer_size()

int32_t tpt_cfft_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_cfft_tmp_buffer_size()

int32_t tpt_cfft_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.

Parameters
[in]archTarget architecture identification
[in]dtData type of the input data
[in]nb_samplesNumber of samples
[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_cifft_output_buffer_size()

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