libcamera/Documentation
Laurent Pinchart aee7f8207e libcamera: camera_sensor: Create abstract base class
With a camera sensor factory in place, the next step is to create an
abstract base class that all camera sensors implement, providing a
uniform API to pipeline handler. Turn all public functions of the
CameraSensor class into pure virtual functions, and move the
implementation to the CameraSensorLegacy class.

Part of the code is likely worth keeping as common helpers in a base
class. However, to follow the principle of not designing helpers with a
single user, this commit moves the whole implementation. Common helpers
will be introduced later, along with other CameraSensor subclasses.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
2024-11-05 18:07:42 +01:00
..
api-html
guides
images/rotation
internal-api-html
theme
binning.svg
camera-sensor-model.rst
code-of-conduct.rst
coding-style.rst
conf.py
contributing.rst
documentation-contents.rst
Doxyfile-common.in
Doxyfile-internal.in libcamera: camera_sensor: Create abstract base class 2024-11-05 18:07:42 +01:00
Doxyfile-public.in
environment_variables.rst
feature_requirements.rst
gen-doxyfile.py
getting-started.rst
index.rst
introduction.rst
lens_driver_requirements.rst
libcamera_architecture.rst
mainpage.dox
mali-c55.dot
meson.build
python-bindings.rst
sensor_driver_requirements.rst
sensor_model.svg
skipping.svg
software-isp-benchmarking.rst
thread-safety.dox