mbox series

[RCF,0/2] Enumerate all pixels formats

Message ID 20240111160721.50020-1-benjamin.gaignard@collabora.com (mailing list archive)
Headers show
Series Enumerate all pixels formats | expand

Message

Benjamin Gaignard Jan. 11, 2024, 4:07 p.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.

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              |  3 +++
 .../userspace-api/media/v4l/vidioc-enum-fmt.rst      |  4 ++++
 .../userspace-api/media/videodev2.h.rst.exceptions   |  1 +
 drivers/media/platform/verisilicon/hantro_v4l2.c     | 12 +++++++++---
 drivers/media/v4l2-core/v4l2-ioctl.c                 |  2 +-
 include/uapi/linux/videodev2.h                       |  1 +
 6 files changed, 19 insertions(+), 4 deletions(-)