summaryrefslogtreecommitdiff
path: root/utils/update-mojo.sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-02-04 17:55:31 +0200
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-11-05 18:07:42 +0100
commitaee7f8207e1eea9559e0adcc3c66b04882f1f3dc (patch)
treee25eca35c30a812c54d816b3ba7e064c0fa1a534 /utils/update-mojo.sh
parent6ba23735b973bb4922efd407cb2ce7c2503eadd0 (diff)
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>
Diffstat (limited to 'utils/update-mojo.sh')
0 files changed, 0 insertions, 0 deletions