libcamera/Documentation
Laurent Pinchart 5e1f0d8b54 libcamera: camera_sensor: Restrict sensor info to raw sensors
YUV sensors don't provide the necessary information to fill
CameraSensorInfo, as they include an ISP and provide a higher-level API
that doesn't always expose low-level information. The CameraSensor class
makes low-level V4L2 controls mandatory for all sensors, which prevents
usage of YUV sensors with the simple pipeline handler.

Make CameraSensor::sensorInfo() available for raw sensors only. This
won't introduce any regression in pipeline handlers that currently use
the sensorInfo() function as they all operate with raw sensors, and
won't be a limitation for the simple pipeline handler as well as it
doesn't use sensor info. If part of the sensor info (such as the active
pixel array size for instance) becomes useful to expose for YUV sensors
in the future, the sensorInfo() function can be extended to report that
information only and skip data that is only available for raw sensors.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2021-02-05 01:24:35 +02:00
..
api-html licenses: Add SPDX headers to RST documentation 2020-04-15 19:51:56 +03:00
guides libcamera: pipeline_handler: Remove Camera argument from request handling 2020-12-28 14:02:13 +01:00
theme licenses: Add SPDX headers to the website builder and theme 2020-06-09 23:26:12 +03:00
coding-style.rst utils: checkstyle.py: Drop astyle support 2020-12-29 16:45:36 +02:00
conf.py licenses: Add SPDX headers to the website builder and theme 2020-06-09 23:26:12 +03:00
contributing.rst licenses: Add SPDX headers to RST documentation 2020-04-15 19:51:56 +03:00
docs.rst docs: Markup LD_PRELOAD as code 2020-06-05 09:29:40 +01:00
Doxyfile.in Documentation: Fix Doxygen exclusion of details namespaces 2020-12-27 12:29:26 +02:00
environment_variables.rst Documentation: Add descriptions for environment variables 2020-12-27 12:29:05 +02:00
index.rst libcamera: Document sensor driver requirements 2021-01-18 10:39:13 +01:00
meson.build libcamera: Document sensor driver requirements 2021-01-18 10:39:13 +01:00
sensor_driver_requirements.rst libcamera: camera_sensor: Restrict sensor info to raw sensors 2021-02-05 01:24:35 +02:00