Huffman encoder fixes for very large streams

Allowing Huffman decoder to use different fast bits table sizes
Adding NV and AMD BC1 decoders
This commit is contained in:
richgel999
2020-05-05 23:10:21 -04:00
parent bb64ec604c
commit a1689504ea
6 changed files with 192 additions and 25 deletions

View File

@@ -195,7 +195,7 @@ namespace basist
{
crc = ~crc;
const uint8_t* p = reinterpret_cast<const uint8_t*>(r);
const uint8_t* p = static_cast<const uint8_t*>(r);
for (; size; --size)
{
const uint16_t q = *p++ ^ (crc >> 8);