diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-06-30 18:00:21 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-07-25 23:32:08 +0200 |
commit | 05b763a4a4bdd64725cb28fd61a46fe60fe0c223 (patch) | |
tree | e2f1bdfce3a3b67186ae0d1519b9db19140b9daa /libavcodec/mips/hpeldsp_mmi.c | |
parent | 6265b155bc6dfa9d327273b060af767cc391a3f1 (diff) | |
download | ffmpeg-05b763a4a4bdd64725cb28fd61a46fe60fe0c223.tar.gz |
avcodec/hevcdec: Pass HEVCLocalContext when slice-threading
The HEVC decoder has both HEVCContext and HEVCLocalContext
structures. The latter is supposed to be the structure
containing the per-slicethread state.
Yet that is not how it is handled in practice: Each HEVCLocalContext
has a unique HEVCContext allocated for it and each of these
coincides except in exactly one field: The corresponding
HEVCLocalContext. This makes it possible to pass the HEVCContext
everywhere where logically a HEVCLocalContext should be used.
This commit stops doing this for lavc/hevcdec.c itself.
It also constifies what can be constified in order to make
the nonconst stuff stand out more.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mips/hpeldsp_mmi.c')
0 files changed, 0 insertions, 0 deletions