}
q = q.wrapping_sub(self.grid_3_quant[ch][band - 4]);
}
- self.tone_idx[ch][band][i] = q as i8;
+ self.tone_idx[ch][band][i] = q;
if q > 0 || (self.is_intra && q == 0) {
self.tone_scale[ch][band][i] = TONE_SCALES[0][(q & 0x3F) as usize];
} else {
}
}
}
- #[allow(clippy::cyclomatic_complexity)]
+ #[allow(clippy::cognitive_complexity)]
fn read_noise_band(&mut self, br: &mut QdmBitReader, ch: usize, band: usize, samples: &mut [f32; 10], signs: &[bool; 16], jstereo: bool) -> DecoderResult<()> {
let mut type34_first = true;
let mut type34_pred = 0.0;