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 8F4304CF15 for ; Sat, 14 Jun 2025 20:52:35 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id F416B68CD66; Sat, 14 Jun 2025 23:52:31 +0300 (EEST) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id A863368C11C for ; Sat, 14 Jun 2025 23:52:24 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 019DD1F433 for ; Sat, 14 Jun 2025 20:52:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1749934344; 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=nefZqzRypReWQRVKD+AwMHByLW1rZbTjUuwYzolFYUQ=; b=B7I2nIRY8bvdcrs8gwA+l4jcN3EiOkh2ul9paYX6avdu47UJVVByAyVffTOCEg/D8bmlfp izic+fwSzTgp7nqyx6z9wP3DGNuFlHQrvV6OB93pgY6d8+3VAWk2dyUn0e+pJNxCwEA4Ph /58mrcplj5aoa/pHeVTOxPIjRFXXUTnhgjlpJJd25EORmJe8b7qliSIUdayFCDMLLxQvT6 yX8sOG3gs8c7neD3PkC6utEuSX6JYI5GU1tXMriwT1Nis/tUl6W8Cj4gtGqNUOGxduDop2 ZXMIoFExQsX0b+izouqclTV8E0srKcyn++PaTClnJ8vlBsYFh/+7YHeQYQECmQ== Date: Sat, 14 Jun 2025 22:52:22 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250614205222.GM29660@pb2> References: <90c31845-ef4f-4aa2-b87d-93800e1a469b@gmail.com> <20250530005839.GG29660@pb2> <20250602183927.GE29660@pb2> <4faf47d3-54f4-4bfd-9695-0e5a03d8fe2f@gmail.com> <20250607232530.GJ29660@pb2> MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugddvudekfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepffeltdefveefffehueeuhfdtjeeileeufedtiedtgfehteegffeffeetkefftdfhnecuffhomhgrihhnpehffhhmphgvghdrohhrghenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] add yuv444p support to mcdeint 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="===============0149026509064690694==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0149026509064690694== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YDdC2tx7R8CNB5go" Content-Disposition: inline --YDdC2tx7R8CNB5go Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 08, 2025 at 01:07:37AM -0500, Ethan Halsall wrote: > Hi Michael, >=20 > On 6/7/25 6:25 PM, Michael Niedermayer wrote: > > Hi Ethan > >=20 > > On Sat, Jun 07, 2025 at 12:15:06PM -0500, Ethan Halsall wrote: > >> Hi Michael, > > [...] > >> @@ -201,8 +203,14 @@ static int filter_frame(AVFilterLink *inlink, AVF= rame *inpic) > >> =20 > >> for (i =3D 0; i < 3; i++) { > >> int is_chroma =3D !!i; > >> - int w =3D AV_CEIL_RSHIFT(inlink->w, is_chroma); > >> - int h =3D AV_CEIL_RSHIFT(inlink->h, is_chroma); > >> + int w, h; > >> + if (is_chroma) { > >> + w =3D inlink->w >> pix_fmt_desc->log2_chroma_w; > >> + h =3D inlink->h >> pix_fmt_desc->log2_chroma_h; > >=20 > > why is this not using AV_CEIL_RSHIFT() ? > >=20 > > thx > >=20 > > [...] > >=20 > >=20 > > _______________________________________________ > > ffmpeg-devel mailing list > > ffmpeg-devel@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > >=20 > > To unsubscribe, visit link above, or email > > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". >=20 > I was just using a plain right shift as I was experimenting with this. Se= ems to work fine with the macro so I can put it back if that's more convent= ional. will apply thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The day soldiers stop bringing you their problems is the day you have stopp= ed=20 leading them. They have either lost confidence that you can help or conclud= ed=20 you do not care. Either case is a failure of leadership. - Colin Powell --YDdC2tx7R8CNB5go Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaE3hBgAKCRBhHseHBAsP qy8BAKCO7TeSQ9555FsL4E+hzY/JzYCx4wCeP92em002EhAaF/kltTa4tJLlA0k= =oySE -----END PGP SIGNATURE----- --YDdC2tx7R8CNB5go-- --===============0149026509064690694== 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". --===============0149026509064690694==--