Skip to main content

unpack_row_partial

Function unpack_row_partial 

Source
pub fn unpack_row_partial(
    src: &[u8],
    dst: &mut [u16],
    bits: u32,
    order: PackOrder,
    simd: bool,
) -> usize
Expand description

unpack_row for a row cut short by truncated input: samples not entirely within src are set to zero instead of being decoded from padding. Returns the number of complete samples.