Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2667185imb; Mon, 4 Mar 2019 10:52:32 -0800 (PST) X-Google-Smtp-Source: APXvYqyaI80pLPXou3ERT9XLny2aVriYQRLuOQvee+wkxEMWfeFplXkWNPRO67XHDNrgk2LiONht X-Received: by 2002:a62:458a:: with SMTP id n10mr21993913pfi.136.1551725552286; Mon, 04 Mar 2019 10:52:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551725552; cv=none; d=google.com; s=arc-20160816; b=ZcXAaxNQb5UHPg3vWvufKsBWl9eHH+KOkMHGs/OQtlhPfUP9DghQe4gSXLmZWshkEL mKxTf0x0RtXtpKGUWNssAt4scNeHPXRpHMWqy2dCMQCNNiZiqFSlZCZPSfmX8UNV3dj0 aq3gj0v6gE7AybLP1s075p2Yw6hsJdjD0t7LxEI+6QDcn81rzwY4Ti3+/vJYVorUBYoI kVstC0puozyAs4q0DmT2lj/8DQkmqOvGNW41b2Jht0ZJXUcAiBq0B3WPgXE0/omTfklh tGEzING/zzfqUWY8/ptqnmEciU38G/h/8Q63YIzxfj08Hr/OoPPpASdj/iWPl+aTzoqZ 09KA== 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:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=Rf+6y2kGf3hqRv0MyDVY11T7Jc8IZtHY0EKlbLgR9x4=; b=hsVV/SxeqEVKYv1wIXSHh+iXY84EB5h9nzIp9IzYpwDljSh4GnsUfP4QxSVQxjYAzf 6HZblIxyzJKhLYz4IPuPe3N4hebwjXOrz20Ru0siU83+9o1nyr7d4RWeDazgPwbKKo+7 zZjrQJw+PPNktMoS8OkmoUEwJsHVfkDShbRMHCKGwqEugVtt/9g2AXXa958y1lvspGgb 3PG8ywzM7sbdr9tXiS4xf+1oNqXprgvuo+Ww19mYQD+F8K2WRs3WY28mqxZW/qzqT78t xYa0szBn5k6jjOm3d+CgWeyIhQWLYANhvyM3oMoK0M6HI2TlxEDuJnQfYzRU6Cy4DrrS zEww== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a40si6385527pla.234.2019.03.04.10.52.16; Mon, 04 Mar 2019 10:52:32 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727067AbfCDSt0 (ORCPT + 99 others); Mon, 4 Mar 2019 13:49:26 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:50176 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726217AbfCDSt0 (ORCPT ); Mon, 4 Mar 2019 13:49:26 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 106F2275683 Message-ID: <4aac6476ffe6a6be021c69a708f19d5da30a79e4.camel@collabora.com> Subject: Re: [PATCH v4 1/2] media: uapi: Add H264 low-level decoder API compound controls. From: Ezequiel Garcia To: Maxime Ripard , hans.verkuil@cisco.com, acourbot@chromium.org, sakari.ailus@linux.intel.com, Laurent Pinchart Cc: 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 Date: Mon, 04 Mar 2019 15:49:11 -0300 In-Reply-To: <9817c9875638ed2484d61e6e128e2551cf3bda4c.1550672228.git-series.maxime.ripard@bootlin.com> References: <9817c9875638ed2484d61e6e128e2551cf3bda4c.1550672228.git-series.maxime.ripard@bootlin.com> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-02-20 at 15:17 +0100, Maxime Ripard wrote: > From: Pawel Osciak > > Stateless video codecs will require both the H264 metadata and slices in > order to be able to decode frames. > > 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 from > the userspace to the kernel. > > 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 ++++++++++++++- It seems Hans splitted the documentation and so this should now go to Documentation/media/uapi/v4l/ext-ctrls-codec.rst. [..] > > +#define V4L2_PIX_FMT_H264_SLICE v4l2_fourcc('S', '2', '6', '4') /* H264 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 */ 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 support for the Rockchip VPU. There is still the question brought up by Tomasz, about moving this pixel format to a non-public header. Perhaps someone has some ideas on this? Thanks a lot! Ezequiel