Re: [codec] Format for the codec specification

"Benjamin M. Schwartz" <bmschwar@fas.harvard.edu> Wed, 29 September 2010 14:04 UTC

Return-Path: <bmschwar@fas.harvard.edu>
X-Original-To: codec@core3.amsl.com
Delivered-To: codec@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BA0D13A6EA6 for <codec@core3.amsl.com>; Wed, 29 Sep 2010 07:04:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5eUpJU7bdEQ9 for <codec@core3.amsl.com>; Wed, 29 Sep 2010 07:04:00 -0700 (PDT)
Received: from us24.unix.fas.harvard.edu (us24.unix.fas.harvard.edu [140.247.35.204]) by core3.amsl.com (Postfix) with ESMTP id 85E993A6E0A for <codec@ietf.org>; Wed, 29 Sep 2010 07:04:00 -0700 (PDT)
Received: from us24.unix.fas.harvard.edu (localhost.localdomain [127.0.0.1]) by us24.unix.fas.harvard.edu (Postfix) with ESMTP id 93C8A46E161; Wed, 29 Sep 2010 10:04:43 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=fas.harvard.edu; h= message-id:date:from:reply-to:mime-version:to:cc:subject :references:in-reply-to:content-type; s=mail; bh=/ccsq0CVe4EYPUe ykQo56dfTqVbbOqNnWIzEfgiJfAg=; b=Q9k0LDuGIepcowedXVyyaiIAfvKXq+0 Yy843L8vynQO85kEPLtLe4TDHyhZQaJI0PyVHZTU/SjVptakhOPXxsI3S+j7FBTX BqoxHlZYqGLYiTWFCxvgQCSQq2VwdpSBK/lWa+p+Bq9CiSqQP9n9vqRJ/VAktv++ vRArG2Z/zz/4=
DomainKey-Signature: a=rsa-sha1; c=simple; d=fas.harvard.edu; h= message-id:date:from:reply-to:mime-version:to:cc:subject :references:in-reply-to:content-type; q=dns; s=mail; b=G/jttdWy8 pPQue9cWLunDJTkQtGDzrwRTpy3vcC/S7rbIMR+ktUFF0EBQU1T7gIisUYm+ogFa VB8inUCEzlmlYrsy6IRr1A5enW7+d6TkIqhe+1WdbVNiOZgvsqbT6w5yLV74MhvR n8uV63abd5VcXbXi2N3mljNTFv6q2222Cg=
Received: from [192.168.1.140] (c-71-192-160-188.hsd1.nh.comcast.net [71.192.160.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bmschwar@fas) by us24.unix.fas.harvard.edu (Postfix) with ESMTPSA id 7E0F546E113; Wed, 29 Sep 2010 10:04:43 -0400 (EDT)
Message-ID: <4CA3477A.4070007@fas.harvard.edu>
Date: Wed, 29 Sep 2010 10:04:42 -0400
From: "Benjamin M. Schwartz" <bmschwar@fas.harvard.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8
MIME-Version: 1.0
To: Stephan Wenger <stewe@stewe.org>
References: <C8C816CB.24BBB%stewe@stewe.org>
In-Reply-To: <C8C816CB.24BBB%stewe@stewe.org>
X-Enigmail-Version: 1.0.1
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="------------enig574BC01945984B4E4FBA7467"
Cc: "codec@ietf.org" <codec@ietf.org>, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Subject: Re: [codec] Format for the codec specification
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: bens@alum.mit.edu
List-Id: Codec WG <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/codec>
List-Post: <mailto:codec@ietf.org>
List-Help: <mailto:codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Sep 2010 14:04:07 -0000

On 09/29/2010 01:03 AM, Stephan Wenger wrote:
>  As a result, a non bit-exact
> decoder design has to be much more conservative in exercising technology (as
> more claims may be swept in by advanced designs) than a bit exact decoder
> design, neutralizing, IMO, most of the positive effects a non bit-exact
> design may have from a performance viewpoint.

Surely the converse logic also applies.  A non-bitexact decoder can more
easily be modified to dodge any unexpected patent claims brought against
it, because its designers are not restricted to alterations that do not
affect the output.

Personally, I favor the following:  We should produce a fixed-point
reference decoder, specified bit-exactly in code and text.  We should
indicate that implementors who require a guaranteed level of service
should follow this bit-exact specification.  We should _not_ set any
limits on the deviation of other decoders from this bit-exact specification.

Reasoning:
We should provide a bit-exact decoder specification because otherwise it
is unclear how to optimize the encoder later.

A codec with no licensing restrictions has no gatekeeper, so any
restrictions on performance would be unenforceable in practice.  The lack
of restrictions also means that the codec can easily be extremely widely
implemented, enabling commodity competition between different
implementors.  Competition can keep quality high.

Large single-vendor deployments, without internal competition, are likely
to have a contractually required level of service, in which case the RFC
would direct the implementor to remain bit-exact.

One option we have would be to specify the decoder under two different
names: "$CODEC" and "Bit-Exact $CODEC".

--Ben