Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp1595628img; Wed, 27 Feb 2019 02:02:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IYcWUSPpIYofkH1t8B5kyeHy6rl5Fp2+zjJPYshwrMiG2T7KybewUKPNTH/DaTOTixIpc1e X-Received: by 2002:a17:902:aa06:: with SMTP id be6mr1293566plb.57.1551261760762; Wed, 27 Feb 2019 02:02:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551261760; cv=none; d=google.com; s=arc-20160816; b=GJY1mO1wGrwPLdAG6ipP4PdE2wzNQLrsZExf7a2WSLy3fxifPhCybh3O5FJJpmzrNo NyTD2QnwnZ3eRCIQARODV+0OZ4cGA6+W3ygKeTVbw25kZR+VtcgM4F1W6zH8m69pB0Tv 8l7Hrt23rcmKh0uehaEr7Lr6BBDJyv54yEYfEDfCYfSNlZAnW8cnGskTcfgYXkwHwVta JTD22IgPT8fwGn5EQ+Z0/fAHF3DQd1ZwNrX1ulsUmX8AxceSZ4iAaZ4pYRKgcMzVxUzc pd4cDxicz9XFuZ1e/yERVxF5rfmsnVHR8543fEBxjMlkzYNgF0V/0WEyYCzalJaRdTZt Vqgg== 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=jHrecR2XkHtdX/WYDEvpbbxZHKYE6FFjnQuYeqYbIoU=; b=Xbo/qSyf8MrEbCUgvnqulbx9+QPphRhXdPaQFqB+cKHAWlpLxDFKJmyBWpwN15XAyO DUgI048/xkTFkpI/wxjmGYAl0l+nsEwj6GAraBc13zS4y2KFVMAHM9g1dpAbk1ljQyw8 7PcnpVm1FoLT2YolEG8MARMWPM8hPQ5zRqcvoYQJLShcTIUNQNwy5CPZean+rdjnWhtI ZJTfBiuV9LHS7UQ9KzbnfliupWUeu3hwwXz/u/LfhVGm1r3/2+tRu/s7AAftxjvwtqCs 30ov0v50jwE8IDkRiWgIkQqiVKoOUzN/A+3P9afeD8FTc6pIy3oOPVwvlelw93KB1s45 OHsQ== 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 l38si14888650pgb.399.2019.02.27.02.02.25; Wed, 27 Feb 2019 02:02:40 -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 S1729658AbfB0KBw (ORCPT + 99 others); Wed, 27 Feb 2019 05:01:52 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:45959 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728036AbfB0KBw (ORCPT ); Wed, 27 Feb 2019 05:01:52 -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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 23E01FF80A; Wed, 27 Feb 2019 10:01:46 +0000 (UTC) Date: Wed, 27 Feb 2019 11:01:46 +0100 From: Maxime Ripard To: Ezequiel Garcia Cc: Tomasz Figa , 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 , 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: <20190227100146.beakovktekqcaei3@flea> References: <9817c9875638ed2484d61e6e128e2551cf3bda4c.1550672228.git-series.maxime.ripard@bootlin.com> <5d95629590e6ca2abbec898e8e9ee478f7a3a6cc.camel@collabora.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2vn33557bkmisyhi" Content-Disposition: inline In-Reply-To: <5d95629590e6ca2abbec898e8e9ee478f7a3a6cc.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 --2vn33557bkmisyhi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ezequiel, On Fri, Feb 22, 2019 at 01:59:33PM -0300, Ezequiel Garcia wrote: > On Fri, 2019-02-22 at 16:46 +0900, Tomasz Figa wrote: > > > diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/vide= odev2.h > > > index 9a920f071ff9..6443ae53597f 100644 > > > --- a/include/uapi/linux/videodev2.h > > > +++ b/include/uapi/linux/videodev2.h > > > @@ -653,6 +653,7 @@ struct v4l2_pix_format { > > > #define V4L2_PIX_FMT_H264 v4l2_fourcc('H', '2', '6', '4') /* H26= 4 with start codes */ > > > #define V4L2_PIX_FMT_H264_NO_SC v4l2_fourcc('A', 'V', 'C', '1') /* H= 264 without start codes */ > > > #define V4L2_PIX_FMT_H264_MVC v4l2_fourcc('M', '2', '6', '4') /* H26= 4 MVC */ > > > +#define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4') /* H= 264 parsed slices */ > >=20 > > Are we okay with adding here already, without going through staging fir= st? >=20 > Also regarding the pixel formats. I still think we should have two > pixel formats: V4L2_PIX_FMT_H264_SLICE_RAW and > V4L2_PIX_FMT_H264_SLICE_ANNEX_B, to properly represent "raw" NALUs > and "annex B" formatted NALUs. I agree with that, but I was under the impression that it would be part of your series, since you would be the prime user (at first at least). Maxime --=20 Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --2vn33557bkmisyhi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXHZgCgAKCRDj7w1vZxhR xVMpAQClntThLgxNJNe4H3R8i5KBo2Ht7X3qerXfB/OlFlGwqAD9GqKo9iEGBIfX jBn6Bhq9EJ2B6yNhRFTAUIDwz1an0g4= =Dp57 -----END PGP SIGNATURE----- --2vn33557bkmisyhi--