[payload] draft-ietf-payload-rtp-ancillary-07: Comments on header layout

Kjetil Oftedal <oftedal@gmail.com> Mon, 13 March 2017 23:01 UTC

Return-Path: <oftedal@gmail.com>
X-Original-To: payload@ietfa.amsl.com
Delivered-To: payload@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A2DFF129B24 for <payload@ietfa.amsl.com>; Mon, 13 Mar 2017 16:01:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 FJnuB5XSeWLL for <payload@ietfa.amsl.com>; Mon, 13 Mar 2017 16:01:06 -0700 (PDT)
Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BBA7912995B for <payload@ietf.org>; Mon, 13 Mar 2017 16:01:01 -0700 (PDT)
Received: by mail-it0-x22e.google.com with SMTP id g138so41509253itb.0 for <payload@ietf.org>; Mon, 13 Mar 2017 16:01:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7unZV4nye9o9IuPzcJhuRfgApnocb63QxrbwFyT0oTw=; b=mxrJdWMiUqreobnNDpgoN1eTh9/Wb/CpIkXBAbMviiEiwcMI9phMkUF/ywZ7Y7IfRZ MuKJxQ7ctpXcc/EdD7ayf/RIBFIj0uam28xXP9kV87uPYnpWU0U2ORgOuBB7A+yMVHmD 3swjF+1EM1yVrVW9/yZ/b5c4bPt1VCPWLQGtVo0qfRRFQdkyx7kcnyB365iOW5xIiQz2 99AoIZPzVf8E2unfLeMZGBHQZFF1wqBoesuoHBYBn0DnZEQ2L37ivy8rEt9GgCZdHwRt UfdOFphnzlprhJ0m9IwY52RV1HseFAAnFiUtu8dZn6oopj1LXnns0ojN8k42wTxDwdNB BUsg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7unZV4nye9o9IuPzcJhuRfgApnocb63QxrbwFyT0oTw=; b=Q9i2dT73BuAxsl33bzdA/3Ao/ZFSqIqhCv4mmoPav99uRIb/UOGvk8hmBzxsIOvXjJ OBvjWRxCRkuls4i+PBcn3+wa4cHLI+qb6l5eoOL6trcN4uLasE9T+PaRCbA9HnHqWkcV 8WKR1NyHjSz3HJATUdSJ7DtSvDJ/jVL+4DtSpZjVD+3hWEhS3J+P7HWpoUyTXmh6h9En RVjCu6OX22RX11M9WpZbUx47YJYGnHOkKv+VkmMn3XhRq9YsjDl8PfpK1Te1a00JE2dc CIx3R/uZTBA0w2VWoJOO3rSLvn2j3PCB7x+bGa6Mi03JpGb5ak6Q8HCdgkC8BHjclZxa dU/w==
X-Gm-Message-State: AFeK/H1NVPD1WgYikY6efPpHI01nfJPT74EGCuDKpc1ROTT48+yzysS1NcQSs9M4LDye7PzZDoJQubRSlNFMpQ==
X-Received: by 10.36.61.136 with SMTP id n130mr13349220itn.107.1489446060878; Mon, 13 Mar 2017 16:01:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.82.194 with HTTP; Mon, 13 Mar 2017 16:01:00 -0700 (PDT)
From: Kjetil Oftedal <oftedal@gmail.com>
Date: Tue, 14 Mar 2017 00:01:00 +0100
Message-ID: <CALMQjD_AkjAR+MiA=WLYFaghy4BiiFGE3qwJmWhbuba-s80u7w@mail.gmail.com>
To: payload@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/payload/VjeZtUJf903-Ln8pNUWwK27k_zk>
Subject: [payload] draft-ietf-payload-rtp-ancillary-07: Comments on header layout
X-BeenThere: payload@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Audio/Video Transport Payloads working group discussion list <payload.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/payload>, <mailto:payload-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/payload/>
List-Post: <mailto:payload@ietf.org>
List-Help: <mailto:payload-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/payload>, <mailto:payload-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Mar 2017 23:01:07 -0000

Hi,

I have earlier commented upon the size of the line number/offset fields and
their counterparts in RFC4175, and with the latest changes to the ANC RTP
layout an new opportunity to address this has arrived.

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|C|   Line_Number       |   Horizontal_Offset   |    reserved   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Moving some of the reserved bits and aligning to the 16-bit boundary will both
make it easier for software to build the header, and will
allow these Line_Number/Horizontal_Offset fields to easily be expanded in the
future if the need for ANC transport with higher resolution images should
arise:

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|C| rsvd  |     Line_Number     | rsvd  |   Horizontal_Offset   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

The only issue is handling the special value cases such as 0xFFF/0xFFE,
Expanding the fields to 15-bits at this time would maybe just be easier,
as there is no bandwidth penalty of doing so.

Best regards,
Kjetil Oftedal