[FFmpeg-devel] [PATCH 23/39] lavc/hevcdec: drop redundant HEVCContext.threads_{type, number}

Anton Khirnov anton at khirnov.net
Sat Jun 8 16:07:14 EEST 2024


Quoting Christophe Gisquet (2024-06-08 09:08:01)
> Le ven. 7 juin 2024, 15:05, Anton Khirnov <anton at khirnov.net> a écrit :
> 
> > They are useless duplicates of corresponding AVCodecContext fields.
> >
> 
> FYI, the intent of one field was to be a bit field to simultaneously
> indicate/use frame threading and one of tile, WPP or slice threading, as
> that was also supported in the original decoder. And I kind of remember the
> second to have been supplemented, like dav1d separated number of tile and
> frame threads at one point.

I get that, but IMO that should be implemented in the generic layer, not
inside individual decoders.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list