Re: [AVTCORE] [Technical Errata Reported] RFC2435 (4094)
"Frederick, Ron" <ron.frederick@bluecoat.com> Tue, 17 February 2015 22:37 UTC
Return-Path: <ron.frederick@bluecoat.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6DFEC1A87E4 for <avt@ietfa.amsl.com>; Tue, 17 Feb 2015 14:37:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.911
X-Spam-Level:
X-Spam-Status: No, score=-6.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8lrVy6kaS2UW for <avt@ietfa.amsl.com>; Tue, 17 Feb 2015 14:37:06 -0800 (PST)
Received: from plsvl-mailgw-02.bluecoat.com (plsvl-mailgw-02.bluecoat.com [199.91.133.12]) by ietfa.amsl.com (Postfix) with ESMTP id EE7461A1AB5 for <avt@ietf.org>; Tue, 17 Feb 2015 14:37:05 -0800 (PST)
Received: from pwsvl-exchts-04.internal.cacheflow.com (esxprd03.bluecoat.com [10.2.2.162]) by plsvl-mailgw-02.bluecoat.com (Postfix) with ESMTP id A032920127; Tue, 17 Feb 2015 14:37:05 -0800 (PST)
Received: from pwsvl-excmbx-05.internal.cacheflow.com ([fe80::f848:d461:9aa9:59a8]) by pwsvl-exchts-04.internal.cacheflow.com ([fe80::9403:6f39:feac:adb1%12]) with mapi id 14.03.0123.003; Tue, 17 Feb 2015 14:37:05 -0800
From: "Frederick, Ron" <ron.frederick@bluecoat.com>
To: Julius Friedman <juliusfriedman@gmail.com>
Thread-Topic: [AVTCORE] [Technical Errata Reported] RFC2435 (4094)
Thread-Index: AQHQPDU53kDg45vfj0Gx4JNI3XxmLZzzjn8AgAAKzQCAAljPAIAAIBaA
Date: Tue, 17 Feb 2015 22:37:03 +0000
Message-ID: <A2E42BA5-1854-41B3-AEA8-B6A7002E5497@bluecoat.com>
References: <87sietgfoe.fsf@hobgoblin.ariadne.com> <54E1A696.8020500@ericsson.com> <CACFvNHW224B+J-b0mxcUxQarc2Ajcr+aasuEGrcM3QHe74=MTQ@mail.gmail.com> <893707E3-6213-405F-A245-604603FBA0F5@bluecoat.com>
In-Reply-To: <893707E3-6213-405F-A245-604603FBA0F5@bluecoat.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.2.2.106]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <AB624B9B1E26DF4A90EF1102B8484CE0@bluecoat.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/avt/UPpWtcEURZk0PEkqIfoVosLwEPI>
Cc: "avt@ietf.org" <avt@ietf.org>
Subject: Re: [AVTCORE] [Technical Errata Reported] RFC2435 (4094)
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/avt/>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Feb 2015 22:37:07 -0000
Sorry - a correction to the final point below in my previous reply: On Feb 17, 2015, at 12:42 PM, Frederick, Ron <ron.frederick@bluecoat.com> wrote: >> I suppose even though the Quantization tables are not in the correct order that is because the RFC was only showing the tables, it would be up to someone to put them into the ZigZag order as per the JPEG spec. > > I took a closer look at the sample code here, and the SendFrame() function that refers to these quantization tables is showing an example of how to format the RTP header data in the case where a dynamic Q value is used that requires that the tables be transmitted explicitly. In RTP, the quantization table data is NOT sent in zig-zag order, so I believe the sample code here is correct. If you have a custom quantization table coming from another source which is already in zig-zag order, this would need to be un-done before it is encoded in the RTP JPEG packet as in-band data. I was wrong about this. Section 3.1.8 does specify zig-zag order for these coefficients. So, while the code in Appendix A is not wrong by itself, the reference in Appendix B that suggests that the lqt & cqt parameters passed into it can be created using MakeTables() is not correct with its tables being in non zig-zag order and no re-ordering being applied before these tables are copied into the SOI segment. Having MakeTables() in Appendix A produce a table which is already in zig-zag order is probably the simplest fix. -- Ron Frederick ronf@bluecoat.com
- [AVTCORE] [Technical Errata Reported] RFC2435 (40… RFC Errata System
- Re: [AVTCORE] [Technical Errata Reported] RFC2435… Magnus Westerlund
- Re: [AVTCORE] [Technical Errata Reported] RFC2435… Dale R. Worley
- Re: [AVTCORE] [Technical Errata Reported] RFC2435… Magnus Westerlund
- Re: [AVTCORE] [Technical Errata Reported] RFC2435… Julius Friedman
- Re: [AVTCORE] [Technical Errata Reported] RFC2435… Frederick, Ron
- Re: [AVTCORE] [Technical Errata Reported] RFC2435… Frederick, Ron
- [AVTCORE] [Errata Rejected] RFC2435 (4094) RFC Errata System