[PATCH v11 0/3] vivid: Metadata support

Vandana BN
2019-10-15T10:40:38Z

This patch adds metadata support in vivid driver.
Metadata capture supports UVCH format V4L2_META_FMT_UVC as it is widely used in webcams.
https://hverkuil.home.xs4all.nl/spec/uapi/v4l/pixfmt-meta-uvc.html
For Metadata output a new format V4L2_META_FMT_VIVID is added,
which is used to set brightness, contrast, sturation and hue.

Changes in V11:
fix in metadata output patch to correctly update sequence.
fix in metadata capture patch updating description of node_types
in module patameter.

Regards,
Vandana.

Vandana BN (3):
vivid: Add metadata capture support
v4l2-core: Add new metadata format
vivid: Add metadata output support

drivers/media/platform/vivid/Makefile | 2 +-
drivers/media/platform/vivid/vivid-core.c | 197 ++++++++++++++++-
drivers/media/platform/vivid/vivid-core.h | 24 +++
drivers/media/platform/vivid/vivid-ctrls.c | 75 +++++++
.../media/platform/vivid/vivid-kthread-cap.c | 54 ++++-
.../media/platform/vivid/vivid-kthread-out.c | 49 ++++-
drivers/media/platform/vivid/vivid-meta-cap.c | 201 ++++++++++++++++++
drivers/media/platform/vivid/vivid-meta-cap.h | 29 +++
drivers/media/platform/vivid/vivid-meta-out.c | 174 +++++++++++++++
drivers/media/platform/vivid/vivid-meta-out.h | 25 +++
drivers/media/platform/vivid/vivid-vid-cap.c | 5 +-
drivers/media/platform/vivid/vivid-vid-out.c | 5 +-
drivers/media/v4l2-core/v4l2-ioctl.c | 1 +
include/uapi/linux/videodev2.h | 1 +
14 files changed, 824 insertions(+), 18 deletions(-)
create mode 100644 drivers/media/platform/vivid/vivid-meta-cap.c
create mode 100644 drivers/media/platform/vivid/vivid-meta-cap.h
create mode 100644 drivers/media/platform/vivid/vivid-meta-out.c
create mode 100644 drivers/media/platform/vivid/vivid-meta-out.h

--
2.17.1