Home
last modified time | relevance | path

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

/external/chromium_org/third_party/brotli/src/brotli/enc/
Dencode.cc503 int* max_run_length_prefix, in RunLengthCodeZeros() argument
516 *max_run_length_prefix = std::min(max_prefix, *max_run_length_prefix); in RunLengthCodeZeros()
519 v_out->push_back(v_in[i] + *max_run_length_prefix); in RunLengthCodeZeros()
529 if (reps < (2 << *max_run_length_prefix)) { in RunLengthCodeZeros()
535 v_out->push_back(*max_run_length_prefix); in RunLengthCodeZeros()
536 extra_bits->push_back((1 << *max_run_length_prefix) - 1); in RunLengthCodeZeros()
537 reps -= (2 << *max_run_length_prefix) - 1; in RunLengthCodeZeros()
553 int max_run_length_prefix = max_prefix; in BestMaxZeroRunLengthPrefix() local
554 RunLengthCodeZeros(v, &max_run_length_prefix, &rle_symbols, &extra_bits); in BestMaxZeroRunLengthPrefix()
555 if (max_run_length_prefix < max_prefix) break; in BestMaxZeroRunLengthPrefix()
[all …]
/external/chromium_org/third_party/brotli/src/brotli/dec/
Ddecode.c406 int max_run_length_prefix = 0; in DecodeContextMap() local
429 max_run_length_prefix = (int)BrotliReadBits(br, 4) + 1; in DecodeContextMap()
435 if (!ReadHuffmanCode(*num_htrees + max_run_length_prefix, table, br)) { in DecodeContextMap()
450 } else if (code <= max_run_length_prefix) { in DecodeContextMap()
461 (*context_map)[i] = (uint8_t)(code - max_run_length_prefix); in DecodeContextMap()