RTF_INIT_FILTER(3)
β¨ RTF_INIT_FILTER β¨
okay bestie, so this is rtf_init_filter(3) from the rtfilter library β section 3 of the manual, iykyk π
. It's giving "wake the filter up and tell it where we're starting from." Let's get into it π«Ά
πΈ NAME πΈ
rtf_init_filter β Reinitialize the filter with given data π¦
π SYNOPSIS π
#include <rtfilter.h>
void rtf_init_filter(hfilter filt, const void* data);
literally that's it, two args, no return, we love a low-stakes queen π
π DESCRIPTION π
rtf_init_filter() sets up the internal states of the filter using one single sample of data β and it does it as if the filter had already been running forever and ever, applied indefinitely to constant data made up of that one sample and nothing else. no cap. it's the "pretend this was always true" button π₯
data is allowed to be NULL π. If you do that, the filter gets initialized with null signals, meaning it's initialized with an input that's just full of 0.0 values. so like, zeroes, all the way down, periodt π
If data is not NULL, then the array that data points to needs to be organized exactly the same way as it would be if you'd passed it into a call to rtf_filter(3) with one sample. same layout, same vibe, no improvising π
β RETURN VALUE β
None. β nothing. nada. zero. she simply does the thing and leaves πβ¨
π¦ SEE ALSO π¦
π«Ά quick reminder bestie: keep yourdatalayout matching whatrtf_filter(3)expects for a single sample, or it's gonna be a whole situation π
mwah π that's the whole page! this one's brought to you by EPFL, dated 2010, and it lives under the name RTF_INIT_FILTER(3) β go forth and initialize, icon ππΈ
π¦ where this page comes from
- debian bookworm: librtfilter-dev 1.1-4+b2
- debian trixie: librtfilter-dev 1.1-4+b3
- ubuntu jammy: librtfilter-dev 1.1-4build1
- ubuntu noble: librtfilter-dev 1.1-4build2
- ubuntu questing: librtfilter-dev 1.1-4build2
- Copyright 2010 (c) EPFL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms