libcamera: Add OV8865 sensor properties

Add camera sensor properties for the OV8865 sensor. This is the world
facing camera on most MS Surface platforms.

Signed-off-by: Daniel Scally <djrscally@gmail.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Daniel Scally 2021-07-22 21:36:58 +01:00 committed by Laurent Pinchart
parent 2c88a6dbc1
commit 34eef24d0b

View file

@ -102,6 +102,20 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen
*/
},
} },
{ "ov8865", {
.unitCellSize = { 1400, 1400 },
.testPatternModes = {
{ 0, controls::draft::TestPatternModeOff },
{ 2, controls::draft::TestPatternModeColorBars },
/*
* No corresponding test pattern mode for:
* 1: "Random data"
* 3: "Color bars with rolling bar"
* 4: "Color squares"
* 5: "Color squares with rolling bar"
*/
},
} },
};
const auto it = sensorProps.find(sensor);