mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-07 10:06:03 +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
Notes:
sideshowbarker
2024-07-17 18:13:31 +09:00
Author: https://github.com/standardexe
Commit: a4ba781f23
Pull-request: https://github.com/SerenityOS/serenity/pull/12749
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