media: staging: ipu3-imgu: Fix BNR wb gain documentation
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Fri, 17 Jun 2022 08:45:19 +0000 (10:45 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 07:01:59 +0000 (09:01 +0200)
commit4b7444ff13250d2b10e940978bd72aef7a5561f2
tree8b6c6401bec822c7b24b5977c0724f1daaecaea6
parent39434d42e87fe23bff9f39d7b7485ad7764297d1
media: staging: ipu3-imgu: Fix BNR wb gain documentation

The documentation states that the BNR factor is a multiplier coded as
u3.13 and with a range of (0, 8). This is not correct, as the isp is
adding 1.0 to the gain applied, ie Pout = { Pin * (1 + Gx) }.

It means that a gain of 1.0 should be coded as 0.

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/ipu3/include/uapi/intel-ipu3.h