OSDN Git Service

media: uapi: add MEDIA_BUS_FMT_METADATA_FIXED media bus format.
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Fri, 30 Oct 2020 13:46:08 +0000 (14:46 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:16 +0000 (10:31 +0100)
commit6ad253cc3436269fc6bcff03d704c672f368da0a
tree6fc886a588bdb5961825964ccea410e5db8d15df
parent940727bf22f74cbdef8de327de34c4ae565c89ea
media: uapi: add MEDIA_BUS_FMT_METADATA_FIXED media bus format.

MEDIA_BUS_FMT_METADATA_FIXED should be used when
the same driver handles both sides of the link and
the bus format is a fixed metadata format that is
not configurable from userspace.
The width and height will be set to 0 for this format.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/v4l/subdev-formats.rst
include/uapi/linux/media-bus-format.h