diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-07 09:46:17 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-08 17:51:47 +0100 |
commit | 5d503c91f306585c3cd2188c239cfe247dd9a33e (patch) | |
tree | b82b95c8bef1666c1d71986d50d0bce72ef94919 /libavdevice/opengl_enc.c | |
parent | abf1a4f05cc8c051c51bc8bd8e3bb059075a0bf6 (diff) | |
download | ffmpeg-5d503c91f306585c3cd2188c239cfe247dd9a33e.tar.gz |
avcodec/atrac3: Use symbols table
Expressions like array[get_vlc2()] can be optimized by using a symbols
table if the array is always the same for a given VLC. This requirement
is fulfilled for several VLCs used by ATRAC3, therefore this commit
implements this. This comes without any additional costs when using
ff_init_vlc_from_lengths() as one can then remove the codes tables.
While at it, remove the arrays of pointers to the individual arrays and
put all lengths+symbol pairs in one big array.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavdevice/opengl_enc.c')
0 files changed, 0 insertions, 0 deletions