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 6076D46087 for ; Wed, 28 Feb 2024 22:45:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7A24A68CE08; Thu, 29 Feb 2024 00:45:32 +0200 (EET) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E638C68C50C for ; Thu, 29 Feb 2024 00:45:25 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id B7DC01C0003 for ; Wed, 28 Feb 2024 22:45:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1709160324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0CLL48F6Ow+k8VaXNLbAiEBYtIXDiZNZyn5us+h+qlc=; b=YV41FcPAEVwqfpF3BBDcOMP/jBmc/cCEkiyIG20c7D3qe1hBQu4DWUQUxwnY5MuW9VAV/E qMUrlr3L3NTeNGTKtlInFv+kuV9KbARJlnF4LdTEzi5sJtfrI+sBPAP/HuZf/4FYuhkuYd ePbFsQu375usTwgPN3pRbO6FUkVqOmq3t2BxH4ajITzHg5RR+/Z2BPYp4+1T0t0Rd/Koi7 hKhTL1Pl3sN4xby5R/ZK8IMFlGRPnWD11v7U925uXrLIgjOnfP1kAZWMKdHUwq5opTt7gf C06w6LIOIU9FvLEsIScfijM0GzVxE1oOJCHGrrtTtXRWWz++uE4FTVw4ay+IHA== Date: Wed, 28 Feb 2024 23:45:24 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240228224524.GC6420@pb2> References: <20240226221940.GV6420@pb2> <20240227094810.1182-1-cus@passwd.hu> <20240227094810.1182-2-cus@passwd.hu> <20240227175430.GZ6420@pb2> <32af9267-5aec-bfe0-9740-9290a0912b48@passwd.hu> MIME-Version: 1.0 In-Reply-To: <32af9267-5aec-bfe0-9740-9290a0912b48@passwd.hu> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 2/2] swresample/resample: rework resample_one function to work the same way as the others 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="===============1122875292644932388==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1122875292644932388== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="BTWNFtsIlSqq9TbA" Content-Disposition: inline --BTWNFtsIlSqq9TbA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 27, 2024 at 09:50:49PM +0100, Marton Balint wrote: >=20 >=20 > On Tue, 27 Feb 2024, Michael Niedermayer wrote: >=20 > > On Tue, Feb 27, 2024 at 10:48:10AM +0100, Marton Balint wrote: > > > Signed-off-by: Marton Balint > > > --- > > > libswresample/resample.c | 29 +++++++---------------------- > > > libswresample/resample.h | 4 ++-- > > > libswresample/resample_template.c | 14 ++++++++++++-- > > > 3 files changed, 21 insertions(+), 26 deletions(-) > >=20 > > what effect does this have on speed ? >=20 > For the following command line >=20 > time ./ffprobe -f lavfi \ > "sine=3D440:r=3D8000:d=3D86400:samples_per_frame=3D2048,aresample=3D24000= :filter_size=3D1:phase_shift=3D0" \ > -show_packets >/dev/null >=20 > Before the patch: >=20 > real 0m3,916s > user 0m3,812s > sys 0m0,104s >=20 > After the patch: >=20 > real 0m3,597s > user 0m3,457s > sys 0m0,140s >=20 > So it actually speed things up. is resample_one used in both cases ? thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The educated differ from the uneducated as much as the living from the dead. -- Aristotle=20 --BTWNFtsIlSqq9TbA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZd+3fQAKCRBhHseHBAsP qzQ6AJ9+KONCXMiWnGjVceSNbXpIRwvgeACggeDUdLLPFg353H6IqFx283AOKQY= =1+Wy -----END PGP SIGNATURE----- --BTWNFtsIlSqq9TbA-- --===============1122875292644932388== 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". --===============1122875292644932388==--