diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-05-23 15:58:03 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-06-02 13:37:41 +0200 |
commit | 9416ffd8b87945e7803c33a7e4f14e404b58ff10 (patch) | |
tree | 524f3f72016e575d1ad8b64b8f520df6bc4804bc /libavformat/tls_openssl.c | |
parent | fa45e2002976632a38d5d44ef5c8a1966d4326ec (diff) | |
download | ffmpeg-9416ffd8b87945e7803c33a7e4f14e404b58ff10.tar.gz |
avcodec/ac3dec: Hardcode tables to save space
The code to initialize the ungrouped bap mantissa tables
(bap 3 or 5) takes more bytes of .text than the tables itself;
they have therefore been hardcoded.
For GCC (14, -O3, albeit in an av_cold function), the initialization
code takes 99B each for the fixed and floating point decoders
(the code is currently duplicated), whereas the hardcoded tables
only take 96B. For Clang 19 it were 374B each (I don't now what
Clang was doing there).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/tls_openssl.c')
0 files changed, 0 insertions, 0 deletions