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 2C90E42045 for ; Sat, 26 Mar 2022 14:14:42 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 4ECED68B1E1; Sat, 26 Mar 2022 16:14:39 +0200 (EET) Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 86B3568ACAB for ; Sat, 26 Mar 2022 16:14:33 +0200 (EET) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id A6820100003 for ; Sat, 26 Mar 2022 14:14:32 +0000 (UTC) Date: Sat, 26 Mar 2022 15:14:31 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220326141431.GZ2829255@pb2> References: <20220325230650.29751-1-michael@niedermayer.cc> <20220325230650.29751-2-michael@niedermayer.cc> MIME-Version: 1.0 In-Reply-To: <20220325230650.29751-2-michael@niedermayer.cc> Subject: Re: [FFmpeg-devel] [PATCH 2/2] avformat: Do not search through the AVOption table for a option not in it repeatedly on each packet 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="===============4150660074839383499==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============4150660074839383499== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HShZ9mKAOB5hSJfb" Content-Disposition: inline --HShZ9mKAOB5hSJfb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 26, 2022 at 12:06:50AM +0100, Michael Niedermayer wrote: > This search takes alot of time especially when compared with small packets >=20 > Signed-off-by: Michael Niedermayer > --- > libavformat/demux.c | 15 +++++++++------ > libavformat/internal.h | 5 +++++ > 2 files changed, 14 insertions(+), 6 deletions(-) with amr-nb in 3gp this changes=20 =2E/ffmpeg -i matrixbench_mpeg2.mpg -ar 8000 -ac 1 -acodec amr_nb -ab 4.75k= -vn test.3gp =2E/ffmpeg -i test.3gp -f null - 46631 decicycles in read_frame_internal, 8191 runs, 1 skips to 15719 decicycles in read_frame_internal, 8188 runs, 4 skips [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The real ebay dictionary, page 1 "Used only once" - "Some unspecified defect prevented a second use" "In good condition" - "Can be repaird by experienced expert" "As is" - "You wouldnt want it even if you were payed for it, if you knew .= =2E." --HShZ9mKAOB5hSJfb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYj8fwwAKCRBhHseHBAsP qwQZAJ9bupijdTCkeK8xnWd+rrxgYmBCFACfYNOFtX+Q61bwCRwODOdl+JxGiOY= =wpXN -----END PGP SIGNATURE----- --HShZ9mKAOB5hSJfb-- --===============4150660074839383499== 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". --===============4150660074839383499==--