|
Sound Open Firmware
|
Generic C implementation of Direct Form I IIR filtering for various bit depths. More...


Go to the source code of this file.
Functions | |
| static int16_t | iir_df1_s16 (struct iir_state_df1 *iir, int16_t x) |
| Filter a 16-bit PCM sample using Direct Form 1 IIR filter. | |
| static int32_t | iir_df1_s24 (struct iir_state_df1 *iir, int32_t x) |
| Filter a 24-bit PCM sample using Direct Form 1 IIR filter. | |
| static int16_t | iir_df1_s32_s16 (struct iir_state_df1 *iir, int32_t x) |
| Filter a 32-bit PCM input sample producing a 16-bit output sample. | |
| static int32_t | iir_df1_s32_s24 (struct iir_state_df1 *iir, int32_t x) |
| Filter a 32-bit PCM input sample producing a 24-bit output sample. | |
Generic C implementation of Direct Form I IIR filtering for various bit depths.
|
inlinestatic |
Filter a 16-bit PCM sample using Direct Form 1 IIR filter.
| iir | Pointer to DF1 filter state. |
| x | Input 16-bit sample (Q1.15). |
|
inlinestatic |
Filter a 24-bit PCM sample using Direct Form 1 IIR filter.
| iir | Pointer to DF1 filter state. |
| x | Input 24-bit sample (Q1.23 in 32-bit container). |
|
inlinestatic |
Filter a 32-bit PCM input sample producing a 16-bit output sample.
| iir | Pointer to DF1 filter state. |
| x | Input 32-bit sample (Q1.31). |
|
inlinestatic |
Filter a 32-bit PCM input sample producing a 24-bit output sample.
| iir | Pointer to DF1 filter state. |
| x | Input 32-bit sample (Q1.31). |