diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-01 23:36:09 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-09 09:15:40 +0200 |
commit | 566280c3f464512446768fa5ee625edbf6a53c81 (patch) | |
tree | b56036faa7bb50e271de7cd98eaf289147fda298 /libavutil/twofish.c | |
parent | 83a8b9fac7b03a3a9c703e2a0641ab2cc35efaae (diff) | |
download | ffmpeg-566280c3f464512446768fa5ee625edbf6a53c81.tar.gz |
avcodec/huffyuv: Split HYuvContext into decoder and encoder context
While the share of elements used by both is quite big, the amount
of code shared between the decoders and encoders is negligible.
Therefore one can easily split the context if one wants to.
The reasons for doing so are that the non-shared elements
are non-negligible: The stats array which is only used by
the encoder takes 524288B of 868904B (on x64); similarly,
pix_bgr_map which is only used by the decoder takes 16KiB.
Furthermore, using a shared context also entails inclusions
of unneeded headers like put_bits.h for the decoder and get_bits.h
for the encoder (and all of these and much more for huffyuv.c).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/twofish.c')
0 files changed, 0 insertions, 0 deletions