Home
last modified time | relevance | path

Searched refs:ndistbits (Results 1 – 4 of 4) sorted by relevance

/external/brotli/c/common/
Dconstants.h143 uint32_t ndistbits = 0; in BrotliCalculateDistanceCodeLimit() local
156 while (tmp != 0) {ndistbits++; tmp = tmp >> 1;} in BrotliCalculateDistanceCodeLimit()
158 ndistbits--; in BrotliCalculateDistanceCodeLimit()
160 half = (offset >> ndistbits) & 1; in BrotliCalculateDistanceCodeLimit()
162 group = ((ndistbits - 1) << 1) | half; in BrotliCalculateDistanceCodeLimit()
173 ndistbits = (group >> 1) + 1; in BrotliCalculateDistanceCodeLimit()
175 extra = (1u << ndistbits) - 1; in BrotliCalculateDistanceCodeLimit()
177 start = (1u << (ndistbits + 1)) - 4; in BrotliCalculateDistanceCodeLimit()
179 start += (group & 1) << ndistbits; in BrotliCalculateDistanceCodeLimit()
/external/brotli/java/org/brotli/dec/
DDecode.java162 int ndistbits = log2floor(offset) - 1; in calculateDistanceAlphabetLimit() local
163 int group = ((ndistbits - 1) << 1) | ((offset >> ndistbits) & 1); in calculateDistanceAlphabetLimit()
/external/brotli/js/
Ddecode.js76 var /** number */ ndistbits = log2floor(offset) - 1;
77 var /** number */ group = ((ndistbits - 1) << 1) | ((offset >> ndistbits) & 1);
/external/brotli/research/
Dbrotlidump.py1160 ndistbits = 1 + ((dcode - self.NDIRECT - 16) >> (self.NPOSTFIX + 1))
1163 offset = ((2 + (hcode & 1)) << ndistbits) - 4