Searched refs:max_run_length_prefix (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | brotli_bit_stream.c | 631 uint32_t* BROTLI_RESTRICT max_run_length_prefix) { in RunLengthCodeZeros() argument 644 max_prefix = BROTLI_MIN(uint32_t, max_prefix, *max_run_length_prefix); in RunLengthCodeZeros() 645 *max_run_length_prefix = max_prefix; in RunLengthCodeZeros() 650 v[*out_size] = v[i] + *max_run_length_prefix; in RunLengthCodeZeros() 688 uint32_t max_run_length_prefix = 6; in EncodeContextMap() local 705 &num_rle_symbols, &max_run_length_prefix); in EncodeContextMap() 711 BROTLI_BOOL use_rle = TO_BROTLI_BOOL(max_run_length_prefix > 0); in EncodeContextMap() 714 BrotliWriteBits(4, max_run_length_prefix - 1, storage_ix, storage); in EncodeContextMap() 717 BuildAndStoreHuffmanTree(histogram, num_clusters + max_run_length_prefix, in EncodeContextMap() 718 num_clusters + max_run_length_prefix, in EncodeContextMap() [all …]
|
/third_party/node/deps/brotli/c/enc/ |
D | brotli_bit_stream.c | 631 uint32_t* BROTLI_RESTRICT max_run_length_prefix) { in RunLengthCodeZeros() argument 644 max_prefix = BROTLI_MIN(uint32_t, max_prefix, *max_run_length_prefix); in RunLengthCodeZeros() 645 *max_run_length_prefix = max_prefix; in RunLengthCodeZeros() 650 v[*out_size] = v[i] + *max_run_length_prefix; in RunLengthCodeZeros() 688 uint32_t max_run_length_prefix = 6; in EncodeContextMap() local 705 &num_rle_symbols, &max_run_length_prefix); in EncodeContextMap() 711 BROTLI_BOOL use_rle = TO_BROTLI_BOOL(max_run_length_prefix > 0); in EncodeContextMap() 714 BrotliWriteBits(4, max_run_length_prefix - 1, storage_ix, storage); in EncodeContextMap() 717 BuildAndStoreHuffmanTree(histogram, num_clusters + max_run_length_prefix, in EncodeContextMap() 718 num_clusters + max_run_length_prefix, in EncodeContextMap() [all …]
|
/third_party/skia/third_party/externals/brotli/c/dec/ |
D | state.h | 226 uint32_t max_run_length_prefix; member
|
D | decode.c | 1029 h->max_run_length_prefix = (bits >> 1) + 1; in DecodeContextMap() 1032 h->max_run_length_prefix = 0; in DecodeContextMap() 1035 BROTLI_LOG_UINT(h->max_run_length_prefix); in DecodeContextMap() 1041 uint32_t alphabet_size = *num_htrees + h->max_run_length_prefix; in DecodeContextMap() 1052 uint32_t max_run_length_prefix = h->max_run_length_prefix; in DecodeContextMap() local 1069 if (code > max_run_length_prefix) { in DecodeContextMap() 1071 (uint8_t)(code - max_run_length_prefix); in DecodeContextMap()
|
/third_party/node/deps/brotli/c/dec/ |
D | state.h | 226 uint32_t max_run_length_prefix; member
|
D | decode.c | 1029 h->max_run_length_prefix = (bits >> 1) + 1; in DecodeContextMap() 1032 h->max_run_length_prefix = 0; in DecodeContextMap() 1035 BROTLI_LOG_UINT(h->max_run_length_prefix); in DecodeContextMap() 1041 uint32_t alphabet_size = *num_htrees + h->max_run_length_prefix; in DecodeContextMap() 1052 uint32_t max_run_length_prefix = h->max_run_length_prefix; in DecodeContextMap() local 1069 if (code > max_run_length_prefix) { in DecodeContextMap() 1071 (uint8_t)(code - max_run_length_prefix); in DecodeContextMap()
|