From d9927380ed7c8366f762049be9f3fee225860833 Mon Sep 17 00:00:00 2001
From: liyujie <2352380935@qq.com>
Date: Thu, 28 Aug 2025 12:04:16 +0000
Subject: [PATCH] [2/4]解决USB摄像头打开相机预览界面绿屏

---
 android/hardware/aw/camera/3_4/allwinnertech/libAWIspApi/libisp_new/include/isp_manage.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/android/hardware/aw/camera/3_4/allwinnertech/libAWIspApi/libisp_new/include/isp_manage.h b/android/hardware/aw/camera/3_4/allwinnertech/libAWIspApi/libisp_new/include/isp_manage.h
index 82525f1..f17e6ff 100755
--- a/android/hardware/aw/camera/3_4/allwinnertech/libAWIspApi/libisp_new/include/isp_manage.h
+++ b/android/hardware/aw/camera/3_4/allwinnertech/libAWIspApi/libisp_new/include/isp_manage.h
@@ -152,6 +152,10 @@
 	HW_U32 awb_avg_g[ISP_AWB_ROW][ISP_AWB_COL];
 	HW_U32 awb_avg_b[ISP_AWB_ROW][ISP_AWB_COL];
 	HW_U32 avg[ISP_AWB_ROW][ISP_AWB_COL];
+
+	HW_U32 awb_deal_r[ISP_AWB_ROW][ISP_AWB_COL];	/*range 0~2048*/
+	HW_U32 awb_deal_g[ISP_AWB_ROW][ISP_AWB_COL];
+	HW_U32 awb_deal_b[ISP_AWB_ROW][ISP_AWB_COL];
 };
 
 struct isp_af_stats_s {
@@ -425,6 +429,9 @@
 	/* Auto White balance settings */
 	isp_awb_setting_t awb_settings;
 
+	/* Auto lens shading correct settings */
+	isp_rolloff_setting_t alsc_settings;
+
 	isp_tune_setting_t tune;
 	isp_adjust_setting_t adjust;
 

--
Gitblit v1.6.2