diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-04 04:16:17 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-07 00:07:45 +0200 |
commit | 51ca74b52593bcb1a74083875b688f889cf9b520 (patch) | |
tree | 0980e241a2d733023edbbc37a119de2c5090e58d /libavcodec/neon/Makefile | |
parent | 1fa535e8f3cb1a4fcec71c39e55b6ba997c0b83e (diff) | |
download | ffmpeg-51ca74b52593bcb1a74083875b688f889cf9b520.tar.gz |
avcodec/dvdec: Avoid stack buffers
Instead reuse the destination RL VLC as scratch space.
This is possible, because the (implicit) codes here are already
ordered from left-to-right in the tree and because the codelengths
are increasing, which implies that mapping from VLC entries to the
corresponding entries used to initialize the VLC is monotonically
increasing. This means that one can reuse the right end of the
destination RL VLC to store the tables used to initialize the VLC
with.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/neon/Makefile')
0 files changed, 0 insertions, 0 deletions