Searched refs:ndirect (Results 1 – 3 of 3) sorted by relevance
29 uint32_t npostfix, uint32_t ndirect) { in BrotliInitDistanceParams() argument34 dist_params->num_direct_distance_codes = ndirect; in BrotliInitDistanceParams()37 npostfix, ndirect, BROTLI_MAX_DISTANCE_BITS); in BrotliInitDistanceParams()38 max_distance = ndirect + (1U << (BROTLI_MAX_DISTANCE_BITS + npostfix + 2)) - in BrotliInitDistanceParams()45 npostfix, ndirect, BROTLI_LARGE_MAX_DISTANCE_BITS); in BrotliInitDistanceParams()49 if (ndirect < bound[npostfix]) { in BrotliInitDistanceParams()50 max_distance = BROTLI_MAX_ALLOWED_DISTANCE - (bound[npostfix] - ndirect); in BrotliInitDistanceParams()51 } else if (ndirect >= bound[npostfix] + postfix) { in BrotliInitDistanceParams()52 max_distance = (3U << 29) - 4 + (ndirect - bound[npostfix]); in BrotliInitDistanceParams()159 uint32_t ndirect = ndirect_msb << npostfix; in BrotliBuildMetaBlock() local[all …]
99 uint32_t npostfix, uint32_t ndirect);
1940 static uint32_t BrotliMaxDistanceSymbol(uint32_t ndirect, uint32_t npostfix) { in BrotliMaxDistanceSymbol() argument1944 if (ndirect < bound[npostfix]) { in BrotliMaxDistanceSymbol()1945 return ndirect + diff[npostfix] + postfix; in BrotliMaxDistanceSymbol()1946 } else if (ndirect > bound[npostfix] + postfix) { in BrotliMaxDistanceSymbol()1947 return ndirect + diff[npostfix]; in BrotliMaxDistanceSymbol()