Searched refs:NDIRECT (Results 1 – 2 of 2) sorted by relevance
41 #define BROTLI_DISTANCE_ALPHABET_SIZE(NPOSTFIX, NDIRECT, MAXNBITS) ( \ argument42 BROTLI_NUM_DISTANCE_SHORT_CODES + (NDIRECT) + \
1125 def __init__(self, number, *, NPOSTFIX, NDIRECT): argument1127 self.NDIRECT = NDIRECT1132 alphabetSize=self.NDIRECT+16+(48<<self.NPOSTFIX))1142 if index<16+self.NDIRECT: return 01143 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.NPOSTFIX1162 lcode = (dcode - self.NDIRECT - 16) & POSTFIX_MASK1164 distance = ((offset + dextra) << self.NPOSTFIX) + lcode + self.NDIRECT + 1[all …]