summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_camera.cpp
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2019-12-22 02:31:56 -0600
committerPaul Elder <paul.elder@ideasonboard.com>2020-01-03 19:53:14 -0500
commiteffe4d6ced881486ef1d17448c7a53aa36ef41eb (patch)
tree8396311e1587ae93842f68baced2ecbe72ec6aec /src/v4l2/v4l2_camera.cpp
parent58a19b9d56e5002367794ef0d2e9cf8dcd8d0be5 (diff)
libcamera: camera_manager, pipeline_handler: allow retrieving cameras by device numbers
The V4L2 compatibility layer will need a way to map device numbers to libcamera Camera instances. Expose a method in the camera manager to retrieve Camera instances by devnum. The mapping from device numbers to Camera instances is optionally declared by pipeline handlers when they register cameras with the camera manager. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_camera.cpp')
0 files changed, 0 insertions, 0 deletions