libcamera: camera_sensor: Move related classes to subdirectory

In preparation for adding alternative implementations of the
CameraSensor class, move the code to a subdirectory to avoid cluttering
the main src/libcamera/ directory.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2024-01-29 17:36:30 +02:00
parent c5a8152af2
commit 2a0baf47eb
4 changed files with 7 additions and 2 deletions

View file

@ -7,8 +7,6 @@ libcamera_sources = files([
'camera_controls.cpp',
'camera_lens.cpp',
'camera_manager.cpp',
'camera_sensor.cpp',
'camera_sensor_properties.cpp',
'color_space.cpp',
'controls.cpp',
'control_serializer.cpp',
@ -69,6 +67,7 @@ subdir('converter')
subdir('ipa')
subdir('pipeline')
subdir('proxy')
subdir('sensor')
null_dep = dependency('', required : false)

View file

@ -0,0 +1,6 @@
# SPDX-License-Identifier: CC0-1.0
libcamera_sources += files([
'camera_sensor.cpp',
'camera_sensor_properties.cpp',
])