Home
last modified time | relevance | path

Searched refs:BROTLI_HC_FAST_LOAD_BITS (Results 1 – 2 of 2) sorted by relevance

/external/brotli/c/dec/
Dhuffman.h76 #define BROTLI_HC_FAST_LOAD_BITS(H) (H->bits) macro
92 #define BROTLI_HC_FAST_LOAD_BITS(H) ((__fastload_##H) & 0xFF) macro
Ddecode.c352 if (BROTLI_HC_FAST_LOAD_BITS(table) > HUFFMAN_TABLE_BITS) { in DecodeSymbol()
353 uint32_t nbits = BROTLI_HC_FAST_LOAD_BITS(table) - HUFFMAN_TABLE_BITS; in DecodeSymbol()
359 BrotliDropBits(br, BROTLI_HC_FAST_LOAD_BITS(table)); in DecodeSymbol()
378 if (BROTLI_HC_FAST_LOAD_BITS(table) == 0) { in SafeDecodeSymbol()
386 if (BROTLI_HC_FAST_LOAD_BITS(table) <= HUFFMAN_TABLE_BITS) { in SafeDecodeSymbol()
387 if (BROTLI_HC_FAST_LOAD_BITS(table) <= available_bits) { in SafeDecodeSymbol()
388 BrotliDropBits(br, BROTLI_HC_FAST_LOAD_BITS(table)); in SafeDecodeSymbol()
400 val = (val & BitMask(BROTLI_HC_FAST_LOAD_BITS(table))) >> HUFFMAN_TABLE_BITS; in SafeDecodeSymbol()
403 if (available_bits < BROTLI_HC_FAST_LOAD_BITS(table)) { in SafeDecodeSymbol()
407 BrotliDropBits(br, HUFFMAN_TABLE_BITS + BROTLI_HC_FAST_LOAD_BITS(table)); in SafeDecodeSymbol()
[all …]