Re: [FFmpeg-devel] [PATCH 07/39] lavc/ffv1: add a per-slice context

2024-07-24 Thread Michael Niedermayer
On Tue, Jul 16, 2024 at 07:11:22PM +0200, Anton Khirnov wrote: > FFV1 decoder and encoder currently use the same struct - FFV1Context - > both as codec private data and per-slice context. For this purpose > FFV1Context contains an array of pointers to per-slice FFV1Context > instances. > > This

[FFmpeg-devel] [PATCH 07/39] lavc/ffv1: add a per-slice context

2024-07-16 Thread Anton Khirnov
FFV1 decoder and encoder currently use the same struct - FFV1Context - both as codec private data and per-slice context. For this purpose FFV1Context contains an array of pointers to per-slice FFV1Context instances. This pattern is highly confusing, as it is not clear which fields are per-slice