From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id 3C53F466C1
	for <ffmpegdev@gitmailbox.com>; Fri, 21 Mar 2025 21:37:10 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9122F687C17;
	Fri, 21 Mar 2025 23:37:06 +0200 (EET)
Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net
 [217.70.183.201])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0BCCD687B8A
 for <ffmpeg-devel@ffmpeg.org>; Fri, 21 Mar 2025 23:36:59 +0200 (EET)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 3A13244446
 for <ffmpeg-devel@ffmpeg.org>; Fri, 21 Mar 2025 21:36:59 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc;
 s=gm1; t=1742593019;
 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=3JIOEPzTycHuB3GBxWtVLLu8SfW63GKlao6fyTGT81c=;
 b=jqbAFfpXlr+zOP4SZHOAp0wB4M/pYDhZ0157EhPPtHiYkNwhOrS4/zTV/xjlO7IgZ8GUSG
 C8yd2+T8nX+KO0do3gP1qQFcbmoaKvg9m4a6ttuANmMWX6RS1JUbOQ425bTfQFe4P4h5wo
 6L8q5Vd9p9726vb/5VSNolW5uOB9E6In+jQE73HsvaUaVdaFsFQptVMVf7XIDVFZecakqF
 xg3s4hRyqztj8nOWnBv9nFTbwYZI4nVcYVmb0ppzHJxwmADA74MNIBUCVNhWOeAuYmnN4E
 vYpw5tLOWbe6saT0hIWh2YkHIiaAxKbPS1DciLzV7Bnj1aCXrgQEP2Lv6MUq8A==
Date: Fri, 21 Mar 2025 22:36:58 +0100
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20250321213658.GH4991@pb2>
References: <20250320223028.3469435-1-michael@niedermayer.cc>
 <5f802aaa-958b-49c3-9b4e-3b36e97b244c@lynne.ee>
 <20250321201349.GF4991@pb2> <20250321211250.GG4991@pb2>
MIME-Version: 1.0
In-Reply-To: <20250321211250.GG4991@pb2>
X-GND-State: clean
X-GND-Score: -70
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduhedvudelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg
X-GND-Sasl: michael@niedermayer.cc
Subject: Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Implement 2D RLE for remap
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: multipart/mixed; boundary="===============2871016346172637384=="
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250321213658.GH4991@pb2/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>


--===============2871016346172637384==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="TYe9bb7u2rGovSHQ"
Content-Disposition: inline


--TYe9bb7u2rGovSHQ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 21, 2025 at 10:12:50PM +0100, Michael Niedermayer wrote:
> Hi
>=20
> On Fri, Mar 21, 2025 at 09:13:49PM +0100, Michael Niedermayer wrote:
> > On Fri, Mar 21, 2025 at 12:07:30AM +0100, Lynne wrote:
> > > On 20/03/2025 23:30, Michael Niedermayer wrote:
> > > > This performs about as good as the non LRU system for 16bit and
> > > > better than then the LRU system for 16 converted to 32. So
> > > > its basically performing best in all cases we have atm making
> > > > the LRU system unneeded.
> > >=20
> > > Test on *real* 32-bit content, please. You can generate some by using=
 the
> > > tonemap filter, or any of the others that support it.
> >=20
> > iam happy to test tonemap output but
> > tonemap output is not "real content" either
>=20
> tested the previous LRU code and this with ACES_OT_VWG run through tonemap
> this still performs better than the previous LRU code.

heres the test results,
the try1 and try256 case try hardcoded mul values of 1 and 256, they
perform worse than the automatically selected ones
noremapstor simply does not store the remap table and thus shows how big th=
at
table is (its quite huge with the tonemap output)
the rest shows that the LRU code performs worse in every tested case
that gz file is just a sanity check to ensure that we arent writing tons
of low entropy data.

-rw-r----- 1 michael michael  694591360 Mar 21 21:57 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-noremapstor.nut
-rw-r----- 1 michael michael  916492722 Mar 21 21:54 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr.nut.gz
-rw-r----- 1 michael michael  917135003 Mar 21 21:54 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr.nut
-rw-r----- 1 michael michael  921698263 Mar 21 22:03 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-try256.nut
-rw-r----- 1 michael michael  921725671 Mar 21 22:04 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-tryLRU.nut
-rw-r----- 1 michael michael  921729598 Mar 21 22:01 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-try1.nut
-rw-r----- 1 michael michael  928459175 Mar 21 22:23 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-try-linear.nut
-rw-r----- 1 michael michael  932903780 Mar 21 22:22 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-tryLRU-linear.nut
-rw-r----- 1 michael michael 1100100630 Mar 21 22:24 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-try-gamma.nut
-rw-r----- 1 michael michael 1101005617 Mar 21 22:22 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-tryLRU-gamma.nut
-rw-r----- 1 michael michael 1150326564 Mar 21 22:23 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-try-hable.nut
-rw-r----- 1 michael michael 1153310394 Mar 21 22:22 float-303503-c1-m2-s40=
-tmf32-nolsb-retrrr-tryLRU-hable.nut

[...]

--=20
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The difference between a dictatorship and a democracy is that every 4 years
the population together is allowed to provide 1 bit of input to the governm=
ent.

--TYe9bb7u2rGovSHQ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ93b9wAKCRBhHseHBAsP
q7/WAKCVvFmr/7LARCam8F6rEmamz7sg7gCeOWCMVrKjXmmaCraPeLSoyewUjEs=
=b+5d
-----END PGP SIGNATURE-----

--TYe9bb7u2rGovSHQ--

--===============2871016346172637384==
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".

--===============2871016346172637384==--