mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:07:34 +00:00
![]() The spec is at best misleading here, suggesting that max_symbol should be set to "num_code_lengths" if it's not explicitly stored. But num_code_lengths doesn't mean the num_code_lengths mentioned a few lines further up in the spec, but alphabet_size! (I had to cheat and look at libwebp instead of the spec for this: See vp8l_dec.c, ReadHuffmanCode() which passes alphabet_size to ReadHuffmanCodeLengths() as num_symbols, and ReadHuffmanCodeLengths() then sets max_symbol to that.) I haven't yet found a file that uses max_symbol, so this isn't actually tested. But it's close to what's in libwebp, so maybe it works! |
||
---|---|---|
.. | ||
BMPLoader.cpp | ||
BMPLoader.h | ||
BMPWriter.cpp | ||
BMPWriter.h | ||
DDSLoader.cpp | ||
DDSLoader.h | ||
GIFLoader.cpp | ||
GIFLoader.h | ||
ICOLoader.cpp | ||
ICOLoader.h | ||
ImageDecoder.cpp | ||
ImageDecoder.h | ||
JPEGLoader.cpp | ||
JPEGLoader.h | ||
PBMLoader.cpp | ||
PBMLoader.h | ||
PGMLoader.cpp | ||
PGMLoader.h | ||
PNGLoader.cpp | ||
PNGLoader.h | ||
PNGShared.h | ||
PNGWriter.cpp | ||
PNGWriter.h | ||
PortableFormatWriter.cpp | ||
PortableFormatWriter.h | ||
PortableImageLoaderCommon.h | ||
PortableImageMapLoader.h | ||
PPMLoader.cpp | ||
PPMLoader.h | ||
QOILoader.cpp | ||
QOILoader.h | ||
QOIWriter.cpp | ||
QOIWriter.h | ||
TGALoader.cpp | ||
TGALoader.h | ||
WebPLoader.cpp | ||
WebPLoader.h |