1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-06-03 16:24:53 +02:00
Files
FFmpeg/libavcodec
Andreas Rheinhardt 136ada2fc3 avcodec/hevc_mvs: 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/hevc_mvs.c; it also constifies
everything that is possible in order to ensure that no slice thread
accidentally modifies the main HEVCContext state.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-07-25 23:31:12 +02:00
..
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2022-07-09 20:06:47 +02:00
2022-07-21 19:27:27 +02:00
2022-07-20 16:12:08 +02:00
2022-06-25 09:05:58 +08:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2022-04-10 20:12:23 +02:00
2022-06-25 09:05:58 +08:00