diff options
author | Daniel Scally <dan.scally@ideasonboard.com> | 2022-11-22 15:34:20 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-11-22 16:08:24 +0000 |
commit | bca24b4b5b2c18b844e8da80ac19819944f80a93 (patch) | |
tree | fcbe9579ded3a124f4ee26a1ddc83e17fc3e9194 /include/uvcgadget/v4l2-source.h | |
parent | d47c0701f2250889970afa6b5af025ea0a02b3be (diff) |
lib: uvc: Drop maxsize
The maxsize field of struct uvc_device is probably unecessary even if
it weren't currently fixed at 0. It's used to set dwMaxVideoFrameSize
in addition to the sizeimage member of a struct v4l2_pix_fmt (multiplied
in the latter instance by 1.5x). The documentary definitions for those
two values are such that they should be identical though, so simply
set dwMaxVideoFrameSize to width*height*2 (to maintain commonality
with other UVC Video devices) and use that to set the sizeimage.
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/uvcgadget/v4l2-source.h')
0 files changed, 0 insertions, 0 deletions