Function ::kfr_filter_create_convolution_plan_f32¶
function kfr_filter_create_convolution_plan_f32(const kfr_f32 *, size_t, size_t) capi¶
KFR_FILTER_F32* kfr_filter_create_convolution_plan_f32(const kfr_f32* taps, size_t size,
size_t block_size) Creates a convolution filter plan (single precision).
| 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. |
Pointer to the created convolution filter plan, or NULL on failure. Use kfr_filter_delete_plan_f32 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_f32(const kfr_f32 *, size_t, size_t)
Declared at capi.h:1292