It turns out that Sakari posted a newer patch in 2018. I used that
for this v2: https://patchwork.linuxtv.org/patch/48372/

Mauro commented on that original patch that there was no need to
have this available for userspace.

I disagree: why wouldn't userspace want to report pixelformats?

It happens in several places in v4l-utils, and there the pixelformats are
printed in different ways as well. Providing a standard way of reporting
a V4L2 fourcc is very useful.

Regards,

        Hans

Hans Verkuil (1):
  v4l2-ioctl.c: use new v4l2_fourcc_conv/args macros

Sakari Ailus (1):
  v4l: Add macros for printing V4L fourcc values

 .../media/videodev2.h.rst.exceptions          |  2 +
 drivers/media/v4l2-core/v4l2-ioctl.c          | 58 ++++++-------------
 include/uapi/linux/videodev2.h                | 27 +++++++++
 3 files changed, 47 insertions(+), 40 deletions(-)

-- 
2.20.1

Reply via email to