Re: [FFmpeg-devel] [PATCH v7 2/2] avcodec/mjpegdec: add support for frame threading

2022-12-21 Thread Michael Niedermayer
On Wed, Dec 21, 2022 at 03:22:56PM +0100, Timo Rothenpieler wrote: > In my tests, this lead to a notable speed increase with the amount > of threads used. Decoding a 720p sample gave the following results: > > 1 Thread: 1428 FPS > 2 Threads: 2501 FPS > 8 Threads: 7575 FPS > Automatic: 11326 FPS (O

[FFmpeg-devel] [PATCH v7 2/2] avcodec/mjpegdec: add support for frame threading

2022-12-21 Thread Timo Rothenpieler
In my tests, this lead to a notable speed increase with the amount of threads used. Decoding a 720p sample gave the following results: 1 Thread: 1428 FPS 2 Threads: 2501 FPS 8 Threads: 7575 FPS Automatic: 11326 FPS (On a 16 Core/32 Threads system) --- libavcodec/jpeglsdec.c | 2 +- libavcodec/mj