aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEugen Hristev <[email protected]>2019-04-15 10:13:49 -0400
committerMauro Carvalho Chehab <[email protected]>2019-05-21 07:14:02 -0400
commit73c1a577b83999f3bd208bbc6955f21d82b7f9ac (patch)
treebade54f769b99228a08d9c01c0d6a6ffc532829d /tools/perf/scripts/python
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions