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 E1D224D741 for ; Sun, 1 Jun 2025 22:07:42 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id E213168DCE8; Mon, 2 Jun 2025 01:07:37 +0300 (EEST) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id BBD1A68DCDF for ; Mon, 2 Jun 2025 01:07:30 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id F2EDB432FA for ; Sun, 1 Jun 2025 22:07:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1748815650; 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=T1U0fqoaJS8P2uY4OJ1OjYaBgl/bCPtRTZ5bfviT9Cc=; b=hB7ycLkEoPTNrzFV/NLtNaFFpibMJ75WPyi68wL871xKC7WKzYV0SPx3Jf7Vqfwsx2Sl4c Q65a+Y8iUBxGo7vic7vo7+DCrs+9SMQ7Cqk6p4WF6joLNoasyudR/lMtMZMxZbPO98lAkI mvsvUE4z2JcmOK6HVYwff0Y0p/jV6mqLFKEO8BnA8XxD+AtyR5bKqwHjY2LmvYdpCnLQew S2+/y3AkK6kdhBZQX53TdGtR/C9/JAikREqiwr2RWhQGKsp1dPpnBO7phdFIoNmN1Kr+Xc WfrbE3JrHCYFRAM7ELgd9metlD6ik9+0/oIv1DmqvCM0PmWMtvApxelbv9fFYg== Date: Mon, 2 Jun 2025 00:07:28 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250601220728.GY29660@pb2> References: <20250531133215.64025-1-michael@niedermayer.cc> <4259f84c-c6f3-3f94-917d-d32a0c0a79b3@passwd.hu> MIME-Version: 1.0 In-Reply-To: <4259f84c-c6f3-3f94-917d-d32a0c0a79b3@passwd.hu> X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdefheelheculddtuddrgeefvddrtddtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdlfedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/2] Replace FFMIN/FFMAX by type specific macros 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="===============1077540509868349076==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============1077540509868349076== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wdAtavOaSyB5+AHQ" Content-Disposition: inline --wdAtavOaSyB5+AHQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi On Sat, May 31, 2025 at 07:40:40PM +0200, Marton Balint wrote: >=20 >=20 > On Sat, 31 May 2025, Michael Niedermayer wrote: >=20 > > This allows adjusting them to exactly match whatever is fastest on > > a given CPU for each type. >=20 > Did you use some tool to make this patch, or it was just manual work? >=20 > Can't you use C11 generics to make this somewhat automatic? IIRC Remi said that he hit ICE with generics >=20 > And if we are introducing something new, do we really want to stick to > MIN/MAX macros which possibly evaluate their argument multiple times? It = was > always an issue, so I would love to see us moving away from it. if one wants to change to a static inline function, this patch is probably a (required) first step thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Some Animals are More Equal Than Others. - George Orwell's book Animal Farm --wdAtavOaSyB5+AHQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaDzPDAAKCRBhHseHBAsP q3USAKCWn3FzSxdR30Zkm9qQPEE/a4HNSQCbBr9xZbmXJo8EzJsKD1L0el0Eup8= =oaio -----END PGP SIGNATURE----- --wdAtavOaSyB5+AHQ-- --===============1077540509868349076== 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". --===============1077540509868349076==--