aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg4videodec.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-05 23:28:01 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-16 18:07:29 +0200
commit2339f63eac90a7a3b25f2d5ee5749dbc46563684 (patch)
tree4321bad17581e982c2451bcfde992b184c24a4ea /libavcodec/mpeg4videodec.h
parent077880ad88eb1218c5c6b3b134e75317701dbe81 (diff)
downloadffmpeg-2339f63eac90a7a3b25f2d5ee5749dbc46563684.tar.gz
avcodec/dcaenc: Create encoder-adapted tables
Up until now, the encoder used the same tables that the decoder uses to create its VLCs. These have the downside of requiring the encoder to offset the tables at runtime as well as having to read from separate tables for the length as well as the code of the symbol to encode. The former are uint8_t, the latter uint16_t, so using a joint table would require padding, but this doesn't matter when these tables are generated at runtime, because they live in the .bss segment. Also move these init functions as well as the functions that actually use them to dcaenc.c, because they are encoder-specific. This also allows to remove an inclusion of PutBitContext from dcahuff.h (and indirectly from all dca-decoder files). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpeg4videodec.h')
0 files changed, 0 insertions, 0 deletions