]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:36 +0000 (11:35 +0200)
commit8d3839d23a4541351f7299424b2ae3c66c5af092
tree09dddeee541b8d50983a0c3ac71552a80698c3a5
parent22edfa7296dced5623e94b8b42fe42280eefc60e
media: uapi: add MEDIA_BUS_FMT_METADATA_FIXED media bus format.

[ Upstream commit 9e7b19d5da7447e8bae89ec769fd15e8e158e5f1 ]

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>
Stable-dep-of: eed9496a0501 ("media: av7110: prevent underflow in write_ts_to_decoder()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/media/uapi/v4l/subdev-formats.rst
include/uapi/linux/media-bus-format.h