pub struct RfftI16 {
pub n_fft_real: usize,
pub ifft_flag: bool,
pub bit_reverse_flag: bool,
pub re_table: &'static [u16],
pub im_table: &'static [u16],
}Expand description
Real-valued Fast Fourier Transform (RFFT) and its inverse (RIFFT) implementations for 16-bit fixed-point data.
Input and Output formats for RFFT Q15
| RFFT Size | Input Format | Output Format | Number of bits to upscale |
|---|---|---|---|
| 32 | 1.15 | 6.10 | 5 |
| 64 | 1.15 | 7.9 | 6 |
| 128 | 1.15 | 8.8 | 7 |
| 256 | 1.15 | 9.7 | 8 |
| 512 | 1.15 | 10.6 | 9 |
| 1024 | 1.15 | 11.5 | 10 |
| 2048 | 1.15 | 12.4 | 11 |
| 4096 | 1.15 | 13.3 | 12 |
| 8192 | 1.15 | 14.2 | 13 |
Input and Output formats for RIFFT Q15
| RFFT Size | Input Format | Output Format | Number of bits to upscale |
|---|---|---|---|
| 32 | 1.15 | 6.10 | 0 |
| 64 | 1.15 | 7.9 | 0 |
| 128 | 1.15 | 8.8 | 0 |
| 256 | 1.15 | 9.7 | 0 |
| 512 | 1.15 | 10.6 | 0 |
| 1024 | 1.15 | 11.5 | 0 |
| 2048 | 1.15 | 12.4 | 0 |
| 4096 | 1.15 | 13.3 | 0 |
| 8192 | 1.15 | 14.2 | 0 |
Fields§
§n_fft_real: usize§ifft_flag: bool§bit_reverse_flag: bool§re_table: &'static [u16]§im_table: &'static [u16]Implementations§
Auto Trait Implementations§
impl Freeze for RfftI16
impl RefUnwindSafe for RfftI16
impl Send for RfftI16
impl Sync for RfftI16
impl Unpin for RfftI16
impl UnsafeUnpin for RfftI16
impl UnwindSafe for RfftI16
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