ZwX1616
e85d833a80
Revert "Revert "OS04C10: use IFE downscaler for road cameras"" ( #35047 )
...
* Revert "Revert "OS04C10: use IFE downscaler for road cameras" (#35046 )"
This reverts commit aaaa2d0dd0
.
* fixed
* patch it here
* surely
2 months ago
ZwX1616
aaaa2d0dd0
Revert "OS04C10: use IFE downscaler for road cameras" ( #35046 )
...
Revert "OS04C10: use IFE downscaler for road cameras (#35023 )"
This reverts commit 3b60b22cee
.
2 months ago
ZwX1616
3b60b22cee
OS04C10: use IFE downscaler for road cameras ( #35023 )
...
* squashh
* wrong
* clean up
* rename
2 months ago
Dean Lee
cd014325c5
camerad: remove unused CameraState forward declaration ( #34703 )
...
remove unused CameraState forward declaration
4 months ago
Dean Lee
c3c878908d
camerad: Inline processing_time calculation during frame data initialization ( #34661 )
...
* Inline processing_time calculation during frame data initialization
* remove timestamp_end_of_isp
4 months ago
Dean Lee
2c56f44380
camerad: remove unused variables ( #34657 )
...
remove unused variables
4 months ago
Dean Lee
47c04210e2
camerad: refactor frame processing to direct handling ( #34655 )
...
refactor frame processing
4 months ago
Dean Lee
99e552b485
camerad: remove camera threads ( #34627 )
...
* remove camera threads
* remove unnecessary frame delay handling logic
---------
Co-authored-by: Comma Device <device@comma.ai>
4 months ago
Dean Lee
4835e9fa88
camerad: rename set_exposure_target to calculate_exposure_value ( #34631 )
...
rename set_exposure_target to calculate_exposure_value
4 months ago
Adeeb Shihadeh
4c6b7c3c44
camerad: remove GPU debayer ( #34610 )
4 months ago
Dean Lee
3c0990e716
move thumbnail generation from camerad to encoderd ( #34554 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
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>
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>
8 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
8cf1b79189
camerad: more ISP prep ( #33752 )
8 months ago
Dean Lee
eaebea0968
camerad: cleanup includes ( #33600 )
...
cleanup includes
Co-authored-by: Comma Device <device@comma.ai>
9 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>
9 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>
9 months ago
Dean Lee
467bd74944
camerad: remove `CameraType` enum from `camera_common.h` ( #33588 )
...
remove CameraType from camera_common.h
9 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>
9 months ago
Adeeb Shihadeh
5378e63812
it's not really rgb
9 months ago
Adeeb Shihadeh
b733b875f8
camerad: ci -> sensor rename ( #33582 )
...
* camerad: ci -> sensor rename
* no behavior change for now
9 months ago
Dean Lee
ad42551437
camerad: encapsulate cl_command_queue in ImgProc ( #33178 )
...
move cl queue to imgproc
old-commit-hash: 8f9b165de8
11 months ago
Dean Lee
01ac526046
camerad: merge thread functions into one ( #33025 )
...
merge multiple thread functions into one
old-commit-hash: ccd369ee96
11 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
11 months ago
Adeeb Shihadeh
5025140f37
Revert "camerad: add CameraConfig struct for initializing CameraState in constructor ( #33034 )"
...
This reverts commit 8ef650da47eec8b64e2aedcba5114ca1a2428a89.
old-commit-hash: cefe00c964
11 months ago
Dean Lee
3f327ef4d3
camerad: add CameraConfig struct for initializing CameraState in constructor ( #33034 )
...
* Add CameraConfig struct for initializing CameraState in constructor
* Update system/camerad/cameras/camera_qcom2.h
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dc886e195f
11 months ago
Harald Schäfer
f870a968e9
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
old-commit-hash: e71ec4e8d7
1 year ago
ZwX1616
f466145f34
image processing refactor and test ( #32249 )
...
* it's something
* backup
* 16:10
* cleanup
* this is fine
* close
* remove some junk
* no heck
* disos
* real 10
* for some reason this is flipped
* 20hz
* no return
* ae
* tear
* need curve laster
* correct real gains
* fix time
* cleanup
* why the scam
* disable for now
* 0.7
* hdr
* that doesnt work
* what
* hugeoof
* clean up
* cleanup
* fix regs
* welp cant
* is this corrent
* it is sq
* remove
* back
* stg10bit
* back2ten
* Revert "remove"
This reverts commit 18712ab7e1
.
* 20hz and swb
* correct height
* 10bit
* ui hack for now
* slight
* perfect
* blk64
* ccm
* fix page faults
* template
* set 4x
* is this fine
* try
* this seems to work
* Revert "this seems to work"
This reverts commit d3c9023d3f
.
* needs to be static
* close
* 64 is optimal
* 2
* take
* not 1
* offset
* whats going on
* i have no idea
* less resistence
* box defs
* no
* reduce blur artifacts
* simplify
* fix
* fake short is too much for bright
* can be subzero
* should not use lsvc
* no wasted bit
* cont no slow
* no less than 10bit
* it is based
* wrong
* right
* quart
* shift
* raise noise floor
* 4.5/4.7
* same ballpark
* int is fine
* shane owes me m4a4
* Revert "shane owes me m4a4"
This reverts commit b4283fee18
.
* back
* Revert "4.5/4.7"
This reverts commit e38f96e90c
.
* default
* oof
* clean up
* simpilfy
* from sensorinfo
* no div
* better name
* not the wrong one
* not anymore relevant
* too
* not call it debayer
* cl headers
* arg is 2nd
* gone is is_bggr
* define
* no is hdr
* rgb_tmp
* p1
* clean up
* 4
* cant for
* fix somewhre else
* const
* ap
* rects
* just set staruc
* nnew tmp
* pull it for now
* 12
* common rect
* Revert "not anymore relevant"
This reverts commit 1d574673a1
.
* Revert "too"
This reverts commit c2d4dcc52a
.
* Revert "Revert "too""
This reverts commit 0abbabe1fd
.
* no tol is fine
* rename
* sensor id
* unsgin
* flag
* some linalg
* cast
* should be h ref
* cap
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 331c7b103a
1 year ago
Adeeb Shihadeh
cef8286550
camerad: log request id ( #30935 )
...
* camerad: log request id
* bump cereal
* bump cereal
old-commit-hash: 91c5c5eca7
1 year ago
Dean Lee
6ae3e95542
camerad: cleanup includes ( #30782 )
...
* cleanup includes
* continue
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ab0b26d2b8
2 years ago
Dean Lee
9c4376a57f
camerad/CameraBuf: remove deprecated rgb_stride ( #30758 )
...
old-commit-hash: ea7e701052
2 years ago
Dean Lee
89395a7a3f
camerad/CameraBuf: rename yuv_type to stream_type ( #30695 )
...
old-commit-hash: 62670e66bf
2 years ago
Dean Lee
2b98a08180
camerad: remove camera_id ( #30654 )
...
* remove camera_id
* use variable
old-commit-hash: ea0b8920f5
2 years ago
Dean Lee
27284c4049
camerad: move sensor related code to `/sensors` ( #30647 )
...
old-commit-hash: ef262ff9eb
2 years ago
Dean Lee
8e1aa2e513
camerad: refactor sensor parameters to struct ( #30644 )
...
* refactor camerainfo
* include <memory>
old-commit-hash: 51328609d2
2 years ago
Adeeb Shihadeh
65aad94f0d
Revert "camerad: refactor sensor parameters to struct ( #30639 )"
...
This reverts commit 166fdc950c23ccff7c6223b769dc916b6fbbc06a.
old-commit-hash: 0586f86ad0
2 years ago
Dean Lee
90e0e68376
camerad: refactor sensor parameters to struct ( #30639 )
...
* refactor camerainfo
* include <memory>
old-commit-hash: a70911d639
2 years ago
Dean Lee
3c4d6de5d1
camerad: move AR0231 functions to camera_ar0231.cc ( #30635 )
...
* move AR0231 functions to camera_ar0231.cc
* move to sensors/aro231.cc
old-commit-hash: ecfe201a57
2 years ago
Adeeb Shihadeh
5acd765c1e
camerad cleanup ( #30573 )
...
* misc cleanup
* rm those
* rm utils
* fix build
* rm pool
* little more
* goodbye imgproc
old-commit-hash: e34ee43eea
2 years ago
Adeeb Shihadeh
7df9a44085
camerad: reduce to 1s of buffers
...
old-commit-hash: 72cc2e34cb
2 years ago
Dean Lee
9be7d252b8
camerad: remove unused frame_length from `struct FrameMetadata` ( #28693 )
...
* remove unused frame_length
* bump cereal
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9784f61f23
2 years ago
Mitchell Goff
31834eac4c
Remove get_model_yuv_transform function ( #28568 )
...
* remove yuv_transform from update_calibration
* Remove get_model_yuv_transform entirely
old-commit-hash: ae5bfcf248
2 years ago
Dean Lee
cf52038858
camerad: remove deprecated focus parameters from FrameMetadata ( #27638 )
...
old-commit-hash: a86730a2c6
2 years ago
Dean Lee
761cb60c54
camerad: fix class/struct forward declaration mistake ( #25842 )
...
old-commit-hash: 8870b439dd
3 years ago
Dean Lee
b546a476cc
camerad: cleanup CameraBuf::acquire ( #25737 )
...
* cleanup
* add that back
* less indent
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 78fd303d50
3 years ago
Dean Lee
d482e04b01
camerad: remove function camera_autoexposure ( #25733 )
...
old-commit-hash: 5bb230cde4
3 years ago
Dean Lee
e1c1a8fc2a
CameraBuf: remove unused member 'camera_state' ( #25736 )
...
old-commit-hash: 25ce997f37
3 years ago
Adeeb Shihadeh
565511431d
camerad: log image sensor in camera states ( #25786 )
...
* 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
3 years ago