Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1009562img; Mon, 18 Mar 2019 21:05:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqwoPFsZ+7UFDS5Wx3QzaiknkXTMJPBx5fQcLbSn+l69w61uHkhkkpwIz5qil0NrGyhMEJqo X-Received: by 2002:a17:902:274a:: with SMTP id j10mr207745plg.277.1552968335361; Mon, 18 Mar 2019 21:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552968335; cv=none; d=google.com; s=arc-20160816; b=YCdWTEuWMsmOgbsOefcWI112hNBgcG3WwZLAGKdZ86qiq7fLcNQB6fHRGROJwmtd6K DbIGzm9nrXYuwXdnR9SAMPH/ZOuPs0H4xEJRxE/JhLYupIrxz2xoIPrJ0//bhEyphRJ/ oRW1ilxRhpJEx7rkViVwI1Ezv+7Q2y0imDxk28DCDF0+KMa9sFUEYrFCLlHotOaMLCSf GfLpA4MslvU+Na8rasxB+DiO5QvEnpvdDs9Vpiltwd6IdlT+EJilh0L4O7xUsXFc+xLF yWzbCajAutfkYxBSF7m8sMQeFI6+CVaujr1sElThPyzbiv9i0gcpTIsir4Juh7TiS2/D bS9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=FxCVDx55J5+kHcmuGv45W+ZaMNUOkLZNHsAkDDnq18Y=; b=S+9gzhkrzfvFNhDGLwe8Gfboxcctfzgjl/qbJHM9GQBpgPjBQmalVVIPKWNldxh7Xb 0mQgVhowX/6bRa0nUMhTQel5DtSn0IATuYRa8kf/V01vz0gdRlHHWBotstjRjyEiKZ1z n0bhA8adjdeRnISL11J8yZsDsWyQMEcHHmHjrM+FAoHQ4/YFUb/Jx4xq1vbpa3E4X+fU 07g117hl545Ld76nVRwXn2R6FdHY8Sf/baQeqbvTMiQrXHHXLldr+HUXvwUwVQvfqnfA Cg/BP4s2OUk68g2jUukKyb3hNRYslaYZIqZ/5Xcnmf5TYBilH54u6VCChCHaA4QKQUYB bzKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=lUtPNKeK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k33si9957264pld.388.2019.03.18.21.05.20; Mon, 18 Mar 2019 21:05:35 -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; dkim=pass header.i=@chromium.org header.s=google header.b=lUtPNKeK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726922AbfCSEEN (ORCPT + 99 others); Tue, 19 Mar 2019 00:04:13 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:36361 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725905AbfCSEEN (ORCPT ); Tue, 19 Mar 2019 00:04:13 -0400 Received: by mail-oi1-f193.google.com with SMTP id t206so14917354oib.3 for ; Mon, 18 Mar 2019 21:04:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=FxCVDx55J5+kHcmuGv45W+ZaMNUOkLZNHsAkDDnq18Y=; b=lUtPNKeKZSbonGnF8TWMGUP5R50nabnObsEyuWBm2wlpnICkYv1bxByYTQo1ni9g5L uT6pHpO4tfkpwVwJVzo5QW10t5sdhnz2fEPPoVZ47nhCWVgoHjKXiafM6Da/LajgJ6rv szrISKo2UA/FiqxWwFyMsx3vM7LIn+54RYES8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=FxCVDx55J5+kHcmuGv45W+ZaMNUOkLZNHsAkDDnq18Y=; b=jMEGeLtHWuLGlotQbazYnKGQEYpN/1lrX5ItFLgNNaKCCVQSJIPX2P+CVMe/HpY71G zPhaVhYp90ldSp4Xq/pLCgU9EWEvotcCanvJlCfL+Z1d77IHTYpEFdb1Kpa3PVsEwmHB i69vxUhN0efB2VFQfBegf0W64da0XDxMqtODsk6A/rFBU5U4eiqMakuQgWckEtScM7gq UvHaA8JzXb/Ls+lvAi0eVdA2KVT07YWKRTbYgre/6RMJ30tTq2EV1qF4IKlu5YWZzqXI cOt1u4ZLWRDt3SgbyFrpu79i5GonSlaWNvHiz6SB0twrPmSYdz7l6x/uLu4O6ZAsl7lc kWbw== X-Gm-Message-State: APjAAAWrHb/DS45J2mVHGOXYAWOK/l+bdaCVcrO+MAZXaN6xB9loh0sm M0TAEcsXO8lZqEtbWo6tuXJz6iuz/kU= X-Received: by 2002:aca:45c4:: with SMTP id s187mr185490oia.20.1552968251480; Mon, 18 Mar 2019 21:04:11 -0700 (PDT) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com. [209.85.210.53]) by smtp.gmail.com with ESMTPSA id a4sm4953197otc.21.2019.03.18.21.04.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 18 Mar 2019 21:04:10 -0700 (PDT) Received: by mail-ot1-f53.google.com with SMTP id 103so1120772otd.9 for ; Mon, 18 Mar 2019 21:04:10 -0700 (PDT) X-Received: by 2002:a05:6830:11c9:: with SMTP id v9mr257310otq.288.1552968250036; Mon, 18 Mar 2019 21:04:10 -0700 (PDT) MIME-Version: 1.0 References: <1d374e71ffcc396b71461ea916cac3d957f8d86c.1551964740.git-series.maxime.ripard@bootlin.com> <20190313153130.hnp5eybcgjm34i4n@flea> <20190318154700.4qks2qfxown2frgk@flea> In-Reply-To: <20190318154700.4qks2qfxown2frgk@flea> From: Tomasz Figa Date: Tue, 19 Mar 2019 13:03:58 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 1/2] media: uapi: Add H264 low-level decoder API compound controls. To: Maxime Ripard 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 19, 2019 at 12:47 AM Maxime Ripard wrote: > > 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= the > > > > > + necessary parameters for configuring a stateless hardware de= coding > > > > > + pipeline for H264. The bitstream parameters are defined acc= ording > > > > > + to :ref:`h264`. Unless there's a specific comment, refer to = the > > > > > + specification for the documentation of these fields, section= 7.4.2.1.1 > > > > > + "Sequence Parameter Set Data Semantics". > > > > > > > > I don't see this section being added by this patch. Where does it c= ome 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 Param= eter > 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? > Sounds good to me. How about tweaking the text a bit too? The bitstream parameters are defined according to ITU-T Rec. H.264 Specification (04/2017 Edition), section 7.4.2.1.1 =E2=80=9CSequence Parame= ter Set Data Semantics=E2=80=9D. For further documentation, refer to the above specification, unless there is an explicit comment stating otherwise. Best regards, Tomasz