mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:27:35 +00:00
LibAudio: Add huffman tables for MPEG-1 layer 3 audio
The data is taken straight from the ISO/IEC 11172-3 standard. For decoding efficiency the tables are transformed into trees at compile time using a constexpr approach. That way no runtime initialization is necessary and decoding can be faster than searching through tables.
This commit is contained in:
parent
b7110c2a34
commit
a4ba781f23
1 changed files with 1723 additions and 0 deletions
1723
Userland/Libraries/LibAudio/MP3HuffmanTables.h
Normal file
1723
Userland/Libraries/LibAudio/MP3HuffmanTables.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue