linux/drivers/media/platform/atmel
Eugen Hristev 73c1a577b8 media: atmel: atmel-isc: reworked white balance feature
Reworked auto white balance feature (awb) to cope with all four channels.
Implemented stretching and grey world algorithms.
Using the histogram, the ISC will auto adjust the white balance during
frame captures.
Because each histogram needs a frame, it will take 4 frames for one adjustment.
When the gains were updated by previous code, the registers for the gains
were updated only on new streaming start. Now, after each full histogram the
registers are updated with new gains.
Also, on previous code, if the streaming stopped but not all 3 histograms
finished, a new histogram was started either way. This used to lead to an
error "timeout to update profile" when streaming was stopped.
According to the hardware, histogram can only work together with the capture,
not independently.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-21 07:14:02 -04:00
..
atmel-isc-regs.h media: atmel: atmel-isc: reworked white balance feature 2019-05-21 07:14:02 -04:00
atmel-isc.c media: atmel: atmel-isc: reworked white balance feature 2019-05-21 07:14:02 -04:00
atmel-isi.c media: platform: fix several typos 2019-03-01 09:35:21 -05:00
atmel-isi.h
Kconfig media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
Makefile