Searched refs:read_bool_with_prob (Results 1 – 2 of 2) sorted by relevance
132 pub fn read_bool_with_prob(&mut self, probability: u8) -> Result<bool> { in read_bool_with_prob() method215 assert!(!bd.read_bool_with_prob(0x80).unwrap()); in decode_bools_with_zeros_and_even_probabilities()239 assert!(bd.read_bool_with_prob(0x80).unwrap()); in decode_bools_with_ones_and_even_probabilities()261 let bit = bd.read_bool_with_prob(i as u8).unwrap(); in decode_bools_with_parities_and_increasing_probabilities()
624 let update = bd.read_bool_with_prob(COEFF_UPDATE_PROBS[i][j][k][l])?;642 let update = bd.read_bool_with_prob(MV_UPDATE_PROBS[i][j])?;