Home
last modified time | relevance | path

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

/external/zopfli/src/zopfli/
Ddeflate.c113 unsigned* rle_bits = 0; /* Extra bits for rle values 16, 17 and 18. */ in EncodeTree() local
159 ZOPFLI_APPEND_DATA(count2 - 11, &rle_bits, &rle_bits_size); in EncodeTree()
170 ZOPFLI_APPEND_DATA(count2 - 3, &rle_bits, &rle_bits_size); in EncodeTree()
184 ZOPFLI_APPEND_DATA(0, &rle_bits, &rle_bits_size); in EncodeTree()
190 ZOPFLI_APPEND_DATA(count2 - 3, &rle_bits, &rle_bits_size); in EncodeTree()
202 ZOPFLI_APPEND_DATA(0, &rle_bits, &rle_bits_size); in EncodeTree()
228 if (rle[i] == 16) AddBits(rle_bits[i], 2, bp, out, outsize); in EncodeTree()
229 else if (rle[i] == 17) AddBits(rle_bits[i], 3, bp, out, outsize); in EncodeTree()
230 else if (rle[i] == 18) AddBits(rle_bits[i], 7, bp, out, outsize); in EncodeTree()
246 free(rle_bits); in EncodeTree()