Home
last modified time | relevance | path

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

/external/brotli/c/common/
Dconstants.h69 #define BROTLI_DISTANCE_ALPHABET_SIZE(NPOSTFIX, NDIRECT, MAXNBITS) ( \ argument
70 BROTLI_NUM_DISTANCE_SHORT_CODES + (NDIRECT) + \
/external/brotli/research/
Dbrotlidump.py1125 def __init__(self, number, *, NPOSTFIX, NDIRECT): argument
1127 self.NDIRECT = NDIRECT
1132 alphabetSize=self.NDIRECT+16+(48<<self.NPOSTFIX))
1142 if index<16+self.NDIRECT: return 0
1143 return 1 + ((index - self.NDIRECT - 16) >> (self.NPOSTFIX + 1))
1156 if dcode<16+self.NDIRECT:
1160 ndistbits = 1 + ((dcode - self.NDIRECT - 16) >> (self.NPOSTFIX + 1))
1161 hcode = (dcode - self.NDIRECT - 16) >> self.NPOSTFIX
1162 lcode = (dcode - self.NDIRECT - 16) & POSTFIX_MASK
1164 distance = ((offset + dextra) << self.NPOSTFIX) + lcode + self.NDIRECT + 1
[all …]