Home
last modified time | relevance | path

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

/external/puffin/src/
Dhuffman_table.cc245 auto num_lit_len = br->ReadBits(5) + 257; in BuildDynamicHuffmanTable() local
257 CheckHuffmanArrayLengths(num_lit_len, num_distance, num_codes)); in BuildDynamicHuffmanTable()
290 num_lit_len + num_distance, &tmp_lens_)); in BuildDynamicHuffmanTable()
296 tmp_lens_.begin() + num_lit_len); in BuildDynamicHuffmanTable()
299 distance_lens_.insert(distance_lens_.begin(), tmp_lens_.begin() + num_lit_len, in BuildDynamicHuffmanTable()
400 size_t num_lit_len = buffer[index] + 257; in BuildDynamicHuffmanTable() local
410 CheckHuffmanArrayLengths(num_lit_len, num_distance, num_codes)); in BuildDynamicHuffmanTable()
440 num_lit_len + num_distance, &tmp_lens_)); in BuildDynamicHuffmanTable()
445 tmp_lens_.begin() + num_lit_len); in BuildDynamicHuffmanTable()
448 distance_lens_.insert(distance_lens_.begin(), tmp_lens_.begin() + num_lit_len, in BuildDynamicHuffmanTable()
Dhuffman_table.h52 inline bool CheckHuffmanArrayLengths(size_t num_lit_len, in CheckHuffmanArrayLengths() argument
55 if (num_lit_len > 286 || num_distance > 30 || num_codes > 19) { in CheckHuffmanArrayLengths()
57 << "num_lit_len(" << num_lit_len << ") " in CheckHuffmanArrayLengths()