[Cellar] Re: [PATCH v2] ffv1: Support CRC with initial and final values not 0
Michael Niedermayer <michael@niedermayer.cc> Thu, 10 October 2024 16:35 UTC
Return-Path: <michael@niedermayer.cc>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E0F65C15199D for <cellar@ietfa.amsl.com>; Thu, 10 Oct 2024 09:35:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.108
X-Spam-Level:
X-Spam-Status: No, score=-2.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=niedermayer.cc
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0oGwcOeREajL for <cellar@ietfa.amsl.com>; Thu, 10 Oct 2024 09:35:33 -0700 (PDT)
Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0EF7EC151061 for <cellar@ietf.org>; Thu, 10 Oct 2024 09:35:32 -0700 (PDT)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 5A58DFF802; Thu, 10 Oct 2024 16:35:30 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1728578130; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=s538LrRjAsmXi8CaEGvf2fm2//33MgM/nTu0c0feYU0=; b=Lz8/llp1HInma+djYCBYh4uvlHqrFHf0LgvXVXdRPIG3xPEdSf3Pk/qI1ZpcmZO9JTQdu4 xZDImb+zOvu7QVTsF4XaWzg2jcUdZ4+2kPwoeGSkbMxkxl2rPhdrLm4edel6VSrHMpx0J6 oiniaTW/Aj8gZS0vQDVRfwjZmQc8fM5fdLMA/QPpgZQIhXDN22C7smuPSvvhRJcJrhrEMg I4OD3sAWbNkB6tnWvBdWuEuuNEkBJafpefmdMVaHD5X2FRD8aT/e5L1slHmb5Njs3FUgvg 1JfNizp+7hvZHp4gT7njFunxqtf+DIl7Qfn0wgbWYvx1tHAgZcXnmFxV8YdYuA==
Date: Thu, 10 Oct 2024 18:35:29 +0200
From: Michael Niedermayer <michael@niedermayer.cc>
To: Steve Lhomme <slhomme@matroska.org>
Message-ID: <20241010163529.GE4917@pb2>
References: <20240926194313.684278-1-michael@niedermayer.cc> <D0A438D8-D25C-4064-9DD3-9FBDF9404686@matroska.org> <20240928204122.GG4917@pb2> <59DEA005-7662-4AA1-8D98-B02339879A2B@matroska.org>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="y9Bhkr+3dOBEInHY"
Content-Disposition: inline
In-Reply-To: <59DEA005-7662-4AA1-8D98-B02339879A2B@matroska.org>
X-GND-Sasl: michael@niedermayer.cc
Message-ID-Hash: QXF4WKDNSCM7RYY52375FLBGB5JISRSZ
X-Message-ID-Hash: QXF4WKDNSCM7RYY52375FLBGB5JISRSZ
X-MailFrom: michael@niedermayer.cc
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cellar.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
X-Mailman-Version: 3.3.9rc5
Precedence: list
Subject: [Cellar] Re: [PATCH v2] ffv1: Support CRC with initial and final values not 0
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <cellar.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/NxdMJNv6j97owt-fcZuJ3qmL8fw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cellar>
List-Help: <mailto:cellar-request@ietf.org?subject=help>
List-Owner: <mailto:cellar-owner@ietf.org>
List-Post: <mailto:cellar@ietf.org>
List-Subscribe: <mailto:cellar-join@ietf.org>
List-Unsubscribe: <mailto:cellar-leave@ietf.org>
On Sun, Sep 29, 2024 at 09:30:02AM +0200, Steve Lhomme wrote: > Hi Michael, > > > On 28 Sep 2024, at 22:41, Michael Niedermayer <michael@niedermayer.cc> wrote: > > > > Hi Steve > > > > On Sat, Sep 28, 2024 at 08:45:59AM +0200, Steve Lhomme wrote: > >> Hi Michael, > >> > >> Given RFC 9043 is published and this seems like an addition to the format, it would probably needs its own document to introduce this new bit handling. Hopefully it’s backward compatible so it’s a no brainer. I don’t think it can be an errata, but you may try that. > > > > RFC 9043 is about version 0, 1, and 3. > > we are of course discussing about version 4. > > OK, no problem then. > > > The hunk in the patch was missing the tag for V4, it should have been: > > > > @@ -1267,7 +1267,8 @@ Figure: Description of the coding of `initial_state_delta[ i ][ j ][ k ]`. {#fig > > |value | error detection/correction type | > > |------|:------------------------------------------| > > |0 | 32-bit CRC in `ConfigurationRecord` | > > -|1 | 32-bit CRC in `Slice` and `ConfigurationRecord`| > > +|1 | 32-bit CRC in `Slice` and `ConfigurationRecord` using crcref=0 as initial and final values| > > +|2 | 32-bit CRC in `Slice` and `ConfigurationRecord` using crcref=0x7a8c4079 as initial and final values|{V4} > > |Other | reserved for future use | > > Table: The definitions for `ec` values. {#tableEc} > > > > About compatible. As its written ATM in teh patch there is nothing an encoder > > needs to do differently, the old variant would still be valid. > > > > On the decoder side a old decoder would not know what to do with the > > error detection type=2. So if it ignores it it might decode things ok but > > more likely it will fail without trying > > > > I think we can expect that most new features that will be in v4 will need a > > decoder thats aware of v4. another example will be floating point pixel formats > > Indeed. The text change you propose doesn’t make it clear that this value should only be used (MUST or SHALL in IETF terms) if the bitstream is marked as FFV1 v4 or above. I assume that should be the same for other new features as well. yes, will apply the change with that magic v4 tag so it only ends in teh v4 version thx for reviewing! [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If the United States is serious about tackling the national security threats related to an insecure 5G network, it needs to rethink the extent to which it values corporate profits and government espionage over security.-Bruce Schneier
- [Cellar] [PATCH v2] ffv1: Support CRC with initia… Michael Niedermayer
- [Cellar] Re: [PATCH v2] ffv1: Support CRC with in… Steve Lhomme
- [Cellar] Re: [PATCH v2] ffv1: Support CRC with in… Steve Lhomme
- [Cellar] Re: [PATCH v2] ffv1: Support CRC with in… Orie Steele
- [Cellar] Re: [PATCH v2] ffv1: Support CRC with in… Michael Niedermayer
- [Cellar] Re: [PATCH v2] ffv1: Support CRC with in… Michael Niedermayer