Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2188097pxb; Sat, 14 Nov 2020 17:16:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFuIRmI/z/RnV2lg0rbdgWO39seT0tFFbQQvpQ8BTrFCcRJ3l5DHmDRFLQAKItnPgnGGVv X-Received: by 2002:a17:907:d8b:: with SMTP id go11mr162256ejc.247.1605403012751; Sat, 14 Nov 2020 17:16:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605403012; cv=none; d=google.com; s=arc-20160816; b=vCiWmEbROi6V6TxCzmxthyaO460kFM4OvZY0mv0eYb29I7ohVhzmdSUdV3CdK9ZtuS RYjhdIzDZEO5Hk1sMLMjddPW54MHP6bx6rfwqv8ey/lHsOS3A0gqyEYqxV1axHvQtkk+ V05b3eed3+ic9kgYKRl46F1hB1AXyQgAdhnlgKmov5yXscvz0lHGbhdJIw8q2LqZ2rBN 6ZtXIBktYrGKjv9KTwjQMne95DIuIVvEHOX2EIJYGeyA6X4cRDeArz40wHmgwI5aqJOM A95LwoTKNl1ieC1PpqiHfNomz1rm6Qo9YeXApOgPsV7BY1SECYtyl/zQXV93qLAfwl3p AmWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:organization:references:in-reply-to:date:cc:to:from :subject:message-id; bh=GjY3o9+5y71pwcnIENx956MbsKBbL8ZBS4E4E0k5EZ0=; b=j63d1kyVQmyxoi65hvP1XJbR5cUDGN7HQ/Fl6tgH0y7Jq0jHqrIyjDPQ+1lBxcf2J3 qEVVXwobx3+oRnhed48AXB9vkrn/Q17GziVm3pb+8gxItkG941JurybkAHUsI+/rlHUa keYUzNd6pPjRhZ5IJ7OsmA+75xY0feF7fFf5k8s8YhEbETiF6rhL0IK/+JRj3RiXY1HS mQsa8vGgTBR26Ptf/dtoc/fJShpfhZxVJy8tqv9xg/WkuWKdFUVUq3W7w8V+srfVTO8e 2xJdYF+NwUVVB3KvdLRYUmnQycfg6ssoHX5tlBflffEEAZJm7jY6XKsTq1+nt4Pyqd5Q jt8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id g16si8755943ejw.559.2020.11.14.17.16.29; Sat, 14 Nov 2020 17:16:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726510AbgKOBME (ORCPT + 99 others); Sat, 14 Nov 2020 20:12:04 -0500 Received: from bhuna.collabora.co.uk ([46.235.227.227]:45734 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbgKOBME (ORCPT ); Sat, 14 Nov 2020 20:12:04 -0500 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: ezequiel) with ESMTPSA id 123321F47E3B Message-ID: <3803ef740171b4684c788ab21f7fcc32231ca198.camel@collabora.com> Subject: Re: [PATCH v2 9/9] media: docs: Move the H264 stateless codec uAPI From: Ezequiel Garcia To: Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kernel@collabora.com, Jonas Karlman , Nicolas Dufresne , Philipp Zabel , Maxime Ripard , Paul Kocialkowski , Jernej Skrabec Date: Sat, 14 Nov 2020 22:11:52 -0300 In-Reply-To: References: <20201113215121.505173-1-ezequiel@collabora.com> <20201113215121.505173-10-ezequiel@collabora.com> Organization: Collabora Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2020-11-14 at 13:57 +0100, Hans Verkuil wrote: > On 13/11/2020 22:51, Ezequiel Garcia wrote: > > Now that we've destaged the H264 stateless codec controls, > > and with all the pieces in place, update the documentation > > and move it to its own section. > > > > Signed-off-by: Ezequiel Garcia > > --- > > .../userspace-api/media/v4l/common.rst | 1 + > > .../media/v4l/ext-ctrls-codec-stateless.rst | 674 +++++++++++++++++ > > .../media/v4l/ext-ctrls-codec.rst | 692 ------------------ > > .../media/v4l/pixfmt-compressed.rst | 14 +- > > 4 files changed, 682 insertions(+), 699 deletions(-) > > create mode 100644 Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst > > > > > > > diff --git a/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst b/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst > > index d585909bc4e2..32b91ce0f0d9 100644 > > --- a/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst > > +++ b/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst > > @@ -59,14 +59,14 @@ Compressed Formats > > This format is adapted for stateless video decoders that implement an > > H264 pipeline (using the :ref:`mem2mem` and :ref:`media-request-api`). > > This pixelformat has two modifiers that must be set at least once > > - through the ``V4L2_CID_MPEG_VIDEO_H264_DECODE_MODE`` > > - and ``V4L2_CID_MPEG_VIDEO_H264_START_CODE`` controls. > > + through the ``V4L2_CID_STATELESS_H264_DECODE_MODE`` > > + and ``V4L2_CID_STATELESS_H264_START_CODE`` controls. > > In addition, metadata associated with the frame to decode are > > - required to be passed through the ``V4L2_CID_MPEG_VIDEO_H264_SPS``, > > - ``V4L2_CID_MPEG_VIDEO_H264_PPS``, > > - ``V4L2_CID_MPEG_VIDEO_H264_SCALING_MATRIX``, > > - ``V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAMS`` and > > - ``V4L2_CID_MPEG_VIDEO_H264_DECODE_PARAMS`` controls. See the > > + required to be passed through the ``V4L2_CID_STATELESS_H264_SPS``, > > + ``V4L2_CID_STATELESS_H264_PPS``, > > + ``V4L2_CID_STATELESS_H264_SCALING_MATRIX``, > > + ``V4L2_CID_STATELESS_H264_SLICE_PARAMS`` and > > + ``V4L2_CID_STATELESS_H264_DECODE_PARAMS`` controls. See the > > :ref:`associated Codec Control IDs `. Exactly > > one output and one capture buffer must be provided for use > > with this pixel format. The output buffer must contain the > > > > There is a note about this 'format not yet part of the public API' that > needs to be deleted as well. > Good catch. Thanks, Eze > > >