1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 247d513beb 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>
2022-07-25 23:35:45 +02:00
..
2022-03-15 09:42:39 -03: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
2022-06-24 15:37:23 +08:00
2022-06-24 15:37:23 +08: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
2022-03-15 09:42:41 -03:00
2022-03-15 09:42:41 -03:00
2022-01-26 15:30:28 +01:00
2022-07-20 16:12:08 +02:00
2022-06-25 09:05:58 +08: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
2022-02-07 00:31:23 +01: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
2022-04-10 20:12:23 +02:00
2022-06-25 09:05:58 +08:00
2022-03-15 09:42:45 -03:00