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

Michael Niedermayer michael at niedermayer.cc
Wed Dec 21 23:35:16 EET 2022


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 (On a 16 Core/32 Threads system)
> ---
>  libavcodec/jpeglsdec.c |  2 +-
>  libavcodec/mjpegdec.c  | 11 ++++++-----
>  libavcodec/sp5xdec.c   |  4 ++--
>  3 files changed, 9 insertions(+), 8 deletions(-)

Changes output for:
./ffmpeg  -an -i ~/tickets/1915/m_noint.avi -an -bitexact -f framecrc  -

will mail you the file as it seems its not on trac

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The smallest minority on earth is the individual. Those who deny 
individual rights cannot claim to be defenders of minorities. - Ayn Rand
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20221221/2ea22dfd/attachment.sig>


More information about the ffmpeg-devel mailing list