Skip to content

function kfr_dct_get_temp_size_f32(KFR_DCT_PLAN_F32 *) capi

size_t kfr_dct_get_temp_size_f32(KFR_DCT_PLAN_F32* plan)

Get temporary (scratch) buffer size for DCT plan.

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

Note

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

Defined at capi.h:565