[FFmpeg-devel] [PATCH v2 000/162] VLC, esp. init_vlc patches

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Sun Dec 6 21:04:26 EET 2020


Andreas Rheinhardt:
> This is the second version of my init_vlc patchset [1]. Given the
> feedback I received for the last version I stressed thread-safety of
> init functions of decoders. As a consequence, the amount of decoders
> with FF_CODEC_CAP_INIT_THREADSAFE increased by 25 (some of them were
> already thread-safe, just the flag was missing). I am not finished yet*,
> but I don't see a reason to postpone sending this patchset already.
> 
> It now saves 146KiB from the binary (and much more when using hardcoded
> tables).
> 
> [1]: https://ffmpeg.org/pipermail/ffmpeg-devel/2020-November/272127.html
> 
> Two patches of this patchset (#55 and #161) change MIPS code; this is
> untested as I don't have a MIPS. Would be nice if someone could test it. 
> 
> *: AAC needs much more work (e.g. these decoders claim to be
> init-threadsafe, but aren't).
> 

Will apply this set tomorrow (with the exception of VC-1, where I think
I missed a slight optimization) unless there are objections.

- Andreas


More information about the ffmpeg-devel mailing list