Skip to content

Commit

Permalink
RASPBERRYPI ONLY: Add Sony IMX708 sensor properties
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
njhollinghurst authored and naushir committed Apr 17, 2024
1 parent 44e53f5 commit ae57756
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/libcamera/sensor/camera_sensor_properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit ae57756

Please sign in to comment.