From: Benjamin Gaignard <benjamin.gaignard@collabora.com>
To: mchehab@kernel.org, ezequiel@vanguardiasur.com.ar,
hverkuil-cisco@xs4all.nl
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-rockchip@lists.infradead.org, kernel@collabora.com
Subject: Re: [PATCH v7 0/3] Enumerate all pixels formats
Date: Mon, 7 Oct 2024 13:36:38 +0200 [thread overview]
Message-ID: <557f9a0c-be89-477b-b8ee-e0bed98c2ee2@collabora.com> (raw)
In-Reply-To: <010201918fb76f7a-650dc960-4911-48d7-8e82-8f18243c4b71-000000@eu-west-1.amazonses.com>
Le 26/08/2024 à 19:24, Benjamin Gaignard a écrit :
> The goal of this series is to help userspace applications, like Gstreamer
> or Chromium, to categorize decoders and so avoid trying to use decoder
> that can't do the require task because it won't support the needed pixel
> format.
> As example, in today implementation we need to simulate 10 bit header
> control to know if the driver support 10 bits pixel formats. With this
> new flag it will simpler for userspace applications know if driver
> support 10 bit pixel formats and if it is supported by userspace.
>
> An example of how it can be used in GStreamer to discover the
> supported pixels formats for stateless decoders is available here:
> https://gitlab.freedesktop.org/benjamin.gaignard1/gstreamer/-/commits/v4l2codecs_enum_all_supported_formats?ref_type=heads
>
> v4l2-compliance test of this flag:
> https://gitlab.collabora.com/benjamin.gaignard/v4l-utils/-/commits/enum_all_formats_v4
>
> change in version 7:
> - Rework documentation about which drivers should use the flag
Hi,
a gentle ping on this series
Thanks,
Benjamin
>
> change in version 6:
> - Change flag name.
> - Improve documentation.
> - Improve visl driver to enumerate one more pixel format when the flag
> is used.
>
> changes in version 5:
> - Reset the proposal to follow Hans's advices
> - Add new flag to be used with index field.
> - Make vicodec and visl test driver use the new flag
> - Doing the same for Verisilicon driver.
>
> Benjamin Gaignard (3):
> media: videodev2: Add flag to unconditionally enumerate pixel formats
> media: test-drivers: Use V4L2_FMTDESC_FLAG_ENUM_ALL flag
> media: verisilicon: Use V4L2_FMTDESC_FLAG_ENUM_ALL flag
>
> .../media/v4l/vidioc-enum-fmt.rst | 18 ++++++++++++++++-
> .../media/videodev2.h.rst.exceptions | 1 +
> .../media/platform/verisilicon/hantro_v4l2.c | 18 ++++++++++++-----
> drivers/media/test-drivers/visl/visl-video.c | 20 +++++++++++++++++--
> include/uapi/linux/videodev2.h | 3 +++
> 5 files changed, 52 insertions(+), 8 deletions(-)
>
prev parent reply other threads:[~2024-10-07 11:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 17:24 Benjamin Gaignard
2024-10-07 11:36 ` Benjamin Gaignard [this message]
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=557f9a0c-be89-477b-b8ee-e0bed98c2ee2@collabora.com \
--to=benjamin.gaignard@collabora.com \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=hverkuil-cisco@xs4all.nl \
--cc=kernel@collabora.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mchehab@kernel.org \
/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
Powered by JetHome