pub struct RfftI32 {
pub n_fft_real: usize,
pub ifft_flag: bool,
pub bit_reverse_flag: bool,
pub re_table: &'static [u32],
pub im_table: &'static [u32],
}Expand description
Real-valued Fast Fourier Transform (RFFT) and its inverse (RIFFT) implementations for 32-bit fixed-point data. Input and Output formats for RFFT Q31
| RFFT Size | Input Format | Output Format | Number of bits to upscale |
|---|---|---|---|
| 32 | 1.31 | 6.26 | 5 |
| 64 | 1.31 | 7.25 | 6 |
| 128 | 1.31 | 8.24 | 7 |
| 256 | 1.31 | 9.23 | 8 |
| 512 | 1.31 | 10.22 | 9 |
| 1024 | 1.31 | 11.21 | 10 |
| 2048 | 1.31 | 12.20 | 11 |
| 4096 | 1.31 | 13.19 | 12 |
| 8192 | 1.31 | 14.18 | 13 |
Input and Output formats for RIFFT Q31
| RIFFT Size | Input Format | Output Format | Number of bits to upscale |
|---|---|---|---|
| 32 | 1.31 | 6.26 | 0 |
| 64 | 1.31 | 7.25 | 0 |
| 128 | 1.31 | 8.24 | 0 |
| 256 | 1.31 | 9.23 | 0 |
| 512 | 1.31 | 10.22 | 0 |
| 1024 | 1.31 | 11.21 | 0 |
| 2048 | 1.31 | 12.20 | 0 |
| 4096 | 1.31 | 13.19 | 0 |
| 8192 | 1.31 | 14.18 | 0 |
Fields§
§n_fft_real: usize§ifft_flag: bool§bit_reverse_flag: bool§re_table: &'static [u32]§im_table: &'static [u32]Implementations§
Auto Trait Implementations§
impl Freeze for RfftI32
impl RefUnwindSafe for RfftI32
impl Send for RfftI32
impl Sync for RfftI32
impl Unpin for RfftI32
impl UnsafeUnpin for RfftI32
impl UnwindSafe for RfftI32
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more