diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-02-04 17:55:31 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-09-30 11:15:26 +0300 |
commit | 616738943dbc26834479d1250f97fdfddac49bb3 (patch) | |
tree | d1524ed1262011141cb8669c216e10bc05e78343 /src/v4l2/meson.build | |
parent | 674828e35f823433ab5469510359bea21ccd26de (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>
Diffstat (limited to 'src/v4l2/meson.build')
0 files changed, 0 insertions, 0 deletions