[libcamera-devel] [PATCH v3 1/2] libcamera: Add a SensorSensitivity property

Kieran Bingham kieran.bingham at ideasonboard.com
Tue May 3 14:53:38 CEST 2022


Quoting Naushir Patuck via libcamera-devel (2022-04-21 16:11:16)
> The SensorSensitivity property is a scaling factor that describes how sensitive
> the selected sensor mode is compared to other readout modes of the same sensor.
> For example, a binned mode might have twice the sensitivity of the full
> resolution mode, meaning you would get double the signal level for the same
> exposure and gains.

I think having this as a property of the configured camera makes a lot
more sense.

Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

> Signed-off-by: David Plowman <david.plowman at raspberrypi.com>
> Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
> ---
>  src/libcamera/property_ids.yaml | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
> diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml
> index 12ecbce5eed4..11b7ebdc3105 100644
> --- a/src/libcamera/property_ids.yaml
> +++ b/src/libcamera/property_ids.yaml
> @@ -678,6 +678,18 @@ controls:
>          \todo Turn this property into a "maximum control value" for the
>          ScalerCrop control once "dynamic" controls have been implemented.
>  
> +  - SensorSensitivity:
> +      type: float
> +      description: |
> +        The relative sensitivity of the chosen sensor mode.
> +
> +        Some sensors have readout modes with different sensitivities. For example,
> +        a binned camera mode might, with the same exposure and gains, produce
> +        twice the signal level of the full resolution readout. This would be
> +        signalled by the binned mode, when it is chosen, indicating a value here
> +        that is twice that of the full resolution mode. This value will be valid
> +        after the configure method has returned successfully.
> +
>    # ----------------------------------------------------------------------------
>    # Draft properties section
>  
> -- 
> 2.25.1
>


More information about the libcamera-devel mailing list