Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3158057imb; Tue, 5 Mar 2019 02:20:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyOsmD7qZoLZYAI9xrrPY4PIqZRjUKIDXPsnfWj02rj6sgIR/wDqemnPFzg/SJaOYvIwjAj X-Received: by 2002:a63:e952:: with SMTP id q18mr746217pgj.156.1551781209377; Tue, 05 Mar 2019 02:20:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551781209; cv=none; d=google.com; s=arc-20160816; b=C9aUU7wklxWAqtyyei2p9Q0fjrXip6/F50gBxqUCxwqWE+PuDCqu0oLFzUW/OHkTGy NvSuX0xtta5fAGU+1NY4QiJx8OdT0UBGkZ0dsfCpDeOkBHh9hSsiYidfwxHIEvgHunGW h0FApdz0v5GH/pe0TA5ZK/0kz7q1SnwRkyjqciXlx8WtVkgkwwynxSImdEPYJALAvT3b NYkrfrqHiJQWc+KYy/5jh2lPDoXsb5lN55lMisQMcp9zg5kK9KG2mfU/VIQhZMGVFzKb e3Oz/pG2ieZEk3PI+lQZMhdV66tIhLJ2KPmo6HFkmCDBf2zN5Gj6HOdfiZn6UsJ+T/JZ G8Xg== 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=3E8gfldMpDMS1VYHhK4rSHRC3rjRwp8amzcCyOyBpcs=; b=KvWyCW+oV7bA4NpoNkI/TvstQvoU060ZnyxlyXLwEsCiLjRazWTCW5OJPj4/ceQfza 8e9vivMHjGHEesgv5+w4pWJS+Zk/QLXbSXSao8mDVd5fMpL7FYXpEocXQz5+2gzq3uBK dSqUy/IPrKE2tv6v7RwZdM7z0TvxThDylS/TWWVOPtR4RyrBIzIG2/HY1dduEIGLbB2o CoaJ5916uZkAgC60xYpEVdPrpmnYCJJkAYtN6xXaZSGMnEGYA75rUPlzrcKP/l1Tuu9I 0Fqpb9ROvvh/Ap24fb8NUxN8I4hPqN/o/LSewmxVxgj/XTU5HEeh/DjoAniKarcyLXbX +u8w== 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 r9si7585089pfh.188.2019.03.05.02.19.53; Tue, 05 Mar 2019 02:20:09 -0800 (PST) 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 S1727562AbfCEJno (ORCPT + 99 others); Tue, 5 Mar 2019 04:43:44 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:42395 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726757AbfCEJno (ORCPT ); Tue, 5 Mar 2019 04:43:44 -0500 X-Originating-IP: 90.88.147.150 Received: from localhost (aaubervilliers-681-1-27-150.w90-88.abo.wanadoo.fr [90.88.147.150]) (Authenticated sender: maxime.ripard@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id E153320005; Tue, 5 Mar 2019 09:43:38 +0000 (UTC) Date: Tue, 5 Mar 2019 10:43:38 +0100 From: Maxime Ripard To: Ezequiel Garcia Cc: hans.verkuil@cisco.com, acourbot@chromium.org, sakari.ailus@linux.intel.com, Laurent Pinchart , tfiga@chromium.org, posciak@chromium.org, Paul Kocialkowski , Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, nicolas.dufresne@collabora.com, jenskuske@gmail.com, jernej.skrabec@gmail.com, jonas@kwiboo.se, linux-sunxi@googlegroups.com, Thomas Petazzoni , Guenter Roeck Subject: Re: [PATCH v4 1/2] media: uapi: Add H264 low-level decoder API compound controls. Message-ID: <20190305094338.r6fxapkhkir25g6t@flea> References: <9817c9875638ed2484d61e6e128e2551cf3bda4c.1550672228.git-series.maxime.ripard@bootlin.com> <4aac6476ffe6a6be021c69a708f19d5da30a79e4.camel@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ij7ubrshaobrtlud" Content-Disposition: inline In-Reply-To: <4aac6476ffe6a6be021c69a708f19d5da30a79e4.camel@collabora.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ij7ubrshaobrtlud Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Mar 04, 2019 at 03:49:11PM -0300, Ezequiel Garcia wrote: > On Wed, 2019-02-20 at 15:17 +0100, Maxime Ripard wrote: > > From: Pawel Osciak > >=20 > > Stateless video codecs will require both the H264 metadata and slices in > > order to be able to decode frames. > >=20 > > This introduces the definitions for a new pixel format for H264 slices = that > > have been parsed, as well as the structures used to pass the metadata f= rom > > the userspace to the kernel. > >=20 > > Co-Developped-by: Maxime Ripard > > Signed-off-by: Pawel Osciak > > Signed-off-by: Guenter Roeck > > Signed-off-by: Maxime Ripard > > --- > > Documentation/media/uapi/v4l/biblio.rst | 9 +- > > Documentation/media/uapi/v4l/extended-controls.rst | 547 +++++++++++++= +- >=20 > It seems Hans splitted the documentation and so this should now > go to Documentation/media/uapi/v4l/ext-ctrls-codec.rst. Thanks for letting me know, it will be fixed in the next version. > >=20 > > +#define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4') /* H26= 4 parsed slices */ > > #define V4L2_PIX_FMT_H263 v4l2_fourcc('H', '2', '6', '3') /* H263 = */ > > #define V4L2_PIX_FMT_MPEG1 v4l2_fourcc('M', 'P', 'G', '1') /* MPEG-= 1 ES */ > > #define V4L2_PIX_FMT_MPEG2 v4l2_fourcc('M', 'P', 'G', '2') /* MPEG-= 2 ES */ >=20 > I haven't seen any objections to renaming this to V4L2_PIX_FMT_H264_SLICE= _RAW, > so if you could be so kind to push v5 with this rename (or similar), and = also > rebasing to the master branch, I could then submit the H264 decoder suppo= rt for > the Rockchip VPU. I don't remember it, but yeah, this is fine by me. I'll adjust it and send a new version. Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ij7ubrshaobrtlud Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXH5EygAKCRDj7w1vZxhR xRoDAP95iR+PSnNWLGn1NQ6nA8KqOQuDq3p6KazU91X/RVHf1QEA1hw8vHtpwXpz BLEtdM7HyAhrs5BBOKqOKJCd0o0OZwY= =yU2z -----END PGP SIGNATURE----- --ij7ubrshaobrtlud--