aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/timecode.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-27 20:36:32 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-08 17:51:45 +0100
commite730b1558367614ef396df596425a462a56739df (patch)
tree5943f961fa1054707a9153ae463ff112320a2324 /libavutil/timecode.h
parent7eef70a001b210146a817a732a63e1451699a99e (diff)
downloadffmpeg-e730b1558367614ef396df596425a462a56739df.tar.gz
avcodec/rv10: Reduce the size of the tables used to initialize VLCs
This can be achieved by switching to ff_init_vlc_from_lengths() which allows to replace two uint16_t tables for codes with uint8_t tables for the symbols by permuting the tables so that the codes are ordered from left to right in the tree in which case they can be easily computed from the lengths at runtime. And after doing so, it became apparent that the tables for the symbols are actually the same for luma and chroma, so that one can even omit one of them. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavutil/timecode.h')
0 files changed, 0 insertions, 0 deletions