[FFmpeg-devel] [PATCH] avfilter/pthread: rewrite implementation

Clément Bœsch u at pkh.me
Fri Jul 7 12:26:46 EEST 2017


On Fri, Jul 07, 2017 at 09:25:46AM +0700, Muhammad Faiz wrote:
> Avoid pthread_cond_broadcast that wakes up all workers. Make each of them
> uses distict mutex/cond.
> 

Please make sure this doesn't make tsan go crazy.

Also, the code is pretty much based on lavc/pthread_slice.c, so you may
want to keep differences low by applying your changes in lavc as well. I'm
sure people will be happy if libavcodec gets faster.

Interesting benchmarks btw :)

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170707/d330ed2d/attachment.sig>


More information about the ffmpeg-devel mailing list