* pixclk 88mhz but frame time the same
* scale integration time
* 22.8 ms
* 15.18 ms
* fix exposure
* fix glitching, 18.9 ms
* set both to min
* faster pixclk = more power
* should pass CI
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* support disabling the cameras
* disable instead of only. reduce camera startup time
* cleanups
* make all disables work
* add more logging to buffer creation
* make disable work
* disable on sensor probe failed
* tested, fix print
* tolerate sensor failure onroad
* enables should be honored in public methods only
* comments and whitespace
* debug starting sensor
* bring clear_req_queue into c++, add logging for error cases
Co-authored-by: Comma Device <device@comma.ai>
* something is output
* min stuff
* visible picture
* pics look good
* maybe
* whole sensor
* fix all cameras
* support both cameras
* autoexposure for imx390
* fix imx390 blacklevel
* touchups
* put gain in db scale
* inline and fix max exposure
Co-authored-by: Comma Device <device@comma.ai>
* 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
* Move MCLK freq
* change PLL settings to compensate
* messed that up
* undo extclk change, move the internal freq. Does mean pixclk is decreased from 88MHz to 80MHz though
Co-authored-by: Comma Device <device@comma.ai>
* protect highlights
* fix modeld scale factor
* rewrite logic for accurate and smooth AE
* fix condition
* tune speed
* move to qcom2
* not exactly 2x
* avoid hunting due to ettr policy
* tune to new curve
* gain kickdowns
* log params
* 4x legroom
* no limit needed here
* simple lowpass
* tweak
* pin to a remote core
* speedup AE and lower night exp
* this curve makes more sense
* tuning from fleet data
* fix ui
* only qcom2
Co-authored-by: Comma Device <device@comma.ai>
* nerf highlights
* prioritize less noise
* no overhead
* make focus easier
* cant finetune under high gain
* add some comments
* inspired by xx mindset
Co-authored-by: Comma Device <device@comma.ai>
* capnparm
* building in progress
* scons build works
* that script fixes opencl
* start new camera code
* includes and more camera scripts
* control c works now
* no device control yet
* phy too
* just one camera for now
* fix capnparm
* hmm, the inits are needed
* more cameras
* link stop start
* doesn't work yet
* fix ion on qcom2
* start poll ish
* 4 pictures and done
* no jpeg
* it works to picture
* destroy sync obj
* both work for now
* defined QCOM2
* fix fd leak
* run modeld
* 10 bit mode
* real frame stride
* needs digital gain
* dnew
* no color correcting on new
* that snpe doesn't work
* qcom2 gate
* cleanups
* oops, fix aarch64 detector
* update cereal
* modeld works with SNPE
* fix driver monitoring model
Co-authored-by: Tici <robbe@comma.ai>