summaryrefslogtreecommitdiff
path: root/test/list-cameras.cpp
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-01-22 18:51:15 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2019-01-23 14:33:34 +0000
commite5163f54d47c4f2c167eba5e40f8df62229e8ad5 (patch)
tree2914553e57658d03f064c523ccfe95566accb55a /test/list-cameras.cpp
parenta22dcaaa786de67786eeaeb47598ed76339249ad (diff)
libcamera: v4l2device: Obtain device capabilities
The capabilities structure from the kernel can return capabilities of the driver, or potentially more specific device capabilities. Handle this with an inline function 'device_caps()' to return the device specific capabilities when available, or fall back to the driver capabilities otherwise. Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/list-cameras.cpp')
0 files changed, 0 insertions, 0 deletions