Home
last modified time | relevance | path

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

/external/puffin/src/
Dhuffer.cc31 HuffmanTable* cur_ht = nullptr; in HuffDeflate() local
72 cur_ht = fix_ht_.get(); in HuffDeflate()
76 cur_ht = dyn_ht_.get(); in HuffDeflate()
95 auto write_literal = [&cur_ht, &bw](uint8_t literal) { in HuffDeflate()
99 cur_ht->LitLenHuffman(literal, &literal_huffman, &nbits)); in HuffDeflate()
134 cur_ht->LitLenHuffman(index + 257, &length_huffman, &nbits)); in HuffDeflate()
154 cur_ht->DistanceHuffman(index, &distance_huffman, &nbits)); in HuffDeflate()
168 cur_ht->LitLenHuffman(256, &eos_huffman, &nbits)); in HuffDeflate()
Dpuffer.cc39 HuffmanTable* cur_ht; in PuffDeflate() local
113 cur_ht = fix_ht_.get(); in PuffDeflate()
128 cur_ht = dyn_ht_.get(); in PuffDeflate()
142 auto max_bits = cur_ht->LitLenMaxBits(); in PuffDeflate()
147 TEST_AND_RETURN_FALSE(cur_ht->EndOfBlockBitLength(&max_bits)); in PuffDeflate()
154 cur_ht->LitLenAlphabet(bits, &lit_len_alphabet, &nbits)); in PuffDeflate()
182 auto bits_to_cache = cur_ht->DistanceMaxBits(); in PuffDeflate()
200 cur_ht->DistanceAlphabet(bits, &distance_alphabet, &nbits)); in PuffDeflate()