|
DaisySP
|
#include <fir.h>
Public Member Functions | |
| void | Reset () |
Protected Member Functions | |
| bool | SetCoefs (const float coefs[], size_t size, bool reverse) |
Static Protected Member Functions | |
| static constexpr size_t | MaxBlock () |
Protected Attributes | |
| float | state_ [state_size_] |
| float | coefs_ [max_size] |
| size_t | size_ |
Static Protected Attributes | |
| static constexpr size_t | state_size_ = max_size + max_block - 1u |
Helper class that defines the memory model - internal or user-provided
| max_size | - maximal filter length |
| max_block | - maximal length of the block processing if both parameters are 0, does NOT allocate any memory and instead requires user-provided memory blocks to be passed as parameters. |
Not intended to be used directly, so constructor is not exposed
|
inlineprotected |
Configure the filter coefficients
| coefs | - pointer to coefficients (tail-first order) |
| size | - number of coefficients pointed by coefs (filter length) |
| reverse | - flag to perform reversing of the filter |