mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-12 14:59:44 +03:00
libcamera: Add CameraSensor implementation for raw V4L2 sensors
Add a new CameraSensorRaw implementation of the CameraSensor interface tailored to devices that implement the new V4L2 raw camera sensors API. This new class duplicates code from the CameraSensorLegacy class. The two classes will be refactored to share code. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
99b54c2c55
commit
a09c7f212c
3 changed files with 1087 additions and 0 deletions
|
@ -26,6 +26,7 @@ EXCLUDE = @TOP_SRCDIR@/include/libcamera/base/span.h \
|
||||||
@TOP_SRCDIR@/src/libcamera/ipc_pipe_unixsocket.cpp \
|
@TOP_SRCDIR@/src/libcamera/ipc_pipe_unixsocket.cpp \
|
||||||
@TOP_SRCDIR@/src/libcamera/pipeline/ \
|
@TOP_SRCDIR@/src/libcamera/pipeline/ \
|
||||||
@TOP_SRCDIR@/src/libcamera/sensor/camera_sensor_legacy.cpp \
|
@TOP_SRCDIR@/src/libcamera/sensor/camera_sensor_legacy.cpp \
|
||||||
|
@TOP_SRCDIR@/src/libcamera/sensor/camera_sensor_raw.cpp \
|
||||||
@TOP_SRCDIR@/src/libcamera/tracepoints.cpp \
|
@TOP_SRCDIR@/src/libcamera/tracepoints.cpp \
|
||||||
@TOP_BUILDDIR@/include/libcamera/internal/tracepoints.h \
|
@TOP_BUILDDIR@/include/libcamera/internal/tracepoints.h \
|
||||||
@TOP_BUILDDIR@/include/libcamera/ipa/soft_ipa_interface.h \
|
@TOP_BUILDDIR@/include/libcamera/ipa/soft_ipa_interface.h \
|
||||||
|
|
1085
src/libcamera/sensor/camera_sensor_raw.cpp
Normal file
1085
src/libcamera/sensor/camera_sensor_raw.cpp
Normal file
File diff suppressed because it is too large
Load diff
|
@ -4,4 +4,5 @@ libcamera_internal_sources += files([
|
||||||
'camera_sensor.cpp',
|
'camera_sensor.cpp',
|
||||||
'camera_sensor_legacy.cpp',
|
'camera_sensor_legacy.cpp',
|
||||||
'camera_sensor_properties.cpp',
|
'camera_sensor_properties.cpp',
|
||||||
|
'camera_sensor_raw.cpp',
|
||||||
])
|
])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue