diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-10 09:19:08 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-05 17:55:37 +0200 |
commit | 03008c2811ec26cf338780a89b6b2b849b399e3c (patch) | |
tree | e59dd60186881a5dbfea0fd4ed8683d02263b536 /doc | |
parent | b05631f7b959fd9ec266a4315db60cc77b655cd9 (diff) | |
download | ffmpeg-03008c2811ec26cf338780a89b6b2b849b399e3c.tar.gz |
avcodec/speedhqenc: Hardcode table to save space
The SpeedHQ encoder currently reverses the entries of two small tables
and stores them in other tables. These other tables have a size of 48
bytes, yet the code for their initialization takes 135 bytes (GCC 9.3,
x64, O3 albeit in an av_cold function). So remove the runtime
initialization and hardcode the tables.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions