Skip to content

Commit 1d4b1a7

Browse files
njhollinghurstnaushir
authored andcommitted
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 <[email protected]> Signed-off-by: Naushir Patuck <[email protected]> Reviewed-by: Naushir Patuck <[email protected]> Reviewed-by: David Plowman <[email protected]>
1 parent 885f05e commit 1d4b1a7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/libcamera/camera_sensor_properties.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,18 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
137137
{ controls::draft::TestPatternModePn9, 4 },
138138
},
139139
} },
140+
{ "imx708_noir", {
141+
.unitCellSize = { 1400, 1400 },
142+
.testPatternModes = {},
143+
} },
144+
{ "imx708_wide", {
145+
.unitCellSize = { 1400, 1400 },
146+
.testPatternModes = {},
147+
} },
148+
{ "imx708_wide_noir", {
149+
.unitCellSize = { 1400, 1400 },
150+
.testPatternModes = {},
151+
} },
140152
{ "ov2685", {
141153
.unitCellSize = { 1750, 1750 },
142154
.testPatternModes = {

0 commit comments

Comments
 (0)