media: uapi: Add generic serial metadata mbus formats
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 25 Apr 2023 13:50:25 +0000 (16:50 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 29 Apr 2024 12:56:36 +0000 (14:56 +0200)
commitf28bdda2f87aa0c299ad3ddef3e1fa5134ae8e47
treeb26b74e7320bca7d68f01011633f7f47c43a82b7
parent7ba432f01c8a59a7b9345095c98dce6983dd7aea
media: uapi: Add generic serial metadata mbus formats

Add generic serial metadata mbus formats. These formats describe data
width and packing but not the content itself. The reason for specifying
such formats is that the formats as such are fairly device specific but
they are still handled by CSI-2 receiver drivers that should not be aware
of device specific formats. What makes generic metadata formats possible
is that these formats are parsed by software only, after capturing the
data to system memory.

Also add a definition for "Data Unit" to cover what is essentially a pixel
but is not image data.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Documentation/userspace-api/media/glossary.rst
Documentation/userspace-api/media/v4l/subdev-formats.rst
include/uapi/linux/media-bus-format.h