[FFmpeg-devel] [PATCH] avfilter/pthread: rewrite implementation
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 :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: not available
More information about the ffmpeg-devel