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
..
2021-04-19 14:34:10 +02:00
2022-03-15 09:42:39 -03:00
2021-01-01 15:25:48 +01:00
2022-03-15 09:42:39 -03:00
2022-02-07 00:31:23 +01:00
2022-03-18 19:56:50 +01:00
2022-03-18 19:56:50 +01:00
2020-12-08 17:51:47 +01:00
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08:00
2020-08-26 21:13:38 +02:00
2022-01-04 13:16:49 +01:00
2022-01-04 13:16:49 +01:00
2022-07-09 20:06:47 +02:00
2022-07-21 19:27:27 +02:00
2022-02-24 12:56:49 +01:00
2021-08-05 19:46:33 +02:00
2022-03-15 09:42:41 -03:00
2022-03-15 09:42:41 -03:00
2022-01-26 15:30:28 +01:00
2021-10-09 11:42:16 +02:00
2022-07-20 16:12:08 +02:00
2020-11-24 11:35:03 +01:00
2022-06-25 09:05:58 +08:00
2020-07-20 18:41:09 +02:00
2022-03-15 09:42:43 -03:00
2022-03-15 09:42:43 -03:00
2022-02-18 20:11:06 +01:00
2022-02-18 20:11:06 +01:00
2020-11-11 18:36:09 +01:00
2022-02-07 00:31:23 +01:00
2021-01-01 15:25:48 +01:00
2021-07-22 14:47:57 +02:00
2022-03-16 14:04:35 +02:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2021-07-22 14:47:57 +02:00
2020-11-24 09:38:35 +01:00
2021-10-10 17:44:41 +02:00
2020-01-13 23:26:25 +00:00
2022-04-10 20:12:23 +02:00
2021-04-12 18:29:11 +02:00
2022-06-25 09:05:58 +08:00
2021-01-25 00:18:47 +01:00
2022-03-15 09:42:45 -03:00
2021-09-12 22:23:35 +02:00