pub struct TransformFrame {
pub coefficients: Vec<Vec<i16>>,
pub scale_factors: Vec<Vec<f32>>,
pub block_size: BlockSize,
pub num_samples: usize,
}Expand description
Encoded frame data
Fields§
§coefficients: Vec<Vec<i16>>Quantized MDCT coefficients per channel (as i16)
scale_factors: Vec<Vec<f32>>Scale factors per Bark band per channel
block_size: BlockSizeBlock size used
num_samples: usizeNumber of samples this frame represents (after overlap-add)
Trait Implementations§
Source§impl Clone for TransformFrame
impl Clone for TransformFrame
Auto Trait Implementations§
impl Freeze for TransformFrame
impl RefUnwindSafe for TransformFrame
impl Send for TransformFrame
impl Sync for TransformFrame
impl Unpin for TransformFrame
impl UnsafeUnpin for TransformFrame
impl UnwindSafe for TransformFrame
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