Searched refs:d_lengths (Results 1 – 1 of 1) sorted by relevance
86 static void PatchDistanceCodesForBuggyDecoders(unsigned* d_lengths) { in PatchDistanceCodesForBuggyDecoders() argument90 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() argument135 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() argument260 size_t size = EncodeTree(ll_lengths, d_lengths, in AddDynamicTree()[all …]