mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-31 09:05:05 +01:00
ca509a3362
The code and logic is unified when computing bit entropy + Huffman cost. Speed-wise, we gain 8% for lossless encoding. Logic-wise, the beginning/end of the distributions are handled properly and the compression ratio does not change much. Change-Id: Ifa91d7d3e667c9a9a421faec4e845ecb6479a633