Commit graph

6 commits

Author SHA1 Message Date
Pawel Kolodziejski
27e12d8a96 ALL: Eliminate LOCAL_PI macro 2020-09-23 23:20:23 +02:00
Bastien Bouclet
148655f5c2 COMMON: Use a prefix table to speed up the Huffman decoder
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.
2019-04-14 20:24:26 +02:00
Bastien Bouclet
fc67541742 ALL: Silence some GCC7 fall through warnings 2017-09-02 15:24:01 +02:00
Bastien Bouclet
84e62b6c8d ALL: Sync with ScummVM - rev. 87ebc7140c 2017-09-02 15:04:07 +02:00
Sven Hesse
677f6f7e1f AUDIO: Fix undefined shift in WMACodec::calculateMDCTCoefficients()
See a48b24e5eb
2016-09-30 06:20:01 +02:00
Bastien Bouclet
86f641ebb9 AUDIO: Add the WMA decoder from xoreos
Credits go to DrMcCoy, clone2727 and the ffmpeg authors
Permission is granted by DrMcCoy and clone2727 relicense this
from GPLv3+ to GPLv2+.
2015-04-19 11:46:01 +02:00