media: uapi: v4l: Add generic 8-bit metadata format definitions
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 26 Apr 2023 10:28:48 +0000 (13:28 +0300)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 29 Apr 2024 12:56:36 +0000 (14:56 +0200)
commit1d92152339587174363c3c9f7561de95646d5625
treeb99cdd37b25abe9edfb6375a661eec9bc70814d2
parentac5214a47336b8a8f7e54f406ee4f7eed9223599
media: uapi: v4l: Add generic 8-bit metadata format definitions

Generic 8-bit metadata formats define the in-memory data layout but not
the format of the data itself. The reasoning for having such formats is to
allow CSI-2 receiver drivers to receive and DMA drivers to write the data
to memory without knowing a large number of device-specific formats.

These formats may be used only in conjunction with a Media Controller
pipeline where the internal pad of the source sub-device defines the
specific format of the data (using an mbus code).

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/v4l/dev-subdev.rst
Documentation/userspace-api/media/v4l/meta-formats.rst
Documentation/userspace-api/media/v4l/metafmt-generic.rst [new file with mode: 0644]
drivers/media/v4l2-core/v4l2-ioctl.c
include/uapi/linux/videodev2.h