Dean Lee
47c04210e2
camerad: refactor frame processing to direct handling ( #34655 )
...
refactor frame processing
2 months ago
Dean Lee
2215abb762
camerad: use single instance of MemoryManager for all cameras ( #34654 )
...
use single instance of MemoryManager for all cameras
2 months ago
Adeeb Shihadeh
52b66a1c0c
Stricter cam sync tests ( #34609 )
...
* strict
* fix that
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Dean Lee
0f5f3c4cb2
camerad: cleanup syncFirstFrame ( #34626 )
...
* cleanup syncFirstFrame
* handle disabled camera
2 months ago
Dean Lee
acd00b9791
camerad: sync initial frame ID ( #34614 )
...
* sync initial frame ID
* count enabled cameras
* static function
* Replace std::abs with std::max/std::min to avoid overflow
* rebase master
* timeout
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Adeeb Shihadeh
fb3f5dd169
camerad: make handle_camera_event readable ( #34620 )
...
* renames
* lil more
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Dean Lee
1cff1a363e
camerad: simplify SpectraBuf::init by reducing redundant flags ( #34618 )
...
refactor init
2 months ago
Adeeb Shihadeh
efda24dbe1
camerad: match some BPS settings ( #34548 )
...
* start common
* fix bayer pattern
* lil more
* all 1q10
* cc en
* same pts?
* this is weird
* some cleanup
* less
* off
* clean up
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Adeeb Shihadeh
d1b93287f2
camerad: flush BPS requests ( #34581 )
...
* repro
* cleanup
* flush bps
* cleanup
* revert that
---------
Co-authored-by: Comma Device <device@comma.ai>
2 months ago
Adeeb Shihadeh
1090af6e3d
camerad: IFE register cleanup ( #34550 )
...
* start there
* lil more
* get camera num out of there
---------
Co-authored-by: Comma Device <device@comma.ai>
3 months ago
Adeeb Shihadeh
5b870c6f92
camerad: simple BPS support ( #34538 )
...
* camerad: simple BPS support
* works
* cleanup
* lil more
---------
Co-authored-by: Comma Device <device@comma.ai>
3 months ago
Dean Lee
f98c6a7f8a
camerad: properly clean up sync objects after request flush ( #34418 )
...
destroy sync objects after re-align
3 months ago
Dean Lee
2a9e5ed7f8
camerad: add destructor to SpectraBuffer for proper resource cleanup ( #34419 )
...
Add destructor to SpectraBuffer for proper resource cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
3 months ago
Adeeb Shihadeh
4c27878f67
camerad: prep for the BPS ( #34244 )
...
prep
Co-authored-by: Comma Device <device@comma.ai>
4 months ago
Adeeb Shihadeh
556060f793
camerad: full buffer size for IFE processing ( #34141 )
...
* camerad: full buffer size for IFE processing
* assert
* revert
---------
Co-authored-by: Comma Device <device@comma.ai>
5 months ago
Adeeb Shihadeh
719c634668
Setup IFE vignetting correction ( #33853 )
...
* vignetting
* lil more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
6 months ago
Adeeb Shihadeh
fc5aed10d5
Enable IFE linearization ( #33852 )
...
* enable linearization
* fixup
* gate that
---------
Co-authored-by: Comma Device <device@comma.ai>
6 months ago
Adeeb Shihadeh
fc5f761fa8
camerad: setup IFE gamma correction ( #33837 )
...
* setup gamma
* ife happy
* config for sensor
* fill and clean up
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
6 months ago
Adeeb Shihadeh
8e8f61ad35
camerad: IFE debayer support ( #33720 )
...
* ife is up
* split out cdm, bps needs this too
* straight to vipc buffer
* start reducing the diff
* support both
* disable for now
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
747acaac71
camerad: prep to unify IFE + BPS processing ( #33770 )
...
* unify
* fixup
* start porting over ife branch
* setup new bufs
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
62d044c794
camerad: IFE config definitions ( #33624 )
...
* camerad: more definitions for IFE config
* comment
7 months ago
Robin Reckmann
312a1b2a65
camerad: fix: Explicitly include necessary headers ( #33623 )
...
camerad: Explicitly include necessary headers
7 months ago
Dean Lee
07f3f93bd9
camerad: remove SpectraCamera inheritance from CameraState and simplify initialization ( #33611 )
...
remove inherit
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
df9b8f0222
camerad: final debayer prep ( #33598 )
...
* prep part 4?
* cleanup
* little less magic
* reorg
* final touches
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Dean Lee
eaebea0968
camerad: cleanup includes ( #33600 )
...
cleanup includes
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Dean Lee
34f5ba46b3
camerad: move `handle_camera_event` to SpectraCamera class ( #33595 )
...
move handle event
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
eea06b4c3e
camerad: camera_util is spectra ( #33597 )
...
* camerad: camera_util is spectra
* lil more
* mv that
* fix build
* runs on device
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
80013219fe
camerad: abstract out ISP handling ( #33583 )
...
* spectra and tici
* master
* move the rest
* rm stupid indirection
* start move
* multi cam state is dead
* rest is moved
* lil more
* mv that
* lil more
* fix pc build
* we haven't done rgb for a while
* bring this stuff back
* fix mac?
* no camera in ui!
* i remember why we always cut mac
* fix mac build
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago