From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 39C4443F76 for ; Wed, 21 Dec 2022 21:35:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9249968B9DB; Wed, 21 Dec 2022 23:35:24 +0200 (EET) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7F02A680581 for ; Wed, 21 Dec 2022 23:35:18 +0200 (EET) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 8248560007 for ; Wed, 21 Dec 2022 21:35:17 +0000 (UTC) Date: Wed, 21 Dec 2022 22:35:16 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20221221213516.GC3806951@pb2> References: <20221221142256.7955-1-timo@rothenpieler.org> <20221221142256.7955-2-timo@rothenpieler.org> MIME-Version: 1.0 In-Reply-To: <20221221142256.7955-2-timo@rothenpieler.org> Subject: Re: [FFmpeg-devel] [PATCH v7 2/2] avcodec/mjpegdec: add support for frame threading X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============5046206591983661815==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5046206591983661815== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="GkyPMzQoklWKZOV/" Content-Disposition: inline --GkyPMzQoklWKZOV/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > 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: =2E/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 [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The smallest minority on earth is the individual. Those who deny=20 individual rights cannot claim to be defenders of minorities. - Ayn Rand --GkyPMzQoklWKZOV/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCY6N8DQAKCRBhHseHBAsP q8pzAJ9zwzvRerjYNn0CJcInGWnwPStXJQCeLcNea+3DUUnPdYF0DaEq2jD2yL0= =O8F9 -----END PGP SIGNATURE----- --GkyPMzQoklWKZOV/-- --===============5046206591983661815== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============5046206591983661815==--