[FFmpeg-devel] [PATCH] avcodec/pthread_slice: rewrite implementation
Ronald S. Bultje
rsbultje at gmail.com
Sun Jul 9 14:45:33 EEST 2017
On Sun, Jul 9, 2017 at 6:27 AM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
> Avoid pthread_cond_broadcast that wakes up all workers. Make each of them
> uses distict mutex/cond. Also let main thread help running jobs.
Hm... I'm not against this, but I actually had plans to write some
extensions and allow the main thread to do something else (this is probably
fairly vp9-specific), and this would prevent that. In vp9, specifically for
tile decoding, I'd like to use the main thread for 1 thing and the worker
threads for other things. Maybe we can make this configurable?
More information about the ffmpeg-devel