aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/noise_shaping_data.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-10 09:19:08 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-05 17:55:37 +0200
commit03008c2811ec26cf338780a89b6b2b849b399e3c (patch)
treee59dd60186881a5dbfea0fd4ed8683d02263b536 /libswresample/noise_shaping_data.c
parentb05631f7b959fd9ec266a4315db60cc77b655cd9 (diff)
downloadffmpeg-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 'libswresample/noise_shaping_data.c')
0 files changed, 0 insertions, 0 deletions