Skip to content

function kfr_dct_get_temp_size_f32(KFR_DCT_PLAN_F32 *) capi

__declspec(dllimport)
#endif
#else
#ifdef KFR_BUILDING_DLL
#define KFR_API_SPEC KFR_CDECL attribute((visibility("default")))
#else
#define KFR_API_SPEC KFR_CDECL
#endif
#endif

#ifdef __cplusplus
extern "C" { … }

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