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
ZwX1616
0d6baffcbf
camerad: disable os HDR ( #33838 )
...
* revert hdr settings
* 12
* pv12
---------
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>
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
50baf37ddd
camerad: fix CAM_SYNC requests ( #33757 )
...
* camerad: fix CAM_SYNC requests
* cast
---------
Co-authored-by: Comma Device <device@comma.ai>
7 months ago
Adeeb Shihadeh
8cf1b79189
camerad: more ISP prep ( #33752 )
7 months ago
Adeeb Shihadeh
853febe21d
visionipc: remove RGB support ( #33739 )
...
* visionipc: remove RGB support
* bump
* msgq master
* fix sim
7 months ago
Dean Lee
f7c4aad8bd
cameread: remove outdated 'm' and 'atomic' libraries ( #33714 )
...
remove unused libs
7 months ago
Dean Lee
3ca158ad3e
camerad: remove Hardware::PC() check ( #33713 )
...
remove check for hardware::PC
7 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
ZwX1616
e5870dcf20
camerad: Replace ox LUT with function ( #33659 )
...
* fast eh
* need
* ;
* no chained
---------
Co-authored-by: Comma Device <device@comma.ai>
8 months ago
ZwX1616
1d5b207974
Revert "camerad: Replace ox LUT with function" ( #33658 )
...
Revert "camerad: Replace ox LUT with function (#33653 )"
This reverts commit 4851dacd06
.
8 months ago
ZwX1616
4851dacd06
camerad: Replace ox LUT with function ( #33653 )
...
* fast eh
* need
* ;
---------
Co-authored-by: Comma Device <device@comma.ai>
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
Dean Lee
78db136914
camerad: remove libyuv dependency ( #33593 )
...
remove libyuv
8 months ago
Dean Lee
467bd74944
camerad: remove `CameraType` enum from `camera_common.h` ( #33588 )
...
remove CameraType from camera_common.h
8 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>
8 months ago
Adeeb Shihadeh
718835a825
camerad: prep part 2 ( #33584 )
...
* no camerastate in sensors
* bring this over
* and encoder
8 months ago
Adeeb Shihadeh
5378e63812
it's not really rgb
8 months ago
Adeeb Shihadeh
b733b875f8
camerad: ci -> sensor rename ( #33582 )
...
* camerad: ci -> sensor rename
* no behavior change for now
8 months ago
Adeeb Shihadeh
e04455cbaa
selfdrived: controlsd only does controls ( #33485 )
...
* selfdrived
* process replay
* lil more
* set the valids
* rename that
8 months ago
Dean Lee
ad42551437
camerad: encapsulate cl_command_queue in ImgProc ( #33178 )
...
move cl queue to imgproc
old-commit-hash: 8f9b165de8
9 months ago
Dean Lee
7adc4219f0
camerad: update frame msg related variable types to uint64_t for consistency ( #33113 )
...
Update frame_msg related variable types to uint64_t for type safety
old-commit-hash: c40d129f70
10 months ago
Dean Lee
2a16a305b3
camerad: move `do_exit` to camera_qcom2.cc ( #33086 )
...
move do_exit to camera_qcom2.cc
old-commit-hash: 8ab587d30b
10 months ago
Dean Lee
b12b30c328
camerad: encapsulating event management within the ImgProc Class ( #33119 )
...
Encapsulating Event Management Within the ImgProc Class
old-commit-hash: 2189164d45
10 months ago
ZwX1616
03fa24ee82
camerad: use os binning ( #33161 )
...
* all
* right sz
* what is this
* Revert "what is this"
This reverts commit 3ff771926f
.
* ok
* big
* update intrs
* fl
* more specifuc
* fish
* revert
* revert
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3ccc63deec
10 months ago
Dean Lee
01ac526046
camerad: merge thread functions into one ( #33025 )
...
merge multiple thread functions into one
old-commit-hash: ccd369ee96
10 months ago
Dean Lee
5b5e3ef053
camerad: add CameraConfig struct for initializing CameraState in constructor ( #33065 )
...
* Add CameraConfig struct for initializing CameraState in constructor
* init member variables
old-commit-hash: 75f49f84f3
10 months ago
Dean Lee
4d6d229820
camerad: refactor camera_open() into separate functions for clarity ( #33056 )
...
split function
old-commit-hash: 0fa6745a67
10 months ago
Adeeb Shihadeh
5025140f37
Revert "camerad: add CameraConfig struct for initializing CameraState in constructor ( #33034 )"
...
This reverts commit 8ef650da47eec8b64e2aedcba5114ca1a2428a89.
old-commit-hash: cefe00c964
10 months ago