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 1CAA94FF29 for ; Thu, 3 Jul 2025 21:15:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 5D8A568F30A; Fri, 4 Jul 2025 00:15:25 +0300 (EEST) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id ED5D068F2A9 for ; Fri, 4 Jul 2025 00:15:18 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 55ACF43183 for ; Thu, 3 Jul 2025 21:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1751577318; 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=/nVXr+D8W2qCduFLAMMwikN7UxgZdejfHZnYKpP4QYw=; b=FnzmHn0V+qe8KZVqU1QZ5ZSsuALORJbmcXYu3rck48sVBbh44lW3Vfm22qs9cfhYPqI5/n bkSioKrpoZGJaOjY5NATraDFs08mCHXY6toR7nAFs8FRmj2eRJzqDHyQPeqinXk+XgNH7I qEeK4sHJdZz/iPAvPHilkxhq2J4+/tzpm/O5QlGJQl4vYgL4Na3PItzOlSsrm3BJUSgzvn crG8A8705R6yhUZZPysraUxNe5ufn2BfrOkmG3SCmemZkdXBP7yWvcDwXihPpt9ulS2o0/ xcQUQ6CdF0Jfcl7mujTY4mlyn8zcb4CtDa1bmKHchne7WmEBR1Lrw/kSYyKpAg== Date: Thu, 3 Jul 2025 23:15:17 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250703211517.GN29660@pb2> References: MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddvudefvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeiiedrvddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeiiedrvddvjedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 1/3] avutil/hwcontext_cuda: Expands pixel formats support 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="===============6583051170079052742==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6583051170079052742== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gQhNQKLVh1M7FeXK" Content-Disposition: inline --gQhNQKLVh1M7FeXK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 03, 2025 at 04:25:18PM +0200, Diego Felix de Souza via ffmpeg-d= evel wrote: > Date: Thu, 3 Jul 2025 16:25:18 +0200 > From: ddesouza@nvidia.com > To: ffmpeg-devel@ffmpeg.org > CC: Diego de Souza > Subject: [PATCH 1/3] avutil/hwcontext_cuda: Expands pixel formats support >=20 > From: Diego de Souza >=20 > Add support for additional pixel formats in CUDA hardware context: > - Planar formats (yuv420p10, yuv422p, yuv422p10, yuv444p10) > - Semiplanar formats (nv16, p210, p216) >=20 > Signed-off-by: Diego de Souza > --- > libavutil/hwcontext_cuda.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) >=20 > diff --git a/libavutil/hwcontext_cuda.c b/libavutil/hwcontext_cuda.c > index 5721612225..b33d527b00 100644 > --- a/libavutil/hwcontext_cuda.c > +++ b/libavutil/hwcontext_cuda.c > @@ -48,7 +48,12 @@ static const enum AVPixelFormat supported_formats[] = =3D { > AV_PIX_FMT_YUV444P, > AV_PIX_FMT_P010, > AV_PIX_FMT_P016, > - AV_PIX_FMT_P216LE, > + AV_PIX_FMT_P210, > + AV_PIX_FMT_P216, > + AV_PIX_FMT_YUV422P, > + AV_PIX_FMT_YUV420P10, > + AV_PIX_FMT_YUV422P10, > + AV_PIX_FMT_YUV444P10, > AV_PIX_FMT_YUV444P16, > AV_PIX_FMT_0RGB32, > AV_PIX_FMT_0BGR32, > -- > 2.39.5 (Apple Git-154) git seems not to like this patch: Applying: avutil/hwcontext_cuda: Expands pixel formats support error: corrupt patch at line 10 error: could not build fake ancestor Patch failed at 0001 avutil/hwcontext_cuda: Expands pixel formats support [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Opposition brings concord. Out of discord comes the fairest harmony. -- Heraclitus --gQhNQKLVh1M7FeXK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaGby3wAKCRBhHseHBAsP q9RFAJ92VFi3NleNMfNOvC9V+IgKIq8ldwCeIhGwvdhsz+zt3q/v6YpCKfh6bF0= =g3F6 -----END PGP SIGNATURE----- --gQhNQKLVh1M7FeXK-- --===============6583051170079052742== 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". --===============6583051170079052742==--