Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp134906img; Tue, 19 Mar 2019 20:03:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmLjaCDaAK8YJFldjtX6tpowhHs4C2sFbC6t1u8VFPkzT037mFaPNJSn/5eWhR31bNO8QQ X-Received: by 2002:a17:902:a714:: with SMTP id w20mr5613657plq.331.1553051035035; Tue, 19 Mar 2019 20:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553051035; cv=none; d=google.com; s=arc-20160816; b=VykeGBXJRyn26Fi/bgmC3+5aJPqTWMUzojXn7j9bn69mMJE9/+Fh3BbCbIQEny4CqU wbLxyPxwHwa+0Fj071I2FXHCTGWnM0m0omZdk/1xlgCKHGouyNRDPv9leMp7FlGCHV+a i88WBuhKSX6C5H5rnuD+DR3gvj3uhQfzeP19ZiHST5uSJikkApSErAyD7Bi56VJKxj1u 14ZDeDrgGjwv/8EF6m3SiHsWRTilw0abEAMZ5HfsMZxnavPaxGUyazZ5ibQcfaLhb1My BR0AEsFzcChYVym5+2nZHBGAJ8QNRCyrYiVDZFSGTW5ttYT0vgxpu8aUgQgPKOpHc+Mp 7TlQ== 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=yMr1RUBK1VUjq0K0x9zOXPkgJoLdgDs5VbUJMJruWbo=; b=CWhyIyY3rq6XoSmh6OfhX+OZ4CmUDHZvNQVFtExA3YWoecumCGseDmLkZOq1tLBeY5 GIJBtPLsmLiRzUh2CazLRh+9pGaBQ59Q7DxhcgPTRj8iSGOln6n6nA4N77Pj2VeM9LnI tqBakAzesBl9nd7VpxMT1c/H9RVxlz37wQAuxsUOoWo1LoMRK81kjw6htIFZuKhTpCP8 PhnjJY9QFRtEdeJjMRK2Rue4I04OhC1CpDCxWAssZURTpI0AokNPKrYlQ3oYuNF1d1MC wlsIBeohBw2XrdxD9ay8QFZf7meiplqMKFUuomSEJnkAw5Phs3TgLNMWmsv/qx4ANQx3 s0yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=L2pIgyCC; 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 64si734259ply.239.2019.03.19.20.03.38; Tue, 19 Mar 2019 20:03:55 -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=L2pIgyCC; 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 S1727084AbfCTC7y (ORCPT + 99 others); Tue, 19 Mar 2019 22:59:54 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:42718 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726573AbfCTC7y (ORCPT ); Tue, 19 Mar 2019 22:59:54 -0400 Received: by mail-oi1-f193.google.com with SMTP id w139so628541oie.9 for ; Tue, 19 Mar 2019 19:59:54 -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=yMr1RUBK1VUjq0K0x9zOXPkgJoLdgDs5VbUJMJruWbo=; b=L2pIgyCChQcpLOr/swrUbZsmcACIcg4yzS8kckFZQYTxtm8Ghb3VBzU/pbAnRj0+hv 9d6XymhlDQKXAWaCUzBpi+8FILodW5+sdiozjW+CSXkAoVulczBeKB8kgq0LN4s5iYEk ZNH4C/hddgQvW6XWIqqIPyw7TXGsfrue0n3RY= 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=yMr1RUBK1VUjq0K0x9zOXPkgJoLdgDs5VbUJMJruWbo=; b=NolB3WR4b3em9VI4SKxnP/P7HtJw3awlVOn7sLn3VcjnhtrN5oMDC3nhmu55ZjIiXB LD2pvlUBQpW/kwpwOHZ54AWFFJX7kuoj6NFci9QcpkfjDHywxaIBu33HsjFyS1tK0vZz qDrOsTlpcbgeoUp9A6uASDb6qTY2pkljJPU3RiCYdy/VkEPlrlv0V9wHEnHH4VnUn2zI BRw8cGkQl2ppcVOVUfbb94ZCEeCIbVohwW1safOMopFO1ylKruWwT5Gs3I9AkKjiz7gZ R4M9X9TDm2/4f1g2aOjmYEkMMV6OZ6FeopOzN8glpb7mW/MzQ7/8osGWyOHamT5r+hC0 Iuyw== X-Gm-Message-State: APjAAAU+pgDzPP8AKrD6qqQH/hFVHGU3fDuPm6A3DqXYUWG87jus6s5C qbcSGN9gQDfN9UaVsGxAy2UScTZ/ichaCQ== X-Received: by 2002:aca:4812:: with SMTP id v18mr3323563oia.36.1553050793075; Tue, 19 Mar 2019 19:59:53 -0700 (PDT) Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com. [209.85.167.173]) by smtp.gmail.com with ESMTPSA id 92sm342656oti.60.2019.03.19.19.59.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Mar 2019 19:59:51 -0700 (PDT) Received: by mail-oi1-f173.google.com with SMTP id v7so633289oie.8 for ; Tue, 19 Mar 2019 19:59:50 -0700 (PDT) X-Received: by 2002:aca:b7c4:: with SMTP id h187mr3760677oif.112.1553050789996; Tue, 19 Mar 2019 19:59:49 -0700 (PDT) MIME-Version: 1.0 References: <9d9fe5c2dc58f9398cb6b1e9bb208640d25ae816.1553009355.git-series.maxime.ripard@bootlin.com> In-Reply-To: <9d9fe5c2dc58f9398cb6b1e9bb208640d25ae816.1553009355.git-series.maxime.ripard@bootlin.com> From: Tomasz Figa Date: Wed, 20 Mar 2019 11:59:38 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 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 Hi Maxime, On Wed, Mar 20, 2019 at 12:29 AM 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/ext-ctrls-codec.rst | 569 ++++++++++++++- > Documentation/media/uapi/v4l/pixfmt-compressed.rst | 19 +- > Documentation/media/uapi/v4l/vidioc-queryctrl.rst | 30 +- > Documentation/media/videodev2.h.rst.exceptions | 5 +- > drivers/media/v4l2-core/v4l2-ctrls.c | 42 +- > drivers/media/v4l2-core/v4l2-ioctl.c | 1 +- > include/media/h264-ctrls.h | 192 +++++- > include/media/v4l2-ctrls.h | 13 +- > include/uapi/linux/videodev2.h | 1 +- > 10 files changed, 880 insertions(+), 1 deletion(-) > create mode 100644 include/media/h264-ctrls.h > Thanks for the patch and addressing my comments patiently! Reviewed-by: Tomasz Figa Best regards, Tomasz