diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-22 03:04:02 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-25 23:35:45 +0200 |
commit | 247d513beb24a55bf3519bd52fa72a9f30f693a5 (patch) | |
tree | 269af075ef66faf39149ec4ab782d7422167f199 /tools | |
parent | 5bf4ac9113cddc3eeddfd8c9867bc870820370a0 (diff) | |
download | ffmpeg-247d513beb24a55bf3519bd52fa72a9f30f693a5.tar.gz |
avcodec/hevcdec: Avoid allocation of common CABAC state
It used to be allocated separately, so that the pointer to it
is copied to all HEVCContexts, so that all slice-threads
use the same. This is completely unnecessary now that there
is only one HEVCContext any more. There is just one minor
complication left: The slice-threads only get a pointer to
const HEVCContext, but they need to modify the common CABAC
state. Fix this by adding a pointer to the common CABAC state
to HEVCLocalContext and document why it exists.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions