#[repr(C)]pub struct ShineGlobalConfig {Show 18 fields
pub wave: PrivShineWave,
pub mpeg: PrivShineMpeg,
pub bs: BitstreamWriter,
pub side_info: ShineSideInfo,
pub sideinfo_len: i32,
pub mean_bits: i32,
pub ratio: ShinePsyRatio,
pub scalefactor: Box<ShineScalefac>,
pub buffer: [*mut i16; 2],
pub pe: Box<[[f64; 2]; 2]>,
pub l3_enc: Box<[[[i32; 576]; 2]; 2]>,
pub l3_sb_sample: Box<[[[[i32; 32]; 18]; 3]; 2]>,
pub mdct_freq: Box<[[[i32; 576]; 2]; 2]>,
pub resv_size: i32,
pub resv_max: i32,
pub l3loop: L3Loop,
pub mdct: Mdct,
pub subband: Subband,
}Expand description
Global configuration structure (matches shine_global_config) (ref/shine/src/lib/types.h:159-180)
Fields§
§wave: PrivShineWave§mpeg: PrivShineMpeg§bs: BitstreamWriter§side_info: ShineSideInfo§sideinfo_len: i32§mean_bits: i32§ratio: ShinePsyRatio§scalefactor: Box<ShineScalefac>§buffer: [*mut i16; 2]§pe: Box<[[f64; 2]; 2]>§l3_enc: Box<[[[i32; 576]; 2]; 2]>§l3_sb_sample: Box<[[[[i32; 32]; 18]; 3]; 2]>§mdct_freq: Box<[[[i32; 576]; 2]; 2]>§resv_size: i32§resv_max: i32§l3loop: L3Loop§mdct: Mdct§subband: SubbandImplementations§
Trait Implementations§
Source§impl Debug for ShineGlobalConfig
impl Debug for ShineGlobalConfig
Auto Trait Implementations§
impl Freeze for ShineGlobalConfig
impl RefUnwindSafe for ShineGlobalConfig
impl !Send for ShineGlobalConfig
impl !Sync for ShineGlobalConfig
impl Unpin for ShineGlobalConfig
impl UnwindSafe for ShineGlobalConfig
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