linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/2] Add helper functions to print a fourcc
@ 2019-09-16 10:04 Hans Verkuil
  2019-09-16 10:04 ` [PATCHv2 1/2] v4l: Add macros for printing V4L fourcc values Hans Verkuil
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Hans Verkuil @ 2019-09-16 10:04 UTC (permalink / raw)
  To: linux-media; +Cc: Dave Stevenson, Sakari Ailus

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-03-31 14:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16 10:04 [PATCHv2 0/2] Add helper functions to print a fourcc Hans Verkuil
2019-09-16 10:04 ` [PATCHv2 1/2] v4l: Add macros for printing V4L fourcc values Hans Verkuil
2019-09-16 12:07   ` Sakari Ailus
2019-09-16 12:15     ` Hans Verkuil
2019-10-02 12:40   ` Ezequiel Garcia
2019-09-16 10:04 ` [PATCHv2 2/2] v4l2-ioctl.c: use new v4l2_fourcc_conv/args macros Hans Verkuil
2019-10-02 12:45   ` Ezequiel Garcia
2019-09-16 11:52 ` [PATCHv2 0/2] Add helper functions to print a fourcc Sakari Ailus
2019-09-16 12:00   ` Hans Verkuil
2020-01-29 11:52     ` Dave Stevenson
2020-01-30 21:38       ` Kieran Bingham
2020-03-25 13:50       ` Dave Stevenson
2020-03-31 10:27         ` Sakari Ailus
2020-03-31 14:05           ` Dave Stevenson
2020-03-31 14:29             ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).