diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-11 12:02:14 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-25 23:47:13 +0900 |
commit | 012cfab9b17ffd084ef8fa5fcc1eb8d651ff85dc (patch) | |
tree | 0819567dcb3493c053316efaeff15232f3f10685 /test/v4l2_subdevice/v4l2_subdevice_test.h | |
parent | b5d61c86ab23baf420764cbcc4814aee42d34a9d (diff) |
v4l2: v4l2_camera_proxy: Fix v4l2-compliance support for extended formats
Fix the following v4l2-compliance error:
fail: v4l2-compliance.cpp(652): !(caps & V4L2_CAP_EXT_PIX_FORMAT)
Simply add V4L2_CAP_EXT_PIX_FORMAT to capabilities in querycap.
In addition, populate the necessary fields in struct v4l2_pix_format to
support extended pixel formats in try_fmt and g/s_fmt, and clear the
reserved field for enum_fmt.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Acked-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_subdevice/v4l2_subdevice_test.h')
0 files changed, 0 insertions, 0 deletions