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(-) -- 2.40.1