diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/camera_sensor_properties.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index 7b7279ef..7d8ba9e9 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -64,8 +64,13 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen } }, { "imx258", { .unitCellSize = { 1120, 1120 }, - /* \todo fill test pattern modes for imx258. */ - .testPatternModes = {}, + .testPatternModes = { + { 0, controls::draft::TestPatternModeOff }, + { 1, controls::draft::TestPatternModeSolidColor }, + { 2, controls::draft::TestPatternModeColorBars }, + { 3, controls::draft::TestPatternModeColorBarsFadeToGray }, + { 4, controls::draft::TestPatternModePn9 }, + }, } }, { "ov5670", { .unitCellSize = { 1120, 1120 }, |