libcamera: libipa: Add vd56g3 support for libipa
Values are sourced initially from the vd56g3 user manual. Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
committed by
Kieran Bingham
parent
0c4b789195
commit
409d1b29da
@@ -745,6 +745,18 @@ public:
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("ov13858", CameraSensorHelperOv13858)
|
||||
|
||||
class CameraSensorHelperVd56g3 : public CameraSensorHelper
|
||||
{
|
||||
public:
|
||||
CameraSensorHelperVd56g3()
|
||||
{
|
||||
/* From datasheet: 0x40 at 10bits. */
|
||||
blackLevel_ = 4096;
|
||||
gain_ = AnalogueGainLinear{ 0, 32, -1, 32 };
|
||||
}
|
||||
};
|
||||
REGISTER_CAMERA_SENSOR_HELPER("vd56g3", CameraSensorHelperVd56g3)
|
||||
|
||||
#endif /* __DOXYGEN__ */
|
||||
|
||||
} /* namespace ipa */
|
||||
|
||||
Reference in New Issue
Block a user