* camerad: log image sensor in camera states
* for all cams
* bump cereal
* revert that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7352e6d940
* start porting OS04C10
* something
* is the pll why this doesn't work
* understand plls, still doesn't work
* work
* weee something
* working?
* timing
* encoderd works with less cameras
* 1928
* flip image
* color balance
* adjust black level
* extra height maybe
* cleanups
* clean up sensor i2c
* sensors
* approx 20fps
* remove mirror
* 50ms, no fsin yet
* remove imx390 support
* some attempt at AE
* linearize the response
* OX changes (#25697)
* organize
* wb
* best effort but probably messed up by artifacts
* multicam sync
Co-authored-by: Comma Device <device@comma.ai>
* clean up
* more
* fix multiexposure
* start porting OS04C10
* something
* is the pll why this doesn't work
* understand plls, still doesn't work
* work
* weee something
* working?
* timing
* encoderd works with less cameras
* 1928
* flip image
* color balance
* adjust black level
* extra height maybe
* cleanups
* clean up sensor i2c
* sensors
* approx 20fps
* remove mirror
* 50ms, no fsin yet
* remove imx390 support
* some attempt at AE
* linearize the response
* OX changes (#25697)
* organize
* wb
* best effort but probably messed up by artifacts
* multicam sync
Co-authored-by: Comma Device <device@comma.ai>
* clean up
* more
* fix multiexposure
* unbroken AE
* oops
* sort of good AE
* both should work 1
* open then init
* fix debayer
* rename
* fix test build
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: aea1a0d5e6
* get log
* simplify two nonsense
* not needed
* libyuv is a joke
* clean up
* try small
* fast but not bad
* working
* clean up driverview
* simplified
* thats mirrored
* smol
* tweak
* ref is screen
* w/ ee
* update camera model
* no if TICI
* start
* update pose thresh
* less cpu more dsp
* new libyuv
* new snpe
* add files
* test
* should be fast
* update out len
* trigger test
* use master snpe
* add cereal
* update cereal
* refactor parsing
* missing ;
* get
* wrong type
* test model
* use driver data
* 10829278-72fe-4283-a118-2cef959ce174/1550
* no pf
* adapt driverview
* ;
* rhd learner
* update libyuv buildi x64
* ad4337ea
* remove blink slack
* test
* no
* use toggle
* b16
* fix for nv12
* 5b02cff5 both
* update test
* update cereal
* update cereal
* update cereal
* v2 packets
* revert libyuv
* no /
* update snpemodel
* ;
* memcpy
* fix test
* use toggle in driverview
* update power
* update replay
* Revert "update replay"
This reverts commit 1d0979ca59.
* update model ref
* halve cpu
* fake 8bit onnx runner
* same thresh as report
* cereal master
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d6c07a6b15
* rgb to nv12
* nv12 works (w memcpy)
* correct now
* no copy
* fix nv12 with fast debayer
* reverts of unused stuff
* ui use nv12
* comment out thumbnails for now
* rebase fix
* dm read nv12
* model read nv12
* fix ffmpeg encoder
* thumbnails from nv12
* replay to nv12
* python framereader support nv12
* remove hardcoded frame/buffer sizes
* fix build
* ffmpeg encoder fix buffers
* small cleanup
* reduce power usage test
* fix cpu usage test
* fix snapshot
* fix loggerd test
* bump cereal
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Joost Wooning <jwooning@gmail.com>
old-commit-hash: ea5b8cdfb1
* remove local caching
* remove local caching
* reduce camerad power
* break stupid imx390 black level support
* handle edges
* now 13ms, vignetting is 'slightly' less correct
* halfs->floats and inlines, down to 12.9ms
* oops, fix float
* val from 12 is ushort
* don't decide vignetting in the debayer kernel
* 7.77 ms
* adding back black level support was free
* Revert "adding back black level support was free"
This reverts commit a841d17727.
* minor
* rip out unused gain and black level, remove print
* save 150mW
* fix replay test
* fix top/bottom rows
* lame left right edge fix
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Joost Wooning <jwooning@gmail.com>
old-commit-hash: 72b52f8b7d
* camerad: combine debayering and rgb_to_yuv opencl kernels
* fix border
* fix snapshot
* rename function
* update camerad cpu usage
* update camerad power draw
* vignetting equal to previously
* test other local worksize
* use less floats
* reduce amount of code
* move barrier back
* make faster
* fix corners
* cleanup
* cleanup
* allow more jitter on driverState timing
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 489fbb74b0
* camerad: log raw camera frames with env var
* dont qlog
* cleaner
* only road camera
* use vision buf len
* use static counter to handle frame skips
* we already have cnt
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 05f606c812
* 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>
old-commit-hash: 10d4766f76
* 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>
old-commit-hash: 5a11101bcf
* fast debayer on c2 dcam
* add casts
* 128 local worksize on HDR debayer, 8 ms -> 3.5 ms
* width instead of saving rgb_width
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 92e9823cc0
* new class Debayer
* merge master
* pass in cl_event
* needs define, class is not the same
* match clEnqueueCopyBuffer api
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: f7461ed9fc
* 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
old-commit-hash: 25de93d133