Skip to content

function kfr_dft_get_temp_size_f32(KFR_DFT_PLAN_F32 *) capi

size_t kfr_dft_get_temp_size_f32(KFR_DFT_PLAN_F32* plan)

Get temporary (scratch) buffer size for DFT plan.

Parameters
plan Pointer to the DFT plan.
Returns
Temporary buffer size in bytes.

Note

Preallocating a byte buffer of the returned size and passing its pointer to the kfr_dft_execute_f** and kfr_dft_execute_inverse_f** functions may improve performance.

Defined at capi.h:299