* AE improvements
* boardd: also use gain to compute IR brightness
* use default rect for DM autoexposure
* more smooth
* whitespace
* camerad cpu usage
* hcg on is slightly better for noise
* hysteris around high conversion gain
* improve i2c timing
* use AB contexts
* HCG default off
* run at 10 hz
* stay in context A for now
* remove ae thread
* wait till next frame is started before sending i2c
* back at 20fps
* add comment and filter across 3 evs
* remove context switch code
* tuning
* recomened without HCG is 0.8x
* simplify histogram calculation
* add debug prints
* faster AE
* revert that
* lower log level
* use minimum recomended gains from datasheet
* use define
* fix min gain
* dynamic grey target
* fix build
* add low pass
* more stable rounding
* increase max gain
* always enable HCG
* correctly set min ev
* fix analog gain
* remove unused variable
* fix build
* move recomended gain into cost function
* tweak cost function a bit
* small LPF on desired ev
* fix typo
* lower ts
* clean up defines
* that was used in common
* add cast
* less cost is fine
* fix tests
* whitespace
* filtering is broken
* put back
* clip gain changes instead
* cost function tweaking
* Only go below recomended gain when absolutely necessary
* small penalty on changing gains
* build
* remove junk
* clean up
* clean up rebase
* new patterns
* add gts
* add to jenkis
* this more useful
* typo
* test only
* Update Jenkinsfile
* test flag
* remove from jenkins
* these should all just be common:wq
* oops
* unigt
* add to unit tests?
* build all is fine
Co-authored-by: Comma Device <device@comma.ai>