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

Muhammad Faiz mfcc64 at gmail.com
Fri Jul 7 17:07:58 EEST 2017


On Fri, Jul 7, 2017 at 4:26 PM, Clément Bœsch <u at pkh.me> wrote:
> 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.

Fixed. Post new patch.

>
> 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.

I'm currently looking at it.

>
> Interesting benchmarks btw :)
>
> --
> Clément B.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list