Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3087981imc; Wed, 13 Mar 2019 08:32:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvUcMEZac6LOFtzvAJ1EdjTgO7MmmRm69YYUzBfcez57BuRtaztMDjId8I9uWB+Aa6wblk X-Received: by 2002:a17:902:2a48:: with SMTP id i66mr44810952plb.14.1552491169029; Wed, 13 Mar 2019 08:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552491169; cv=none; d=google.com; s=arc-20160816; b=0rPI9p8OcSWzSAsbH3ufx5dBd6Zi0AGfMhat1wkkJtRxqoMr7sMZxWsHbRtJpRHJN4 phZfTKinjSDxVE8t6ON59FXW44iYToO74mTckvGMJgRnkKLDYmQAiTDh4zMsUcDGy++Y pdg3a2Px8gqpSr47zPNB6wB93Osy8J6DghzQegl1NRdRT6JLvfPt8p6F1kE13M7B+D9X xXtcyCDOH3dca0nrwdk2F0OEFyG5blFd7BzHP5d6I4Z87TuxLfmsGZEa43Q9Eb9TQ/3G LgsE/WM2K/1BnSd5rywiUUGwuu5VXu144DwaLJg1SJ+47qpx1iFGJnVVlhLWRFo7b9GG h3Ag== 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=PxOO3GHabWtpHdjrJDeG+AetAH4c4/F02/d07fxNMpA=; b=ttYbc/iPXIh965/FS8Y0pRBIuKloLoqtsH+ueUD8RJcbXexBCpGfpFUpgY2amCAa81 EdGDpNQS3UD4giT5d31ViTiYWc59S0xfsSWQmk5D2HQrz7lWiyVz6+N79OSoxOp7kmf+ HbN0rVDZUJgQbiTaawKch0LdKTLz9svNowgMOjEdfRFjMVMHtF3uDCJa4saR14kKNHIO hihnaGGL0iqeu/dqgFC7I6oqDIfh9h9b0I/d5oK7T6Xv716QpyJcei171gOhjpTKXVzJ gr4Wut+CdKMoxMPeIIiLlaubXTjDSnrauY+P7FasmMlVznAyIzeVUB6a69Xa6ifF9zFq WToA== 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 n9si10622291pgc.472.2019.03.13.08.32.32; Wed, 13 Mar 2019 08:32:49 -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 S1726328AbfCMPbh (ORCPT + 99 others); Wed, 13 Mar 2019 11:31:37 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:41917 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725856AbfCMPbg (ORCPT ); Wed, 13 Mar 2019 11:31:36 -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 relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 188DB2001C; Wed, 13 Mar 2019 15:31:30 +0000 (UTC) Date: Wed, 13 Mar 2019 16:31:30 +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: <20190313153130.hnp5eybcgjm34i4n@flea> References: <1d374e71ffcc396b71461ea916cac3d957f8d86c.1551964740.git-series.maxime.ripard@bootlin.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ajdvt5cmol7qlvjq" 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 --ajdvt5cmol7qlvjq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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= =2E1.1 > > + "Sequence Parameter Set Data Semantics". >=20 > I don't see this section being added by this patch. Where does it come fr= om? 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? > > +.. c:type:: v4l2_ctrl_h264_decode_param > > + > > +.. cssclass:: longtable > > + > > +.. flat-table:: struct v4l2_ctrl_h264_decode_param > > + :header-rows: 0 > > + :stub-columns: 0 > > + :widths: 1 1 2 > > + > > + * - __u32 > > + - ``num_slices`` > > + - Number of slices needed to decode the current frame > > + * - __u16 > > + - ``idr_pic_flag`` > > + - Is the picture an IDR picture? >=20 > Sounds like this could be made a flag to be consistent with how this > kind of fields are represented in the other structs. I'll change that, thanks! Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ajdvt5cmol7qlvjq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXIkiUgAKCRDj7w1vZxhR xavfAP9bhwdJ2wUQuKw5TknAoBpc78H/fFPXVIjzIJB9zLWosAD+LGJ77nFYbr6A GbMjIdwf9GK8AmGTtx8y3/M3koyr9A4= =AolL -----END PGP SIGNATURE----- --ajdvt5cmol7qlvjq--