mbox series

[v2,0/2] Enumerate all pixels formats

Message ID 20240131105008.109457-1-benjamin.gaignard@collabora.com
Headers show
Series Enumerate all pixels formats | expand

Message

Benjamin Gaignard Jan. 31, 2024, 10:50 a.m. UTC
The goal of this series is to let userland applications enumerate
all the supported pixels formats of a stateless decoder without
setting all the possible codec-dependent control.
That offer a simplest solution for applications to discover
supported pixels formats and possibly let them doing smarter
choice between stateless decoders.

changes in version 2:
- Clarify documentation.
- Only keep V4L2_FMT_FLAG_ALL_FORMATS flag in ioctl.

Benjamin

Benjamin Gaignard (2):
  media: videodev2: Add V4L2_FMT_FLAG_ALL_FORMATS flag
  media: verisilicon: Use V4L2_FMT_FLAG_ALL_FORMATS flag

 .../media/v4l/dev-stateless-decoder.rst              |  4 ++++
 .../userspace-api/media/v4l/vidioc-enum-fmt.rst      |  5 +++++
 .../userspace-api/media/videodev2.h.rst.exceptions   |  1 +
 drivers/media/platform/verisilicon/hantro_v4l2.c     | 12 +++++++++---
 drivers/media/v4l2-core/v4l2-ioctl.c                 |  3 +++
 include/uapi/linux/videodev2.h                       |  1 +
 6 files changed, 23 insertions(+), 3 deletions(-)