Home
last modified time | relevance | path

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

/external/brotli/c/common/
Dconstants.h41 #define BROTLI_DISTANCE_ALPHABET_SIZE(NPOSTFIX, NDIRECT, MAXNBITS) ( \ argument
43 ((MAXNBITS) << ((NPOSTFIX) + 1)))
/external/brotli/research/
Dbrotlidump.py1125 def __init__(self, number, *, NPOSTFIX, NDIRECT): argument
1126 self.NPOSTFIX = NPOSTFIX
1132 alphabetSize=self.NDIRECT+16+(48<<self.NPOSTFIX))
1143 return 1 + ((index - self.NDIRECT - 16) >> (self.NPOSTFIX + 1))
1159 POSTFIX_MASK = (1 << self.NPOSTFIX) - 1
1160 ndistbits = 1 + ((dcode - self.NDIRECT - 16) >> (self.NPOSTFIX + 1))
1161 hcode = (dcode - self.NDIRECT - 16) >> self.NPOSTFIX
1164 distance = ((offset + dextra) << self.NPOSTFIX) + lcode + self.NDIRECT + 1
1180 hcode = index >> self.NPOSTFIX
1181 lcode = index & (1<<self.NPOSTFIX)-1
[all …]