@@ -48,6 +48,8 @@ int Awb::configure(IPAContext &context,
context.configuration.awb.measureWindow.h_size = 3 * configInfo.outputSize.width / 4;
context.configuration.awb.measureWindow.v_size = 3 * configInfo.outputSize.height / 4;
+ context.configuration.awb.enabled = true;
+
return 0;
}
@@ -87,6 +87,9 @@ namespace libcamera::ipa::rkisp1 {
*
* \var IPASessionConfiguration::awb.measureWindow
* \brief AWB measure window
+ *
+ * \var IPASessionConfiguration::awb.enabled
+ * \brief Indicates if the AWB hardware is enabled to apply colour gains
*/
/**
@@ -29,6 +29,7 @@ struct IPASessionConfiguration {
struct {
struct rkisp1_cif_isp_window measureWindow;
+ bool enabled;
} awb;
struct {