From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id CC8954F3BB for ; Mon, 16 Jun 2025 14:40:25 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id DE8A968DD68; Mon, 16 Jun 2025 17:40:21 +0300 (EEST) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id F154068CD75 for ; Mon, 16 Jun 2025 17:40:14 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 507B443920 for ; Mon, 16 Jun 2025 14:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1750084814; 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=5MqkyUgyyp8Tu72PROyMmv6qAoU8t5p47TAXx0wkCG4=; b=An8Adob6hzQcgG/OK7sb5tJBGQzlavHHkG3MfQxKDC0CIJwCBtpmNEWBk8uY0nhgMewnkW gkMYz6AXZORQfCnEZd7MovKsVJ1Oq4B4KOZPQ1M92e+2yBdyqQRDVM2wRZXZjJbuAwo6Rh zxCQI0bsplGWWEnz8mp3j3IPCtJeUz2Qez5icJNBz8mYkrX8Eas6jlR8m4G3+cHGj3XthP zTsjxOZBLFrwbef+gzb3eWwE8pf2l9/qVrwcsne+bUWNmRA3fsa5xaYEJ/kkzr1EziEIxP Occi0AuJfq4UkfuPNOPCLfpjAK2aVIXRz6CxPJlf/wLVasRV1NqbgVg9iUrG7w== Date: Mon, 16 Jun 2025 16:40:13 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250616144013.GI29660@pb2> References: <20250616112003.10665-1-ffmpeg@haasn.xyz> <20250616112003.10665-5-ffmpeg@haasn.xyz> MIME-Version: 1.0 In-Reply-To: <20250616112003.10665-5-ffmpeg@haasn.xyz> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugddvieekgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtleenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepfeduhfejtdfgkefggeefteevgfefhfektdekfeeljeeufedvhefghfdvkeevhfeinecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH v2 05/13] avfilter/f_ebur128: move weights and cache to EBUR128DSPContext 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="===============2203532318006004278==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2203532318006004278== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="hVqvjw4P4ljMoDBQ" Content-Disposition: inline --hVqvjw4P4ljMoDBQ Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 16, 2025 at 01:19:53PM +0200, Niklas Haas wrote: > From: Niklas Haas >=20 > --- > libavfilter/f_ebur128.c | 53 +++++++++++++++++------------------------ > libavfilter/f_ebur128.h | 35 +++++++++++++++++++++++++++ > 2 files changed, 57 insertions(+), 31 deletions(-) > create mode 100644 libavfilter/f_ebur128.h >=20 [...] > diff --git a/libavfilter/f_ebur128.h b/libavfilter/f_ebur128.h > new file mode 100644 > index 0000000000..a8247e5aa0 > --- /dev/null > +++ b/libavfilter/f_ebur128.h > @@ -0,0 +1,35 @@ > +/* > + * Copyright (c) 2012 Cl=E9ment B=BDsch > + * Copyright (c) 2025 Niklas Haas > + * > + * This file is part of FFmpeg. > + * > + * FFmpeg is free software; you can redistribute it and/or > + * modify it under the terms of the GNU Lesser General Public > + * License as published by the Free Software Foundation; either > + * version 2.1 of the License, or (at your option) any later version. > + * > + * FFmpeg is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * Lesser General Public License for more details. > + * > + * You should have received a copy of the GNU Lesser General Public > + * License along with FFmpeg; if not, write to the Free Software > + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1= 301 USA > + */ > + > +typedef struct EBUR128Biquad { > + double b0, b1, b2; > + double a1, a2; > +} EBUR128Biquad; > + > +typedef struct EBUR128DSPContext { > + /* Filter data */ > + EBUR128Biquad pre; > + EBUR128Biquad rlb; > + > + /* Cache of 3 samples for each channel */ > + double *y; /* after pre-filter */ > + double *z; /* after RLB-filter */ > +} EBUR128DSPContext; missing double inclusion guards (fails fate-source) thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Into a blind darkness they enter who follow after the Ignorance, they as if into a greater darkness enter who devote themselves to the Knowledge alone. -- Isha Upanishad --hVqvjw4P4ljMoDBQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaFAszQAKCRBhHseHBAsP q6V6AJ0dV+BD/S+O53Zyk+mS8TroAosMTACeOsCR1yD2gBSKfFFzbyQbgdT/Neg= =HAtX -----END PGP SIGNATURE----- --hVqvjw4P4ljMoDBQ-- --===============2203532318006004278== 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". --===============2203532318006004278==--