This patch adds metadata output support in vivid driver. New metadata format V4L2_META_FMT_VIVID is added, which is used to set brightness, contrast, sturation and hue. V2 has changes in metadata output structure and metadata format define. Regards, Vandana. Vandana BN (2): v4l2-core: Add new metadata format vivid: Add metadata output support drivers/media/platform/vivid/Makefile | 2 +- drivers/media/platform/vivid/vivid-core.c | 98 +++++++++- drivers/media/platform/vivid/vivid-core.h | 10 + drivers/media/platform/vivid/vivid-ctrls.c | 14 +- .../media/platform/vivid/vivid-kthread-out.c | 50 ++++- drivers/media/platform/vivid/vivid-meta-out.c | 174 ++++++++++++++++++ drivers/media/platform/vivid/vivid-meta-out.h | 25 +++ drivers/media/platform/vivid/vivid-vid-out.c | 5 +- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/uapi/linux/videodev2.h | 1 + 10 files changed, 368 insertions(+), 12 deletions(-) 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