aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/svq1.cpp
AgeCommit message (Collapse)Author
2019-04-13COMMON: Use a prefix table to speed up the Huffman decoderBastien Bouclet
Symbols for codes shorter than the prefix table index width are stored in the table. All the entries in the table with an index starting with the code are set to the symbol value. That way, when decoding it is possible to get the number of bits corresponding to the table width from the bitstream and directly find the symbol value. Longer code still need to be searched for in the codes list.
2017-08-24COMMON: Remove BitStream base class to allow inlining callsWillem Jan Palenstijn
All users of BitStream were in fact using a specific, hardcoded variant, so we can hardcode that variant, removing the need for virtual calls, and enabling inlining.
2014-02-28IMAGE: Make Codec take a stream reference; change function name to decodeFrameMatthew Hoops
2014-02-28IMAGE: Move video codecs to image/Matthew Hoops