aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vc1_loopfilter.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-31 01:23:34 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-08 17:51:45 +0100
commita58be262931a803e89c5afc296bac7e308e13f49 (patch)
treeadb856c8ff8966e43e8c9f84bc9757e4e2b5e6f6 /libavcodec/vc1_loopfilter.c
parenta2a8da6dfb6ef7e7bcea4f71181e6c6a5a2db41d (diff)
downloadffmpeg-a58be262931a803e89c5afc296bac7e308e13f49.tar.gz
avcodec/mobiclip: Avoid redundant codes table to initialize VLCs
If both codes, lengths and symbols tables are ordered so that the codes are sorted from left to right in the tree, the codes can be easily derived from the lengths and therefore become redundant. This is exploited in this commit to remove the codes tables for the mobiclip decoder; notice that tables for the run-length VLC were already ordered correctly. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/vc1_loopfilter.c')
0 files changed, 0 insertions, 0 deletions