Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3504286imc; Wed, 13 Mar 2019 21:22:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1uxl2rH3vhu9+BwowHjglclBsWz2NVvBXYUwjoMQ2Tl4emR00Wlq86CyowKTWkyCHIh2c X-Received: by 2002:a62:ac10:: with SMTP id v16mr49050587pfe.111.1552537370681; Wed, 13 Mar 2019 21:22:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552537370; cv=none; d=google.com; s=arc-20160816; b=ATwBHKxr2VNL2KXP1uhamPS+I/8UmqVi2K3kQIY/yBnyRHP6MR14bHeWlMTrg7MUC5 qSQoIfb0zr2x+RsaPOHfUz/L3skDdx8ZvpE4eo8xtFCR5iTozT2vBk9RY9yE+N1jL/kA J63MhAMvLiWcLVO2k67afuhZxWAG1I1gNc5wEq7F2ChUlxcKpqaYCu0OCVkbvg+2BY9e EeMYbpXipds2l89aOC5DgvrM7+bcYGdXSP+dbkeAArFQ6iewkR0jWbOQuw5qYcSSnz4p A2qPwSp8W951NLj6U27exHELgOQsvwkqejelja3hLf84XOyA40b3Z2Fw+8XluPe30HZF rrMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pnLTFhnEsKldNLbdUAUAkEIkD6mIrlEW5IhOy35tzCo=; b=aU2fCKzqRa6007GZKv6Z/V2S84gALb5Rc++eEtM44XLkZGRP5F0ago+l4fwnTZSb1z jpMgdDRjl0p69SizsssbyW2zlKBPkk8M6KMTsvnyLoleTa+MDH6yK7ofHAH1o1FUG0Ch dbvbnFvQyyLknNFTwgkVPFsL6GINatbK1PG3d6NGEFVNcN1sXeAnqySoJ6xYiH63/L+g zO5rlquDEczPlSn2jNw5xnoGgteKEZ7W5VChuef31p+98RCdKFQfHWGXAYfUkRSY1fMf wFPow4FyGNtuuiyzHMOm4Ym5W4qqtwsimU7OB4KqxMSE6i88qoOkPYju/69wy53sC9TV Tm1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mJeqQKdk; 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 q6si11269634pgv.344.2019.03.13.21.22.22; Wed, 13 Mar 2019 21:22:50 -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=mJeqQKdk; 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 S1726168AbfCNEVw (ORCPT + 99 others); Thu, 14 Mar 2019 00:21:52 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:43215 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725911AbfCNEVw (ORCPT ); Thu, 14 Mar 2019 00:21:52 -0400 Received: by mail-oi1-f196.google.com with SMTP id 67so3333253oif.10 for ; Wed, 13 Mar 2019 21:21:51 -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; bh=pnLTFhnEsKldNLbdUAUAkEIkD6mIrlEW5IhOy35tzCo=; b=mJeqQKdkK4IQ70UvOEKETmLQ1JL9+3HPnUch9Xp0expLLDAmdsnAB+i4WzXF8EwzOO tUeeFvJZAgN7AGEbpr3NhfiQp3qN/p+D1LoEVlIbUn6aHDwXJXLnkhj3EVy8MKGVUWxo 8Obt6BH14ejUF1RBG0a3zSpHS/0ovU/DhSoYo= 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; bh=pnLTFhnEsKldNLbdUAUAkEIkD6mIrlEW5IhOy35tzCo=; b=UZ+cX5FdhHzvr/7Gl71+2Mau60MryBAPiV/3NI+4OSG2RlimQp2y3UUrswqLfB8CzM 0gTMYOtDyWHKnooxZtsNA+BUPC9XpMPJ4qia3+yzhEyZn6TucSPEX5Y26ICx0Tfi8fhL k5NxMbSc3DjPyuCSTqGNszFkLxuTHcoG1gAHAJPrfghWFP0Qk3wAx5S2shKNe2Od6uvg TW/rW6BqlcWMZU95IEuHkD/AmYyFcTkNKNJ4HffYcUiGany7cQ7ZTedtJFA0TKJOTqgn q6U/20XxxAFE6ozYMhvR/MRKmWuy26QRfy6Dd0cHC2d9WlYzEkuTq50PAVh5IQ2wyiCb AjlA== X-Gm-Message-State: APjAAAWD/cjjS6apO6rFimGtHQxV35eta45NaA2PujdB6snOV2SFoDJx UKvKSNm6Z2tGaTFzIG9S30Cf2kRi2yxolw== X-Received: by 2002:aca:bd56:: with SMTP id n83mr801023oif.178.1552537311289; Wed, 13 Mar 2019 21:21:51 -0700 (PDT) Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com. [209.85.210.54]) by smtp.gmail.com with ESMTPSA id n12sm5322382otl.22.2019.03.13.21.21.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Mar 2019 21:21:51 -0700 (PDT) Received: by mail-ot1-f54.google.com with SMTP id b3so3923926otp.4 for ; Wed, 13 Mar 2019 21:21:50 -0700 (PDT) X-Received: by 2002:a9d:760a:: with SMTP id k10mr5570644otl.367.1552536825939; Wed, 13 Mar 2019 21:13:45 -0700 (PDT) MIME-Version: 1.0 References: <1d374e71ffcc396b71461ea916cac3d957f8d86c.1551964740.git-series.maxime.ripard@bootlin.com> <20190313153130.hnp5eybcgjm34i4n@flea> In-Reply-To: <20190313153130.hnp5eybcgjm34i4n@flea> From: Tomasz Figa Date: Thu, 14 Mar 2019 13:13:33 +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" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 decoding > > > + pipeline for H264. The bitstream parameters are defined according > > > + 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 come 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). Best regards, Tomasz