Dean Lee
2e1436a515
camerad/ife.h: add #pragma once ( #34464 )
...
add #pragma once
4 months ago
ZwX1616
0ca726ed29
camerad: increase dcam ae min ( #34455 )
...
* never dip below 0.125
* clamp is double
4 months ago
Dean Lee
f98c6a7f8a
camerad: properly clean up sync objects after request flush ( #34418 )
...
destroy sync objects after re-align
4 months ago
commaci-public
dcb05af228
[bot] Update Python packages ( #34431 )
...
* Update Python packages
* codespell
* update refs
---------
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
4 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>
4 months ago
Adeeb Shihadeh
e48752d8fa
camerad: disable ISP for now ( #34440 )
4 months ago
ZwX1616
2290d2f2fb
camerad: ISP lsc buffers ( #34335 )
...
* luts
* assert sizeof
* remove 0s
---------
Co-authored-by: Comma Device <device@comma.ai>
5 months ago
ZwX1616
9c3aa2e2dc
camerad: add os04+4.6mm lsc profile ( #34280 )
...
* draft
* ifdef in cl
---------
Co-authored-by: Comma Device <device@comma.ai>
5 months ago
Adeeb Shihadeh
6c1314baf9
camerad: only build debayer kernel when necessary ( #34267 )
5 months ago
Adeeb Shihadeh
a82116ac46
camerad: fix VisionBuf freeing ( #34264 )
...
Co-authored-by: Comma Device <device@comma.ai>
5 months ago
Adeeb Shihadeh
4c27878f67
camerad: prep for the BPS ( #34244 )
...
prep
Co-authored-by: Comma Device <device@comma.ai>
5 months ago
Adeeb Shihadeh
7a2af78846
camerad: re-enable ISP debayer ( #34212 )
...
camerad: re-enable ISP debayer
Co-authored-by: Comma Device <device@comma.ai>
6 months ago
Dean Lee
3a6db78601
camerad: pass std::vector by const reference ( #34206 )
...
pass std::vector by const reference
6 months ago
Adeeb Shihadeh
c4edfa8b25
camerad: fix running AR0231 in single road cam mode ( #34148 )
...
Co-authored-by: Comma Device <device@comma.ai>
6 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>
6 months ago
ZwX1616
d90d5a403f
camerad: ev scaling ( #34070 )
...
ev scaling
Co-authored-by: Waddle Wednesday <>
6 months ago
Adeeb Shihadeh
d9d57e5d6f
Revert ISP image processing + tinygrad bump ( #34020 )
...
* Revert "Replace ThneedModel with TinygradModel (#33532 )"
This reverts commit da952e9b64
.
* Revert "camerad: move E + D cams image pipelines to the IFE (#33959 )"
This reverts commit f2a1cce42b
.
6 months ago
ZwX1616
48fcb4dc60
fix isp processing_time unit ( #33964 )
...
should be in seconds
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
f2a1cce42b
camerad: move E + D cams image pipelines to the IFE ( #33959 )
...
* camerad: move E + D cams image pipelines to the IFE
* arvig
7 months ago
ZwX1616
7899b9964c
IFE: fix bls offset scaling ( #33905 )
...
14u
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
ZwX1616
78b83959e6
IFE: update cst ( #33896 )
...
cl was probably wrong
7 months ago
ZwX1616
22a1b40566
camerad: IFE BLC/linearization ( #33884 )
...
* simplify
* not all needed
* need to combine this
* there is none
* p0s
* cleanup
* lgtm
* lgtm2
* same
* 4
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
719c634668
Setup IFE vignetting correction ( #33853 )
...
* vignetting
* lil more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
8557b0440e
camerad: fixup IFE cropping ( #33865 )
...
* start fixing
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
0466d111d2
camerad: set EOF based on readout time ( #33859 )
...
* camerad: set EOF based on readout time
* set ar
* debug
* set processing time
* set ox
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
cf420ed001
IFE register cleanup ( #33854 )
...
* remove first update
* no duplicates
* fix build
* lil more
* lil more
* lil more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
fc5aed10d5
Enable IFE linearization ( #33852 )
...
* enable linearization
* fixup
* gate that
---------
Co-authored-by: Comma Device <device@comma.ai>
7 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>
7 months ago
Adeeb Shihadeh
b87a52a9a0
all raw for now
7 months ago
Adeeb Shihadeh
f7f15d63dc
CSID cropping for IFE ( #33844 )
...
* ife csid crop
* fix reg processing
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
89d5761329
camerad: setup IFE black level and color correction ( #33834 )
...
* black level
* enable cc
* seems to work
* doesnt do anything
* sensorinfo
* this is fine
* cleanup
* disable
* cleanup os
* revert
---------
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: ZwX1616 <zwx1616@gmail.com>
7 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>
8 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>
8 months ago
Adeeb Shihadeh
50baf37ddd
camerad: fix CAM_SYNC requests ( #33757 )
...
* camerad: fix CAM_SYNC requests
* cast
---------
Co-authored-by: Comma Device <device@comma.ai>
8 months ago
Adeeb Shihadeh
8cf1b79189
camerad: more ISP prep ( #33752 )
8 months ago
Adeeb Shihadeh
853febe21d
visionipc: remove RGB support ( #33739 )
...
* visionipc: remove RGB support
* bump
* msgq master
* fix sim
8 months ago
Dean Lee
2cb526a5a9
camerad: refactor gain index loop for clarity ( #33613 )
...
* Refactor Gain Index Loop for Clarity
* Update system/camerad/cameras/camera_qcom2.cc
* Update system/camerad/cameras/camera_qcom2.cc
---------
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
8 months ago
Adeeb Shihadeh
62d044c794
camerad: IFE config definitions ( #33624 )
...
* camerad: more definitions for IFE config
* comment
8 months ago
Adeeb Shihadeh
d5039bcbbe
camerad: reduce internal ISP buffer count ( #33619 )
8 months ago
Robin Reckmann
312a1b2a65
camerad: fix: Explicitly include necessary headers ( #33623 )
...
camerad: Explicitly include necessary headers
8 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>
8 months ago
Adeeb Shihadeh
20c983897b
camerad: set patch_offset
8 months ago
Adeeb Shihadeh
bdb4b87fa5
rm debug print
8 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>
8 months ago
Dean Lee
eaebea0968
camerad: cleanup includes ( #33600 )
...
cleanup includes
Co-authored-by: Comma Device <device@comma.ai>
8 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>
8 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>
8 months ago
Dean Lee
943aa616b3
camerad: add helper function get_gain_factor ( #33594 )
8 months ago
Dean Lee
b852aba670
camerad: fix POLLPRI event check in poll loop ( #33591 )
...
fix event check in poll loop to validate POLLPRI
8 months ago
Dean Lee
c95f0f039f
camerad: move debugging parameters from camera_common.h to camera_qcom2.cc ( #33589 )
...
move debugging parameters
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
8 months ago