From patchwork Thu Sep 5 13:12:54 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 11133089
Return-Path:
Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org
[172.30.200.123])
by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9431913B1
for ;
Thu, 5 Sep 2019 13:13:00 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by mail.kernel.org (Postfix) with ESMTP id 5ECBE206A1
for ;
Thu, 5 Sep 2019 13:13:00 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S2388395AbfIENNB (ORCPT
);
Thu, 5 Sep 2019 09:13:01 -0400
Received: from metis.ext.pengutronix.de ([85.220.165.71]:45117 "EHLO
metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S2388392AbfIENNA (ORCPT
); Thu, 5 Sep 2019 09:13:00 -0400
Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]
helo=dude02.pengutronix.de.)
by metis.ext.pengutronix.de with esmtp (Exim 4.92)
(envelope-from )
id 1i5rZL-0007Sc-Lp; Thu, 05 Sep 2019 15:12:59 +0200
From: Philipp Zabel
To: linux-media@vger.kernel.org
Cc: Tomasz Figa ,
Hans Verkuil ,
Paul Kocialkowski ,
Ezequiel Garcia ,
Boris Brezillon ,
kernel@pengutronix.de
Subject: [PATCH 1/2] media: uapi: h264: clarify dec_ref_pic_marking_bit_size
fields
Date: Thu, 5 Sep 2019 15:12:54 +0200
Message-Id: <20190905131255.10150-1-p.zabel@pengutronix.de>
X-Mailer: git-send-email 2.20.1
MIME-Version: 1.0
X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: linux-media@vger.kernel.org
Sender: linux-media-owner@vger.kernel.org
Precedence: bulk
List-ID:
X-Mailing-List: linux-media@vger.kernel.org
Since dec_ref_pic_marking_bit_size is not a syntax element
itself, explicitly state that this is the size in bits of
the dec_ref_pic_marking() syntax element contained in the
slice.
Signed-off-by: Philipp Zabel
---
Documentation/media/uapi/v4l/ext-ctrls-codec.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/media/uapi/v4l/ext-ctrls-codec.rst b/Documentation/media/uapi/v4l/ext-ctrls-codec.rst
index b9834625a939..c281bc7ed1b3 100644
--- a/Documentation/media/uapi/v4l/ext-ctrls-codec.rst
+++ b/Documentation/media/uapi/v4l/ext-ctrls-codec.rst
@@ -1796,7 +1796,7 @@ enum v4l2_mpeg_video_h264_hierarchical_coding_type -
-
* - __u32
- ``dec_ref_pic_marking_bit_size``
- -
+ - Size in bits of the dec_ref_pic_marking() syntax element.
* - __u32
- ``pic_order_cnt_bit_size``
-
From patchwork Thu Sep 5 13:12:55 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Philipp Zabel
X-Patchwork-Id: 11133095
Return-Path:
Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org
[172.30.200.123])
by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1613B1599
for ;
Thu, 5 Sep 2019 13:13:03 +0000 (UTC)
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by mail.kernel.org (Postfix) with ESMTP id CAE3F20692
for ;
Thu, 5 Sep 2019 13:13:02 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S2388425AbfIENND (ORCPT
);
Thu, 5 Sep 2019 09:13:03 -0400
Received: from metis.ext.pengutronix.de ([85.220.165.71]:40761 "EHLO
metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S2388400AbfIENNC (ORCPT
); Thu, 5 Sep 2019 09:13:02 -0400
Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28]
helo=dude02.pengutronix.de.)
by metis.ext.pengutronix.de with esmtp (Exim 4.92)
(envelope-from )
id 1i5rZN-0007Sc-HM; Thu, 05 Sep 2019 15:13:01 +0200
From: Philipp Zabel
To: linux-media@vger.kernel.org
Cc: Tomasz Figa ,
Hans Verkuil ,
Paul Kocialkowski ,
Ezequiel Garcia ,
Boris Brezillon ,
kernel@pengutronix.de
Subject: [PATCH 2/2] media: uapi: h264: clarify pic_order_cnt_bit_size field
Date: Thu, 5 Sep 2019 15:12:55 +0200
Message-Id: <20190905131255.10150-2-p.zabel@pengutronix.de>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20190905131255.10150-1-p.zabel@pengutronix.de>
References: <20190905131255.10150-1-p.zabel@pengutronix.de>
MIME-Version: 1.0
X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::28
X-SA-Exim-Mail-From: p.zabel@pengutronix.de
X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de);
SAEximRunCond expanded to false
X-PTX-Original-Recipient: linux-media@vger.kernel.org
Sender: linux-media-owner@vger.kernel.org
Precedence: bulk
List-ID:
X-Mailing-List: linux-media@vger.kernel.org
Since pic_order_cnt_bit_size is not a syntax element itself, explicitly
state that it is the total size in bits of the pic_order_cnt_lsb,
delta_pic_order_cnt_bottom, delta_pic_order_cnt[0], and
delta_pic_order_cnt[1] syntax elements contained in the slice.
Signed-off-by: Philipp Zabel
---
Documentation/media/uapi/v4l/ext-ctrls-codec.rst | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/media/uapi/v4l/ext-ctrls-codec.rst b/Documentation/media/uapi/v4l/ext-ctrls-codec.rst
index c281bc7ed1b3..08b49b2bbfa8 100644
--- a/Documentation/media/uapi/v4l/ext-ctrls-codec.rst
+++ b/Documentation/media/uapi/v4l/ext-ctrls-codec.rst
@@ -1799,7 +1799,8 @@ enum v4l2_mpeg_video_h264_hierarchical_coding_type -
- Size in bits of the dec_ref_pic_marking() syntax element.
* - __u32
- ``pic_order_cnt_bit_size``
- -
+ - Size in bits of the pic_order_cnt_lsb, delta_pic_order_cnt_bottom,
+ delta_pic_order_cnt[0], and delta_pic_order_cnt[1] syntax elements.
* - __u8
- ``cabac_init_idc``
-