[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2404c3d0-140c-4481-b45f-f762cce8ecf6@foss.st.com>
Date: Thu, 21 Nov 2024 11:08:11 +0100
From: Hugues FRUCHET <hugues.fruchet@...s.st.com>
To: Diederik de Haas <didi.debian@...ow.org>,
Mauro Carvalho Chehab
<mchehab@...nel.org>,
Ezequiel Garcia <ezequiel@...guardiasur.com.ar>,
Philipp Zabel <p.zabel@...gutronix.de>,
Hans Verkuil
<hverkuil-cisco@...all.nl>,
Fritz Koenig <frkoenig@...omium.org>,
Sebastian
Fricke <sebastian.fricke@...labora.com>,
Daniel Almeida
<daniel.almeida@...labora.com>,
Andrzej Pietrasiewicz
<andrzej.p@...labora.com>,
Nicolas Dufresne <nicolas.dufresne@...labora.com>,
Benjamin Gaignard <benjamin.gaignard@...labora.com>,
<linux-media@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-rockchip@...ts.infradead.org>,
<linux-stm32@...md-mailman.stormreply.com>
Subject: Re: [PATCH v2 1/3] media: uapi: add WebP uAPI
Hi Diederik,
On 11/20/24 16:43, Diederik de Haas wrote:
> 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@...s.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/ ?
Thanks for noticing this typo, will fix in v3...
>
>> + 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:
>>
BR,
Hugues.
Powered by blists - more mailing lists