Home
last modified time | relevance | path

Searched refs:num_direct_distance_codes (Results 1 – 8 of 8) sorted by relevance

/external/brotli/c/enc/
Dcommand.h131 distance_code, dist->num_direct_distance_codes, in InitCommand()
149 BROTLI_NUM_DISTANCE_SHORT_CODES + dist->num_direct_distance_codes) { in CommandRestoreDistanceCode()
156 uint32_t hcode = (dcode - dist->num_direct_distance_codes - in CommandRestoreDistanceCode()
159 uint32_t lcode = (dcode - dist->num_direct_distance_codes - in CommandRestoreDistanceCode()
163 dist->num_direct_distance_codes + BROTLI_NUM_DISTANCE_SHORT_CODES; in CommandRestoreDistanceCode()
Dmetablock.c34 dist_params->num_direct_distance_codes = ndirect; in BrotliInitDistanceParams()
69 orig_params->num_direct_distance_codes == in RecomputeDistancePrefixes()
70 new_params->num_direct_distance_codes) { in RecomputeDistancePrefixes()
78 new_params->num_direct_distance_codes, in RecomputeDistancePrefixes()
100 orig_params->num_direct_distance_codes == in ComputeDistanceCost()
101 new_params->num_direct_distance_codes) { in ComputeDistanceCost()
116 new_params->num_direct_distance_codes, in ComputeDistanceCost()
164 ndirect == orig_params.dist.num_direct_distance_codes) { in BrotliBuildMetaBlock()
Dparams.h25 uint32_t num_direct_distance_codes; member
Dencode.c174 state->params.dist.num_direct_distance_codes = value; in BrotliEncoderSetParameter()
651 uint32_t num_direct_distance_codes = 0; in ChooseDistanceParams() local
657 num_direct_distance_codes = 12; in ChooseDistanceParams()
660 num_direct_distance_codes = params->dist.num_direct_distance_codes; in ChooseDistanceParams()
662 ndirect_msb = (num_direct_distance_codes >> distance_postfix_bits) & 0x0F; in ChooseDistanceParams()
664 num_direct_distance_codes > BROTLI_MAX_NDIRECT || in ChooseDistanceParams()
665 (ndirect_msb << distance_postfix_bits) != num_direct_distance_codes) { in ChooseDistanceParams()
667 num_direct_distance_codes = 0; in ChooseDistanceParams()
672 params, distance_postfix_bits, num_direct_distance_codes); in ChooseDistanceParams()
719 params->dist.num_direct_distance_codes = 0; in BrotliEncoderInitParams()
Dbackward_references_hq.c519 dist_code, params->dist.num_direct_distance_codes, in UpdateNodes()
Dbrotli_bit_stream.c993 4, dist->num_direct_distance_codes >> dist->distance_postfix_bits, in BrotliStoreMetaBlock()
/external/brotli/c/dec/
Dstate.h155 uint32_t num_direct_distance_codes; member
Ddecode.c1524 distval = s->distance_code - (int)s->num_direct_distance_codes; in ReadDistanceInternal()
1532 s->distance_code = (int)s->num_direct_distance_codes + offset + in ReadDistanceInternal()
1550 s->distance_code = (int)s->num_direct_distance_codes + in ReadDistanceInternal()
2258 s->num_direct_distance_codes = BROTLI_NUM_DISTANCE_SHORT_CODES + in BrotliDecoderDecompressStream()
2260 BROTLI_LOG_UINT(s->num_direct_distance_codes); in BrotliDecoderDecompressStream()
2295 s->num_direct_distance_codes - BROTLI_NUM_DISTANCE_SHORT_CODES; in BrotliDecoderDecompressStream()