Skip to content

function kfr_filter_create_convolution_plan_f64(const kfr_f64 *, size_t, size_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" { … }

Create a convolution filter plan (Double precision).

Parameters
taps Pointer to filter taps.
size Number of filter taps.
block_size Size of the processing block. Must be a power of two.
Returns
Pointer to the created convolution filter plan. Use kfr_filter_delete_plan_f** to free.

Note

Mathematically, this produces the same result as an FIR filter, but it uses the FFT overlap-add technique internally to improve performance with larger filter lengths.

Defined at capi.h:675