Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
libcamera
Commits
86dbed4a
Commit
86dbed4a
authored
Oct 11, 2021
by
Dorota Czaplejewicz
Browse files
Add s5k3l6xx sensor support
parent
d79b4120
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libcamera/camera_sensor_properties.cpp
View file @
86dbed4a
...
...
@@ -134,6 +134,24 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
{
1
,
controls
::
draft
::
TestPatternModeColorBars
},
},
}
},
{
"s5k3l6xx"
,
{
.
unitCellSize
=
{
1120
,
1120
},
.
testPatternModes
=
{
{
0
,
controls
::
draft
::
TestPatternModeOff
},
{
1
,
controls
::
draft
::
TestPatternModeSolidColor
},
{
2
,
controls
::
draft
::
TestPatternModeColorBars
},
{
3
,
controls
::
draft
::
TestPatternModeColorBarsFadeToGray
},
{
4
,
controls
::
draft
::
TestPatternModePn9
},
/*
* No corresponding test pattern mode for:
* 5: "Gradient Horizontal"
* 6: "Gradient Vertical"
* 7: "Check Board"
* 8: "Slant Pattern"
* 9: "Resolution Pattern"
*/
},
}
},
};
const
auto
it
=
sensorProps
.
find
(
sensor
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment