Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp545550img; Mon, 18 Mar 2019 08:49:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzClhBLRMJHbKQeOqn4yNjR54xSsyjJmY0JcbWaLRTEsHLA8vfl4Q9FX9ywwHxkevIuRO+r X-Received: by 2002:a62:1b92:: with SMTP id b140mr20012278pfb.159.1552924182537; Mon, 18 Mar 2019 08:49:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552924182; cv=none; d=google.com; s=arc-20160816; b=rFDKlLilhSkQqksN5mGZpNfqkjgjM7BJJI4iuxFoKq/LA5JVtRt6tvDcTer59FwB3E HdUjNXp6meukPgZkc23E1UnQHKMaZqC5BXE+2aLmcKDrQEIJQHuWM1Dq57xq2aqwAQOq QRW7k3j0vrXPfFaSMEfgIESYVfGyRtQ2JvyV0Jydf+1VrO12d7w7Qj7ZUjOnkGFwK7SR MXORDhWlU5wKDLlO3UmnBk/HtKXDq04QjWJPe1Lcp+SoMGMCCsp3MUZZ+jj+Aka3KVGK 1zC9lcWrdByztW53CIlXaVvIUn60p/0f/0+3Vuwmv2kbM5Wq+nUa/D4aYZl/mhSDL0AY FKIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EZE8YPeVhv3y6R7OZGyklU452X2Uk35pFJKw6xioBWY=; b=JPMEbFQdOw04r0qMdfkLTbNs18MvE4tBtA/DJLb4nnimOgMKjwerMuTBqI5wejF+2n O1S+C3OEqE7aD8sAnFLvZUzFaaT+aJRx+kFnoERKBtJDrsVfXeFy4IIRLJBDghgTDXc1 Rs2B6V8YN3YRItrSq10DOKFFQxXO4ZBGOxVIv6L/57WK1z3PkK4U/hoXwymL6t7XY9Fc fXjzgc/TQ0/qg0ODGaNo4kmhITdRgUMwsVlPrFAHE93BRDnb2LVGgEy1D6X6vtYBwkrP waYrWh8OlfrOuWZKcVxkJMEMDd/Ea6O7DRWuU8FQfmkeXX00/IqaB1RXR4QGyPGr7mse 61YQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go14si9677977plb.380.2019.03.18.08.49.23; Mon, 18 Mar 2019 08:49:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727363AbfCRPrH (ORCPT + 99 others); Mon, 18 Mar 2019 11:47:07 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:52215 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726808AbfCRPrH (ORCPT ); Mon, 18 Mar 2019 11:47:07 -0400 X-Originating-IP: 90.88.22.102 Received: from localhost (aaubervilliers-681-1-80-102.w90-88.abo.wanadoo.fr [90.88.22.102]) (Authenticated sender: maxime.ripard@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 44FD3E000E; Mon, 18 Mar 2019 15:47:01 +0000 (UTC) Date: Mon, 18 Mar 2019 16:47:00 +0100 From: Maxime Ripard To: Tomasz Figa Cc: Hans Verkuil , Alexandre Courbot , Sakari Ailus , Laurent Pinchart , Pawel Osciak , Paul Kocialkowski , Chen-Yu Tsai , Linux Kernel Mailing List , "list@263.net:IOMMU DRIVERS , Joerg Roedel ," , Linux Media Mailing List , Nicolas Dufresne , jenskuske@gmail.com, Jernej Skrabec , Jonas Karlman , Ezequiel Garcia , linux-sunxi@googlegroups.com, Thomas Petazzoni , Guenter Roeck Subject: Re: [PATCH v5 1/2] media: uapi: Add H264 low-level decoder API compound controls. Message-ID: <20190318154700.4qks2qfxown2frgk@flea> References: <1d374e71ffcc396b71461ea916cac3d957f8d86c.1551964740.git-series.maxime.ripard@bootlin.com> <20190313153130.hnp5eybcgjm34i4n@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6v4js2jdf5aop6i4" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --6v4js2jdf5aop6i4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 14, 2019 at 01:13:33PM +0900, Tomasz Figa wrote: > On Thu, Mar 14, 2019 at 12:31 AM Maxime Ripard > wrote: > > > > Hi Tomasz, > > > > On Fri, Mar 08, 2019 at 03:12:18PM +0900, Tomasz Figa wrote: > > > > +.. _v4l2-mpeg-h264: > > > > + > > > > +``V4L2_CID_MPEG_VIDEO_H264_SPS (struct)`` > > > > + Specifies the sequence parameter set (as extracted from the > > > > + bitstream) for the associated H264 slice data. This includes t= he > > > > + necessary parameters for configuring a stateless hardware deco= ding > > > > + pipeline for H264. The bitstream parameters are defined accor= ding > > > > + to :ref:`h264`. Unless there's a specific comment, refer to the > > > > + specification for the documentation of these fields, section 7= =2E4.2.1.1 > > > > + "Sequence Parameter Set Data Semantics". > > > > > > I don't see this section being added by this patch. Where does it com= e from? > > > > This is referring to the the H264 spec itself, as I was trying to > > point out with the reference in that paragraph. How would you write > > this down to make it more obvious? > > > > Aha, somehow it didn't come to my mind when reading it. How about > something like below? > > Unless there is a specific comment, refer to the ITU-T Rec. H.264 > specification, section "7.4.2.1.1 Sequence parameter set data semantics" > (as of the 04/2017 edition). The :ref:`h264` currently expands to "ITU H.264", which means in the documentation, in the case above, it ends up as The bitstream parameters are defined according to ITU H.264. Unless there=E2=80=99s a specific comment, refer to the specification for the documentation of these fields, section 7.4.2.1.1 =E2=80=9CSequence Paramet= er Set Data Semantics=E2=80=9D. I could change the reference to have "ITU-T Rec. H.264 Specification (04/2017 Edition)". Would that work for you? Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --6v4js2jdf5aop6i4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXI+9dAAKCRDj7w1vZxhR xXB/AP0T8YM+El428l/A0FFCvAGlhgvQNysMgviWspLVoOjQegEA6BMmueOSMX0+ LnMCEycu25iALW2XuZQjTG95/G53tgU= =p+ih -----END PGP SIGNATURE----- --6v4js2jdf5aop6i4--