summaryrefslogtreecommitdiff
path: root/include/linux/intel-ipu3.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/intel-ipu3.h')
-rw-r--r--include/linux/intel-ipu3.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/intel-ipu3.h b/include/linux/intel-ipu3.h
index 5c298ec5..bd771f1b 100644
--- a/include/linux/intel-ipu3.h
+++ b/include/linux/intel-ipu3.h
@@ -626,8 +626,11 @@ struct ipu3_uapi_stats_3a {
* @b: white balance gain for B channel.
* @gb: white balance gain for Gb channel.
*
- * Precision u3.13, range [0, 8). White balance correction is done by applying
- * a multiplicative gain to each color channels prior to BNR.
+ * For BNR parameters WB gain factor for the three channels [Ggr, Ggb, Gb, Gr].
+ * Their precision is U3.13 and the range is (0, 8) and the actual gain is
+ * Gx + 1, it is typically Gx = 1.
+ *
+ * Pout = {Pin * (1 + Gx)}.
*/
struct ipu3_uapi_bnr_static_config_wb_gains_config {
__u16 gr;