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

Anton Khirnov anton at khirnov.net
Wed Oct 25 16:42:00 EEST 2023


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.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/hevc_mvs.c  | 2 +-
>  libavcodec/hevc_refs.c | 5 ++---
>  libavcodec/hevcdec.c   | 6 +++---
>  libavcodec/hevcdec.h   | 2 +-
>  4 files changed, 7 insertions(+), 8 deletions(-)

Ok

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list