mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 00:45:07 +03:00
ipa: raspberrypi: Add sensitivity field to camera mode
We use the CamHelper class to initialise it to the usual value of 1. The CamHelper's GetModeSensitivity method can be redefined to implement a different behaviour for sensors that require it. Signed-off-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Acked-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
2288550f7d
commit
d0c429c34c
4 changed files with 22 additions and 0 deletions
|
@ -41,6 +41,8 @@ struct CameraMode {
|
|||
libcamera::Transform transform;
|
||||
// minimum and maximum fame lengths in units of lines
|
||||
uint32_t min_frame_length, max_frame_length;
|
||||
// sensitivity of this mode
|
||||
double sensitivity;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue