]> git.sesse.net Git - ffmpeg/commit
avcodec/mobiclip: Reduce size of VLCs, inline constants
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 24 Oct 2020 09:41:37 +0000 (11:41 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 26 Oct 2020 06:25:09 +0000 (07:25 +0100)
commitc4229ad0749faa26a86b998deda1754e04ce77bb
treec2b664d445ab1226a87ee897185c558d17f2bf15
parent3a836f38f609940d883b8d8ed5e8a526e803da3c
avcodec/mobiclip: Reduce size of VLCs, inline constants

The longest motion vector VLC for mobiclip is six bits long, so using
eight bits for the VLC table is wasteful. Furthermore, the length can be
inlined.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/mobiclip.c