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 399CE4C59B for ; Mon, 26 May 2025 01:30:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id E6C1668CF05; Mon, 26 May 2025 04:30:56 +0300 (EEST) Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 3FB1568CEF1 for ; Mon, 26 May 2025 04:30:50 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 82AF043B05 for ; Mon, 26 May 2025 01:30:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1748223049; 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=nktCRiR55XcelUow7Xcc/exTo9bq6/J5y6HkdOQQmug=; b=VcZSPtwml//N2hgUXoRzedsDcmC4VVMyfgqoKJs6sw3qfB0++xmQsMj9nGSkEapqFwXQlP 8CRn5JRI8rfSoqzfEePhYsllkv5YEisj6crPgvvINcui+lUyjhFlJBKQuh6uyIOx63793e Pe5lZqkNpn78pcZn1Zvp/aoQpx+yzaJEiKlMfb7NwkpGNBTfI+kdaghQfEulISrsRzqBzL 96eF0Xfrv6J54FNq6bwkZRd7gfpZUi4rnK7P/g6jYKrGYi3IYRVjJTwB3eBSYA5rT9uZfx rmfWKNtTdK2pqBC+wr/yZkpl+h3xkW9MW0gtpRRiWEWqEXO7oju0dzxlJ4wdHw== Date: Mon, 26 May 2025 03:30:48 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250526013048.GP29660@pb2> References: <20250523202351.1712778-1-47210458+raphaelthegreat@users.noreply.github.com> <20250523202351.1712778-4-47210458+raphaelthegreat@users.noreply.github.com> MIME-Version: 1.0 In-Reply-To: <20250523202351.1712778-4-47210458+raphaelthegreat@users.noreply.github.com> X-GND-State: clean X-GND-Score: -85 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdduiedvtdculddtuddrgeefvddrtddtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcupfhivgguvghrmhgrhigvrhcuoehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgeqnecuggftrfgrthhtvghrnhepieegkedtjeduffejhfetgeejtdegteetgfegtdfhjefgvefhteegkeejtddvhfevnecukfhppeeguddrieeirdeijedruddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeguddrieeirdeijedruddufedphhgvlhhopehlohgtrghlhhhoshhtpdhmrghilhhfrhhomhepmhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtpdhnsggprhgtphhtthhopedupdhrtghpthhtohepfhhfmhhpvghgqdguvghvvghlsehffhhmphgvghdrohhrgh X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH v5 4/4] lavc: implement a Vulkan-based VC-2 encoder Implements a Vulkan based dirac encoder. Supports Haar and Legall wavelets and should work with all wavelet depths. 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="===============7536982661662169456==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============7536982661662169456== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GWLOz4aYYhiuVukd" Content-Disposition: inline --GWLOz4aYYhiuVukd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 23, 2025 at 11:23:48PM +0300, IndecisiveTurtle wrote: > From: IndecisiveTurtle >=20 > Performance wise, encoding a 3440x1440 1-minute video is performed in abo= ut 2.4 minutes with the cpu encoder running on my Ryzen 5 4600H, while it t= akes about 1.3 minutes on my NVIDIA GTX 1650 >=20 > Haar shader has a subgroup optimized variant that applies when configured= wavelet depth allows it > --- > configure | 1 + > libavcodec/Makefile | 3 + > libavcodec/allcodecs.c | 1 + > libavcodec/vc2enc.c | 2 +- > libavcodec/vc2enc_vulkan.c | 777 +++++++++++++++++++ > libavcodec/vulkan/vc2_dwt_haar.comp | 82 ++ > libavcodec/vulkan/vc2_dwt_haar_subgroup.comp | 75 ++ > libavcodec/vulkan/vc2_dwt_hor_legall.comp | 82 ++ > libavcodec/vulkan/vc2_dwt_upload.comp | 96 +++ > libavcodec/vulkan/vc2_dwt_ver_legall.comp | 78 ++ > libavcodec/vulkan/vc2_encode.comp | 173 +++++ > libavcodec/vulkan/vc2_slice_sizes.comp | 170 ++++ > 12 files changed, 1539 insertions(+), 1 deletion(-) > create mode 100644 libavcodec/vc2enc_vulkan.c > create mode 100644 libavcodec/vulkan/vc2_dwt_haar.comp > create mode 100644 libavcodec/vulkan/vc2_dwt_haar_subgroup.comp > create mode 100644 libavcodec/vulkan/vc2_dwt_hor_legall.comp > create mode 100644 libavcodec/vulkan/vc2_dwt_upload.comp > create mode 100644 libavcodec/vulkan/vc2_dwt_ver_legall.comp > create mode 100644 libavcodec/vulkan/vc2_encode.comp > create mode 100644 libavcodec/vulkan/vc2_slice_sizes.comp changes fate results: --- ./tests/ref/vsynth/vsynth1-vc2-420p 2025-05-23 14:14:31.544448136 +0200 +++ tests/data/fate/vsynth1-vc2-420p 2025-05-26 00:35:09.596187444 +0200 @@ -1,4 +1,4 @@ -74df65b15463f098587d8c09d87286a1 *tests/data/fate/vsynth1-vc2-420p.mov -1155415 tests/data/fate/vsynth1-vc2-420p.mov +bea01eb2c6212e8828802fdb28dc7eaf *tests/data/fate/vsynth1-vc2-420p.mov +1045964 tests/data/fate/vsynth1-vc2-420p.mov 387696707c79cf1a6c9aeff4024226b9 *tests/data/fate/vsynth1-vc2-420p.out.raw= video stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 760320 Test vsynth1-vc2-420p failed. Look at tests/data/fate/vsynth1-vc2-420p.err = for details. [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Everything should be made as simple as possible, but not simpler. -- Albert Einstein --GWLOz4aYYhiuVukd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCaDPEQQAKCRBhHseHBAsP q0GOAJwP7lJPbPIjPgiFTu1UVXbqPXzrOQCfSjNYDujyj3R40VDGxXhaQqaGhBE= =65SN -----END PGP SIGNATURE----- --GWLOz4aYYhiuVukd-- --===============7536982661662169456== 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". --===============7536982661662169456==--