Home
last modified time | relevance | path

Searched refs:kBlockLengthPrefixCode (Results 1 – 3 of 3) sorted by relevance

/external/brotli/c/dec/
Dprefix.h24 kBlockLengthPrefixCode[BROTLI_NUM_BLOCK_LEN_SYMBOLS] = { variable
Ddecode.c870 nbits = kBlockLengthPrefixCode[code].nbits; /* nbits == 2..24 */ in ReadBlockLength()
871 return kBlockLengthPrefixCode[code].offset + BrotliReadBits(br, nbits); in ReadBlockLength()
889 uint32_t nbits = kBlockLengthPrefixCode[index].nbits; /* nbits == 2..24 */ in SafeReadBlockLength()
895 *result = kBlockLengthPrefixCode[index].offset + bits; in SafeReadBlockLength()
/external/brotli/c/enc/
Dbrotli_bit_stream.c45 kBlockLengthPrefixCode[BROTLI_NUM_BLOCK_LEN_SYMBOLS] = { variable
55 len >= kBlockLengthPrefixCode[code + 1].offset) ++code; in BlockLengthPrefixCode()
62 *n_extra = kBlockLengthPrefixCode[*code].nbits; in GetBlockLengthPrefixCode()
63 *extra = len - kBlockLengthPrefixCode[*code].offset; in GetBlockLengthPrefixCode()