[08/10] ipa: rkisp: awb: Set rgb mean limits to 180
diff mbox series

Message ID 20250217100203.297894-9-stefan.klug@ideasonboard.com
State New
Headers show
Series
  • Some rkisp1 awb improvements
Related show

Commit Message

Stefan Klug Feb. 17, 2025, 10:01 a.m. UTC
Set the mean limits to 180 to get reasonably good results from the rgb
estimations. This is only for internal development as there is no code
path to enable rgb estimations at runtime.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
---
 src/ipa/rkisp1/algorithms/awb.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch
diff mbox series

diff --git a/src/ipa/rkisp1/algorithms/awb.cpp b/src/ipa/rkisp1/algorithms/awb.cpp
index 347d38d226b4..12934771c69c 100644
--- a/src/ipa/rkisp1/algorithms/awb.cpp
+++ b/src/ipa/rkisp1/algorithms/awb.cpp
@@ -201,9 +201,9 @@  void Awb::prepare(IPAContext &context, const uint32_t frame,
 		 * awb_ref_cr, awb_min_y and awb_ref_cb respectively. The other
 		 * values are not used, set them to 0.
 		 */
-		awbConfig->awb_ref_cr = 250;
-		awbConfig->min_y = 250;
-		awbConfig->awb_ref_cb = 250;
+		awbConfig->awb_ref_cr = 180;
+		awbConfig->min_y = 180;
+		awbConfig->awb_ref_cb = 180;
 
 		awbConfig->max_y = 0;
 		awbConfig->min_c = 0;