Skip to content

Function ::kfr_filter_create_convolution_plan_f64

function kfr_filter_create_convolution_plan_f64(const kfr_f64 *, size_t, size_t) capi

KFR_FILTER_F64* kfr_filter_create_convolution_plan_f64(const kfr_f64* taps, size_t size,
                                                       size_t block_size)

Creates 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. If zero, a default of 1024 is used.
Returns
Pointer to the created convolution filter plan, or NULL on failure. Use kfr_filter_delete_plan_f64 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.

Fully qualified name: kfr_filter_create_convolution_plan_f64(const kfr_f64 *, size_t, size_t)

Declared at capi.h:1308