]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
[media] ov2640: add information about DSP register 0xc7
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 16 Apr 2017 17:35:42 +0000 (14:35 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Apr 2017 11:55:07 +0000 (08:55 -0300)
commit06dd8f7791ed9ec284a847ee5089850c00d71fd8
tree6cb2c1d692109584cdecb90621cab31fd23b3853
parentd81638eadded798819c6ad3d31575f2ae7ac8929
[media] ov2640: add information about DSP register 0xc7

According to ov2640 software application notes, there are two Automatic
White Balance (AWB) modes, which are selected by DSP register 0xc7:

1) Simple AWB: assumes the average color is gray
   + independent from lens
   - doesn't work well if captured area contains unbalanced colors
     (e.g. large blue background)

2) Advanced AWB: uses color temperature information
   + more accurate, works with all image contents
   - lens specific, requires calibration

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/i2c/ov2640.c