]> git.sesse.net Git - ffmpeg/commit
avcodec/rv10: Make VLC tables smaller
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 28 Oct 2020 09:48:09 +0000 (10:48 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 8 Dec 2020 16:51:45 +0000 (17:51 +0100)
commit1320d336eff2d08f82aa98301fced00178aaea0a
tree498e9769d2bd01d9d3950323edc4912a7017f869
parentdaf8b10eeb9c789cad5c2c263493249950c6f55f
avcodec/rv10: Make VLC tables smaller

These tables were huge (14 bits) because one needed 14 bits in order to
find out whether a code is valid and in the VLC table or a valid code that
required hacky workarounds due to RealVideo 1.0 using multiple codes
for the same symbol and the code predating the introduction of symbols
tables for VLCs.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/rv10.c