libcamera/include/libcamera
Kieran Bingham 0a1aaa8d55 libcamera: v4l2_videodevice: provide hasMediaController()
The V4L2Capability has helpers to interogate the capabilities
of a device.

V4L2VideoDevice::enumPixelformats accesses the raw capabilites to check
if the device is supported by a MediaController device.

Provide a helper, and update the usage.

Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-10-27 14:31:49 +01:00
..
base libcamera: base: backtrace: Fallback to libunwind for symbolic names 2021-10-15 05:05:28 +03:00
internal libcamera: v4l2_videodevice: provide hasMediaController() 2021-10-27 14:31:49 +01:00
ipa ipa: ipu3: Update camera controls in configure() 2021-10-15 09:32:30 +02:00
camera.h libcamera: Drop emitter object pointer from signal arguments 2021-09-02 01:16:45 +03:00
camera_manager.h libcamera/base: Move extended base functionality 2021-06-25 16:11:08 +01:00
compiler.h libcamera: Add macro to conditionally use [[nodiscard]] 2021-02-04 21:00:38 +02:00
control_ids.h.in libcamera: controls: Generate an array of valid values 2020-10-26 17:51:55 +01:00
controls.h libcamera: control_serializer: Use the right idmap 2021-09-27 14:37:39 +02:00
file_descriptor.h libcamera: file_descriptor: Add a function to retrieve the inode 2021-09-07 19:17:38 +03:00
formats.h.in libcamera: Define constants for pixel formats in the public API 2020-06-18 13:26:36 +03:00
framebuffer.h libcamera: framebuffer: Prevent modifying the number of metadata planes 2021-09-07 19:18:31 +03:00
framebuffer_allocator.h libcamera/base: Move class helpers to the base library 2021-06-25 16:11:03 +01:00
geometry.h libcamera: geometry: Add Size members to grown or shrink by a margin 2021-10-15 05:05:17 +03:00
logging.h libcamera: logging: add syslog, stream, and nowhere logging targets 2019-07-17 14:36:35 +09:00
meson.build libcamera: Simplify header install paths with shortcut variables 2021-09-29 12:42:15 +03:00
pixel_format.h libcamera: pixel_format: Add a function to return format based on string 2020-08-03 11:48:47 +01:00
property_ids.h.in libcamera: Support draft controls and properties 2020-10-26 17:51:54 +01:00
request.h libcamera: request: Use external CameraControlValidator 2021-10-25 09:56:50 +01:00
stream.h libcamera: buffer: Rename buffer.h to framebuffer.h 2021-07-11 17:42:02 +03:00
transform.h libcamera: Add Transform enum to represent 2D plane transforms. 2020-09-29 11:43:06 +01:00
version.h.in libcamera: Rework automatic version generation to avoid rebuilds 2019-07-09 12:34:10 +03:00