Re: [FFmpeg-devel] [PATCH 39/42] avcodec/hevcdec: Move collocated_ref to HEVCContext

2023-10-25 Thread Anton Khirnov
Quoting Andreas Rheinhardt (2023-09-19 21:57:31) > Only the collocated_ref of the current frame (i.e. HEVCContext.ref) > is ever used*, so move it to HEVCContext directly after ref. > > *: This goes so far that collocated_ref was not even synced across > threads in case of frame-threading. > > Si

[FFmpeg-devel] [PATCH 39/42] avcodec/hevcdec: Move collocated_ref to HEVCContext

2023-09-19 Thread Andreas Rheinhardt
Only the collocated_ref of the current frame (i.e. HEVCContext.ref) is ever used*, so move it to HEVCContext directly after ref. *: This goes so far that collocated_ref was not even synced across threads in case of frame-threading. Signed-off-by: Andreas Rheinhardt --- libavcodec/hevc_mvs.c |