Searched refs:available_bits (Results 1 – 3 of 3) sorted by relevance
375 uint32_t available_bits = BrotliGetAvailableBits(br); in SafeDecodeSymbol() local377 if (available_bits == 0) { in SafeDecodeSymbol()387 if (BROTLI_HC_FAST_LOAD_BITS(table) <= available_bits) { in SafeDecodeSymbol()395 if (available_bits <= HUFFMAN_TABLE_BITS) { in SafeDecodeSymbol()401 available_bits -= HUFFMAN_TABLE_BITS; in SafeDecodeSymbol()403 if (available_bits < BROTLI_HC_FAST_LOAD_BITS(table)) { in SafeDecodeSymbol()644 uint32_t available_bits; in SafeReadSymbolCodeLengths() local649 available_bits = BrotliGetAvailableBits(br); in SafeReadSymbolCodeLengths()650 if (available_bits != 0) { in SafeReadSymbolCodeLengths()655 if (BROTLI_HC_FAST_LOAD_BITS(p) > available_bits) { in SafeReadSymbolCodeLengths()[all …]
1961 int available_bits = 0; in ToStringBasePowerOfTwo() local1965 int current = (digit | (new_digit << available_bits)) & char_mask; in ToStringBasePowerOfTwo()1967 int consumed_bits = bits_per_char - available_bits; in ToStringBasePowerOfTwo()1969 available_bits = kDigitBits - consumed_bits; in ToStringBasePowerOfTwo()1970 while (available_bits >= bits_per_char) { in ToStringBasePowerOfTwo()1973 available_bits -= bits_per_char; in ToStringBasePowerOfTwo()1977 int current = (digit | (msd << available_bits)) & char_mask; in ToStringBasePowerOfTwo()1979 digit = msd >> (bits_per_char - available_bits); in ToStringBasePowerOfTwo()
1044 opus_int32 available_bits; in compute_redundancy_bytes() local1055 available_bits = max_data_bytes*8 - 2*base_bits; in compute_redundancy_bytes()1056 redundancy_bytes_cap = (available_bits*240/(240+48000/frame_rate) + base_bits)/8; in compute_redundancy_bytes()