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
Source§fn clone(&self) -> TransformFrame
fn clone(&self) -> TransformFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TransformFrame
impl RefUnwindSafe for TransformFrame
impl Send for TransformFrame
impl Sync for TransformFrame
impl Unpin 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