diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-02-26 03:25:43 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-03-15 12:55:05 +0200 |
commit | 0d2ad0cd8424e1b418cbb753bae100efc1b3d669 (patch) | |
tree | d185305d20556cf251bbd05297580286b76bb8ad /include/meson.build | |
parent | d41e0585e972c1350d55679e61e0b91368bb61f9 (diff) |
libcamera: v4l2_subdevice: Add stream support to get/set functions
Extend the V4L2Subdevice API with stream support for the functions that
get and set formats and selection rectangles. Add a Stream structure to
identify a subdev pad and stream, and use it to extend the V4L2Subdevice
functions that get and set formats and selection rectangles with stream
support.
To preserve the existing pad-based API, implement overloaded functions
that wrap the new stream-based API. This allows callers that are not
stream-aware to use a simpler pad-based API, instead of having to
explicitly set the stream number to 0 in all API calls.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/meson.build')
0 files changed, 0 insertions, 0 deletions