Home
last modified time | relevance | path

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

/external/zopfli/src/zopfli/
Ddeflate.c86 static void PatchDistanceCodesForBuggyDecoders(unsigned* d_lengths) { in PatchDistanceCodesForBuggyDecoders() argument
90 if (d_lengths[i]) num_dist_codes++; in PatchDistanceCodesForBuggyDecoders()
95 d_lengths[0] = d_lengths[1] = 1; in PatchDistanceCodesForBuggyDecoders()
97 d_lengths[d_lengths[0] ? 1 : 0] = 1; in PatchDistanceCodesForBuggyDecoders()
106 const unsigned* d_lengths, in EncodeTree() argument
135 while (hdist > 0 && d_lengths[1 + hdist - 1] == 0) hdist--; in EncodeTree()
142 unsigned char symbol = i < hlit2 ? ll_lengths[i] : d_lengths[i - hlit2]; in EncodeTree()
146 (j < hlit2 ? ll_lengths[j] : d_lengths[j - hlit2]); j++) { in EncodeTree()
252 const unsigned* d_lengths, in AddDynamicTree() argument
260 size_t size = EncodeTree(ll_lengths, d_lengths, in AddDynamicTree()
[all …]