From: "Diederik de Haas" <didi.debian@cknow.org>
To: "Hugues Fruchet" <hugues.fruchet@foss.st.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Ezequiel Garcia" <ezequiel@vanguardiasur.com.ar>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Hans Verkuil" <hverkuil-cisco@xs4all.nl>,
"Fritz Koenig" <frkoenig@chromium.org>,
"Sebastian Fricke" <sebastian.fricke@collabora.com>,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Andrzej Pietrasiewicz" <andrzej.p@collabora.com>,
"Nicolas Dufresne" <nicolas.dufresne@collabora.com>,
"Benjamin Gaignard" <benjamin.gaignard@collabora.com>,
<linux-media@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-rockchip@lists.infradead.org>,
<linux-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH v2 1/3] media: uapi: add WebP uAPI
Date: Wed, 20 Nov 2024 16:43:12 +0100 [thread overview]
Message-ID: <D5R4DD00Z0A4.3BHMO8E5IZ6CH@cknow.org> (raw)
In-Reply-To: <20241120110105.244413-2-hugues.fruchet@foss.st.com>
[-- Attachment #1: Type: text/plain, Size: 2118 bytes --]
On Wed Nov 20, 2024 at 12:01 PM CET, Hugues Fruchet wrote:
> This patch adds the WebP picture decoding kernel uAPI.
>
> This design is based on currently available VP8 API implementation and
> aims to support the development of WebP stateless video codecs
> on Linux.
>
> Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>
> ---
> Documentation/userspace-api/media/v4l/biblio.rst | 9 +++++++++
> .../userspace-api/media/v4l/pixfmt-compressed.rst | 15 +++++++++++++++
> drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
> include/uapi/linux/videodev2.h | 1 +
> 4 files changed, 26 insertions(+)
>
> ...
>
> diff --git a/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst b/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst
> index 806ed73ac474..e664e70b0619 100644
> --- a/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst
> +++ b/Documentation/userspace-api/media/v4l/pixfmt-compressed.rst
> @@ -169,6 +169,21 @@ Compressed Formats
> this pixel format. The output buffer must contain the appropriate number
> of macroblocks to decode a full corresponding frame to the matching
> capture buffer.
> + * .. _V4L2-PIX-FMT-WEBP-FRAME:
> +
> + - ``V4L2_PIX_FMT_WEBP_FRAME``
> + - 'WEBP'
> + - WEBP VP8 parsed frame, excluding WEBP RIFF header, keeping only the VP8
> + bistream including the frame header, as extracted from the container.
s/bistream/bitstream/ ?
> + This format is adapted for stateless video decoders that implement a
> + WEBP pipeline with the :ref:`stateless_decoder`.
> + Metadata associated with the frame to decode is required to be passed
> + through the ``V4L2_CID_STATELESS_VP8_FRAME`` control.
> + See the :ref:`associated Codec Control IDs <v4l2-codec-stateless-vp8>`.
> + Exactly one output and one capture buffer must be provided for use with
> + this pixel format. The output buffer must contain the appropriate number
> + of macroblocks to decode a full corresponding frame to the matching
> + capture buffer.
>
> * .. _V4L2-PIX-FMT-VP9:
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2024-11-20 15:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-20 11:01 [PATCH v2 0/3] Add WebP support to hantro decoder Hugues Fruchet
2024-11-20 11:01 ` [PATCH v2 1/3] media: uapi: add WebP uAPI Hugues Fruchet
2024-11-20 13:42 ` Link Mauve
2024-11-20 13:57 ` Nicolas Dufresne
2024-11-20 14:21 ` Nicolas Dufresne
2024-11-21 9:59 ` Hugues FRUCHET
2024-11-20 15:43 ` Diederik de Haas [this message]
2024-11-21 10:08 ` Hugues FRUCHET
2024-12-12 14:34 ` Nicolas Dufresne
2024-11-20 11:01 ` [PATCH v2 2/3] media: verisilicon: add WebP decoding support Hugues Fruchet
2024-11-20 14:25 ` Nicolas Dufresne
2024-11-21 10:07 ` Hugues FRUCHET
2024-11-21 14:20 ` Nicolas Dufresne
2024-11-21 14:28 ` Hugues FRUCHET
2024-11-20 11:01 ` [PATCH v2 3/3] media: verisilicon: postproc: 4K support Hugues Fruchet
2024-12-12 14:26 ` Nicolas Dufresne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D5R4DD00Z0A4.3BHMO8E5IZ6CH@cknow.org \
--to=didi.debian@cknow.org \
--cc=andrzej.p@collabora.com \
--cc=benjamin.gaignard@collabora.com \
--cc=daniel.almeida@collabora.com \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=frkoenig@chromium.org \
--cc=hugues.fruchet@foss.st.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mchehab@kernel.org \
--cc=nicolas.dufresne@collabora.com \
--cc=p.zabel@pengutronix.de \
--cc=sebastian.fricke@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®