@@ -67,6 +67,8 @@ public:
Transform transform;
+ float modeSensitivity;
+
protected:
CameraConfiguration();
@@ -160,7 +160,7 @@ LOG_DECLARE_CATEGORY(Camera)
* \brief Create an empty camera configuration
*/
CameraConfiguration::CameraConfiguration()
- : transform(Transform::Identity), config_({})
+ : transform(Transform::Identity), modeSensitivity(1.0), config_({})
{
}
@@ -412,6 +412,20 @@ CameraConfiguration::Status CameraConfiguration::validateColorSpaces(ColorSpaceF
* may adjust this field at its discretion if the selection is not supported.
*/
+/**
+ * \var CameraConfiguration::modeSensitivity
+ * \brief 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 should only be read, and not set, by the user. It will be
+ * valid after the configure method has returned successfully.
+ */
+
/**
* \var CameraConfiguration::config_
* \brief The vector of stream configurations