* Renaming VISION_STREAM_RGB_.. to match yuv names like VISION_STREAM_ROAD
VISION_STREAM_RGB_BACK -> VISION_STREAM_RGB_ROAD
VISION_STREAM_RGB_FRONT -> VISION_STREAM_RGB_DRIVER
* little more
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* convert camerastate to a class
* more refactor
* do the refactor in file
* put that one back
* those changes can wait
* very minor
Co-authored-by: Comma Device <device@comma.ai>
* parse out isp packet with structs
* dsp mode
* support only driver / comments for yuv
* minor touchups
* DEBUG_FRAMES
Co-authored-by: Comma Device <device@comma.ai>
* new function device_acquire & device_config
* add space
* apply reviews
* use the specified struct for each command
* fix typo
* apply review
* remove static
* revert device_control
* 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
* use cstring instead of string.h
* use cstdio instead of stdio.h
* remove inttypes.h
* use cstdlib instead of stdlib.h
* use cstdint instead of stdint.h
* #include <cstddef>
* cstdlib
* use cmath
* remove stddef.h
* use cassert
* use csignal
* use ctime
* use cerror
* rebase master
* move the common file descriptors to MultiCameraState
* use unique_fd for file descriptors
* done
* fix build
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
* 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>