Skip to content

Commit 6310d59

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 a15c431 commit 6310d59

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/libcamera/sensor/camera_sensor_properties.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,18 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
149149
{ controls::draft::TestPatternModePn9, 4 },
150150
},
151151
} },
152+
{ "imx708_noir", {
153+
.unitCellSize = { 1400, 1400 },
154+
.testPatternModes = {},
155+
} },
156+
{ "imx708_wide", {
157+
.unitCellSize = { 1400, 1400 },
158+
.testPatternModes = {},
159+
} },
160+
{ "imx708_wide_noir", {
161+
.unitCellSize = { 1400, 1400 },
162+
.testPatternModes = {},
163+
} },
152164
{ "ov2685", {
153165
.unitCellSize = { 1750, 1750 },
154166
.testPatternModes = {

0 commit comments

Comments
 (0)