Hi Sakari, On 06/16/2017 05:14 PM, Sakari Ailus wrote:
The V4L2_BUF_TYPE_META_OUTPUT buffer type complements the metadata buffer types support for OUTPUT buffers, capture being already supported. This is intended for similar cases than V4L2_BUF_TYPE_META_CAPTURE but for output buffers, e.g. device parameters that may be complex and highly hierarchical data structure. Statistics are a current use case for metadata capture buffers. There's a warning related to references from make htmldocs; I'll fix that in v2 / non-RFC version. Sakari Ailus (2): v4l: Add support for V4L2_BUF_TYPE_META_OUTPUT docs-rst: v4l: Document V4L2_BUF_TYPE_META_OUTPUT interface Documentation/media/uapi/v4l/buffer.rst | 3 +++ Documentation/media/uapi/v4l/dev-meta.rst | 32 ++++++++++++++---------- Documentation/media/uapi/v4l/vidioc-querycap.rst | 3 +++ drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 2 ++ drivers/media/v4l2-core/v4l2-ioctl.c | 25 ++++++++++++++++++ drivers/media/v4l2-core/videobuf2-v4l2.c | 1 + include/media/v4l2-ioctl.h | 17 +++++++++++++ include/uapi/linux/videodev2.h | 2 ++ 8 files changed, 72 insertions(+), 13 deletions(-)
I would very much appreciate it if you can also provide patches for v4l2-ctl and v4l2-compliance. Should be quite easy, just follow what I did for the META_CAPTURE support. Regards, Hans