diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2020-04-24 11:46:57 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-04-27 20:18:08 +0300 |
commit | fa77a02c0a099ad02ed55935bdbe8cd441a8d893 (patch) | |
tree | 8290bd44507f8ed45ab9cc465a86941c39b1f68a /src/qcam/assets/feathericons/link-2.svg | |
parent | 47d09a13b3acead2cd6007d6b6022931756c9ae7 (diff) |
libcamera: controls: Updates to gain and exposure controls
Rename:
ManualExposure -> ExposureTime
ManualGain -> AnalogueGain
Use micro-seconds units for ExposureTime. This is changed from milli-
seconds. The latter would not allow very low exposure times.
AnalogueGain switch to use a float to allow fractional gain adjustments.
Update the uvcvideo pipeline handler to use the new exposure and gain
units. For ExposureTime, UVC uses units of 100 micro-seconds, so map
the values before setting V4L2_CID_EXPOSURE_ABSOLUTE. For AnalogueGain,
UVC has no explicit gain units, so map the default gain value to 1.0
and linearly scale to the requested value.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam/assets/feathericons/link-2.svg')
0 files changed, 0 insertions, 0 deletions