Skip to content

function kfr_dct_execute_f32(KFR_DCT_PLAN_F32 *, kfr_f32 *, const kfr_f32 *, uint8_t *) 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" { … }

Execute DCT-II on in and write the result to out.

Parameters
plan Pointer to the DCT plan.
out Pointer to output data.
in Pointer to input data.
temp Temporary (scratch) buffer. If NULL, scratch buffer of size kfr_dct_get_temp_size_f**(plan) will be allocated on stack or heap.

Note

No scaling is applied. This function read \(N\) values from in and writes \(N\) values to out, where \(N\) is the size passed to kfr_dct_create_plan_f**..

Defined at capi.h:586