#[repr(C)]pub struct L3Loop {
pub xr: *mut i32,
pub xrsq: Box<[i32; 576]>,
pub xrabs: Box<[i32; 576]>,
pub xrmax: i32,
pub en_tot: [i32; 2],
pub en: [[i32; 21]; 2],
pub xm: [[i32; 21]; 2],
pub xrmaxl: [i32; 2],
pub steptab: [f64; 128],
pub steptabi: [i32; 128],
pub int2idx: Box<[i32; 10000]>,
}Expand description
L3 loop structure (matches l3loop_t) (ref/shine/src/lib/types.h:89-101)
Fields§
§xr: *mut i32Magnitudes of the spectral values
xrsq: Box<[i32; 576]>xr squared
xrabs: Box<[i32; 576]>xr absolute
xrmax: i32Maximum of xrabs array
en_tot: [i32; 2]Total energy per granule
en: [[i32; 21]; 2]Energy per scalefactor band [granule][sfb]
xm: [[i32; 21]; 2]Masking threshold per scalefactor band [granule][sfb]
xrmaxl: [i32; 2]Maximum per granule
steptab: [f64; 128]2**(-x/4) for x = -127..0
steptabi: [i32; 128]2**(-x/4) for x = -127..0 (integer version)
int2idx: Box<[i32; 10000]>x**(3/4) for x = 0..9999
Trait Implementations§
Auto Trait Implementations§
impl Freeze for L3Loop
impl RefUnwindSafe for L3Loop
impl !Send for L3Loop
impl !Sync for L3Loop
impl Unpin for L3Loop
impl UnwindSafe for L3Loop
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