diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-08-06 13:41:48 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-10-02 15:04:41 +0200 |
commit | a60020c3c3ee051de9aaa053cf07879cbd5abd3e (patch) | |
tree | 0b5b40e34d09042dbb832ed1de3e38b2a08ee819 /src/cam/main.h | |
parent | e0913d56c26bb55a0fd5b3de5e355f39cf26a940 (diff) |
libcamera: pipeline: uvcvideo: Initialize CameraData from MediaDevice
The UVCCameraData::init() is the only consumer of the default entry in
the media graph, move the lookup of it into the init() function and pass
it the MediaDevice. This is done in preparation to extend the CameraData
initialization to consume more information from the MediaDevice.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/main.h')
0 files changed, 0 insertions, 0 deletions