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 A39AE4BC1E for <ffmpegdev@gitmailbox.com>; Thu, 3 Apr 2025 00:07:48 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 877CB68B124; Thu, 3 Apr 2025 03:07:44 +0300 (EEST) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1CC5668AE6B for <ffmpeg-devel@ffmpeg.org>; Thu, 3 Apr 2025 03:07:38 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 03F1B44296 for <ffmpeg-devel@ffmpeg.org>; Thu, 3 Apr 2025 00:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1743638857; 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=+bK9YSSUhM5F2RoFoRQuvYtVvK79o93rUpHmFajP2wA=; b=aYu3TYz5vI523VhmtBgrjo0EnL8gft7T0yicBci8cTg4HegsaT27IPW7y63Ael45bACLsO iFk6p6f5iFg2aEq5aK4iZ7K6a0AZAjXg0/nuIZN+3WdPnmDvX4Ij0Y3abHNT5oJwwxNJHQ 3wqYB2bXTDhdLDI6Y5Yq82vUe3RDggzpyR4JMk9o7Aultd6sYnXx5fGNNOur9T0d0o8tO9 WpFmsNWoFGwvOcqAkRNyrRt/aHArjZEbiSi605FDwHagSVVYDgf0Bl3IrTJTbdneZDgFv6 9OyZXW6/CpeMKgmKzu3f1o7WsDFiWPP1Eot05yosodCgDzc3Zlb1vH01N8H7UQ== Date: Thu, 3 Apr 2025 02:07:36 +0200 From: Michael Niedermayer <michael@niedermayer.cc> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Message-ID: <20250403000736.GM4991@pb2> References: <20250402211317.3079829-1-michael@niedermayer.cc> <72c55c0a-3bb2-44dc-a646-663421c20630@mediaarea.net> MIME-Version: 1.0 In-Reply-To: <72c55c0a-3bb2-44dc-a646-663421c20630@mediaarea.net> X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddukeejtdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddunecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpedutedvhfduuedugedufefghefhvedvgffgffekhfdvgfdvtefftdejkeehteefheenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Store slices*planes with the minimum bits needed after 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="===============7278382187944883217==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250403000736.GM4991@pb2/> List-Archive: <https://master.gitmailbox.com/ffmpegdev/> List-Post: <mailto:ffmpegdev@gitmailbox.com> --===============7278382187944883217== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="t3aM3+0gjlXKVbIZ" Content-Disposition: inline --t3aM3+0gjlXKVbIZ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Jerome On Wed, Apr 02, 2025 at 11:31:53PM +0200, Jerome Martinez wrote: > Le 02/04/2025 =E0 23:13, Michael Niedermayer a =E9crit=A0: > > [...] > >=20 > > This improves compression as wrap around can be cheaper to reach a > > value. >=20 >=20 > There is an issue in FFV1 version <=3D3 with RCT, bit depth of resulting > luminance plane was 1 more than needed (RCT adds 1 bit to chrominance but > not to luminance, but with current spec all planes have 1 additional bit), > preventing in practice the wrap around for luminance, do I understand well > that the remap would mitigate such issue? yes, in fact with version 4 that issue is fixed with this patch without rem= ap too and its not just the luminance plane, its alpha too thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Its not that you shouldnt use gotos but rather that you should write readable code and code with gotos often but not always is less readable --t3aM3+0gjlXKVbIZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ+3RRAAKCRBhHseHBAsP q/ZDAJ9kPb2L5PLw7ariDSI1pUip+U6HPgCfc9m0p/Q1t4HOzerBAtklj2JJ8XM= =ri3I -----END PGP SIGNATURE----- --t3aM3+0gjlXKVbIZ-- --===============7278382187944883217== 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". --===============7278382187944883217==--