[FFmpeg-devel] [PATCH 03/10] lavc/hevcdec: allocate local_ctx as array of structs rather than pointers

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Wed Apr 17 12:29:18 EEST 2024


Anton Khirnov:
> It is more efficient and easier to manage.
> ---

Allocating structures used by slice contexts jointly has the potential
downside of false sharing if the structures are not sufficiently
aligned/padded.

- Andreas



More information about the ffmpeg-devel mailing list