media: v4l: Add support for V4L2_BUF_TYPE_META_OUTPUT
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 16 Jun 2017 12:38:31 +0000 (08:38 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 14 Dec 2018 10:10:48 +0000 (05:10 -0500)
commit72148d1a57e7c76745e68c94ad5d235240d26ac8
tree763aa6efc8e8d4802fa69608f4565b03670bc46b
parentfa09d06522ceac428fdc5c2b57c572f6cfd0a8bb
media: v4l: Add support for V4L2_BUF_TYPE_META_OUTPUT

The V4L2_BUF_TYPE_META_OUTPUT mirrors the V4L2_BUF_TYPE_META_CAPTURE with
the exception that it is an OUTPUT type. The use case for this is to pass
buffers to the device that are not image data but metadata. The formats,
just as the metadata capture formats, are typically device specific and
highly structured.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Tested-by: Tian Shu Qiu <tian.shu.qiu@intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/common/videobuf2/videobuf2-v4l2.c
drivers/media/v4l2-core/v4l2-compat-ioctl32.c
drivers/media/v4l2-core/v4l2-dev.c
drivers/media/v4l2-core/v4l2-ioctl.c
include/media/v4l2-ioctl.h
include/uapi/linux/videodev2.h