summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hollinghurst <nick.hollinghurst@raspberrypi.com>2022-12-08 13:53:16 +0000
committerNaushir Patuck <naush@raspberrypi.com>2023-11-15 09:17:35 +0000
commit9cde63a7521613b424dd17f30d1929fe6b9d91de (patch)
treedfdc38a3988855e4b31352aa1af24d0541d20a72
parent7133386458afb5babaf587517a669f83ac9e49b8 (diff)
RASPBERRYPI ONLY: Add Sony IMX708 sensor properties
The IMX708 sensor driver advertises its module variants (narrow/wide angle lens, IR block/pass) by modifying the media entity name string. So add duplicate entries for each variant. Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com> Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
-rw-r--r--src/libcamera/camera_sensor_properties.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp
index 27d6799a..d8e1f9be 100644
--- a/src/libcamera/camera_sensor_properties.cpp
+++ b/src/libcamera/camera_sensor_properties.cpp
@@ -137,6 +137,18 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
{ controls::draft::TestPatternModePn9, 4 },
},
} },
+ { "imx708_noir", {
+ .unitCellSize = { 1400, 1400 },
+ .testPatternModes = {},
+ } },
+ { "imx708_wide", {
+ .unitCellSize = { 1400, 1400 },
+ .testPatternModes = {},
+ } },
+ { "imx708_wide_noir", {
+ .unitCellSize = { 1400, 1400 },
+ .testPatternModes = {},
+ } },
{ "ov2685", {
.unitCellSize = { 1750, 1750 },
.testPatternModes = {