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 B8BC645E2D for ; Fri, 12 May 2023 14:09:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id ABC4668BF6F; Fri, 12 May 2023 17:09:19 +0300 (EEST) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6D1EB68BF6F for ; Fri, 12 May 2023 17:09:13 +0300 (EEST) Received: (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 9F2BEFF802 for ; Fri, 12 May 2023 14:09:12 +0000 (UTC) Date: Fri, 12 May 2023 16:09:11 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20230512140911.GD1391451@pb2> References: MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] swresample: reuse DSP functions from avutil 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="===============3507593111511912129==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3507593111511912129== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Th5JPit8I3Q6/gDv" Content-Disposition: inline --Th5JPit8I3Q6/gDv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 10, 2023 at 04:25:06PM +0200, Paul B Mahol wrote: > Attached. > rematrix.c | 30 ++++++++++++++++++++++++++++-- > swresample.c | 5 +++++ > swresample_internal.h | 2 ++ > 3 files changed, 35 insertions(+), 2 deletions(-) > 2de854b7e4bacb3ea469a2fa6495053b679ae779 0001-swresample-reuse-DSP-funct= ions-from-avutil.patch > From 1f6aded57aab1fd8c6c7ba6fa5261d7979666f66 Mon Sep 17 00:00:00 2001 > From: Paul B Mahol > Date: Wed, 10 May 2023 15:41:01 +0200 > Subject: [PATCH] swresample: reuse DSP functions from avutil >=20 > Improves generic mixing dramatically. Crashes libswresample/tests/swresample TEST: mono->quad, rate:16000->48000, fmt:dblp->dbl =3D=3D9257=3D=3D=20 =3D=3D9257=3D=3D Process terminating with default action of signal 11 (SIGS= EGV) =3D=3D9257=3D=3D General Protection Fault =3D=3D9257=3D=3D at 0x15552E: ??? (libavutil/x86/float_dsp.asm:290) =3D=3D9257=3D=3D by 0x115B2A: swr_convert_internal (swresample.c:768) =3D=3D9257=3D=3D by 0x116676: swr_convert (swresample.c:889) =3D=3D9257=3D=3D by 0x11202E: main (swresample.c:355) =3D=3D9257=3D=3D=20 =3D=3D9257=3D=3D HEAP SUMMARY: =3D=3D9257=3D=3D in use at exit: 798,232 bytes in 59 blocks =3D=3D9257=3D=3D total heap usage: 352 allocs, 293 frees, 21,612,392 byte= s allocated =3D=3D9257=3D=3D=20 =3D=3D9257=3D=3D LEAK SUMMARY: =3D=3D9257=3D=3D definitely lost: 2,992 bytes in 34 blocks =3D=3D9257=3D=3D indirectly lost: 0 bytes in 0 blocks =3D=3D9257=3D=3D possibly lost: 0 bytes in 0 blocks =3D=3D9257=3D=3D still reachable: 795,240 bytes in 25 blocks =3D=3D9257=3D=3D suppressed: 0 bytes in 0 blocks =3D=3D9257=3D=3D Rerun with --leak-check=3Dfull to see details of leaked me= mory =3D=3D9257=3D=3D=20 =3D=3D9257=3D=3D For counts of detected and suppressed errors, rerun with: = -v =3D=3D9257=3D=3D ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 fro= m 0) Segmentation fault (core dumped) =20 [...] =20 --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Democracy is the form of government in which you can choose your dictator --Th5JPit8I3Q6/gDv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZF5IgwAKCRBhHseHBAsP qzGJAKCLReNeIvVWEiq1sIP+ATFKZdt1XACfYSxR1EfHz7tmqS2yFLg8gktKM0A= =ZX+L -----END PGP SIGNATURE----- --Th5JPit8I3Q6/gDv-- --===============3507593111511912129== 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". --===============3507593111511912129==--