Function decode

Source
pub fn decode(lsb_mode: bool, residual_bits: &[bool], spec_lines: &mut [Scaler])
Expand description

Refines the non-zero quantized coefficients with extra information from leftover bits available after arithmetic encoding has saved all the critical audio information

ยงArguments

  • lsb_mode - Least significant bit mode (true for high bandwidth mode and false for normal mode)
  • residual_bits - Input bits used to add some extra fidility to the spectral lines in x
  • spec_lines - Input and Output spectral lines