Dean Lee
65e478f27f
camerad: simplify buffer indexing in enqueue_req_multi ( #34553 )
...
simplify buffer indexing in enqueue_req_multi
4 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>
4 months ago
Adeeb Shihadeh
4066d49d70
camerad: debayer in the BPS ( #33763 )
...
* bps support
* cleanup with offsetof
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
4 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>
5 months ago
Shane Smiskol
e3d83b4b13
camerad: fix tearing when hitting frame timeout ( #34514 )
...
* this works
* todo
5 months ago
Dean Lee
f98c6a7f8a
camerad: properly clean up sync objects after request flush ( #34418 )
...
destroy sync objects after re-align
5 months ago
ZwX1616
2290d2f2fb
camerad: ISP lsc buffers ( #34335 )
...
* luts
* assert sizeof
* remove 0s
---------
Co-authored-by: Comma Device <device@comma.ai>
6 months ago
Adeeb Shihadeh
4c27878f67
camerad: prep for the BPS ( #34244 )
...
prep
Co-authored-by: Comma Device <device@comma.ai>
6 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
Adeeb Shihadeh
c4edfa8b25
camerad: fix running AR0231 in single road cam mode ( #34148 )
...
Co-authored-by: Comma Device <device@comma.ai>
7 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
719c634668
Setup IFE vignetting correction ( #33853 )
...
* vignetting
* lil more
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai>
8 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
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>
8 months ago
Adeeb Shihadeh
fc5aed10d5
Enable IFE linearization ( #33852 )
...
* enable linearization
* fixup
* gate that
---------
Co-authored-by: Comma Device <device@comma.ai>
8 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>
8 months ago
Adeeb Shihadeh
f7f15d63dc
CSID cropping for IFE ( #33844 )
...
* ife csid crop
* fix reg processing
---------
Co-authored-by: Comma Device <device@comma.ai>
8 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>
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
50baf37ddd
camerad: fix CAM_SYNC requests ( #33757 )
...
* camerad: fix CAM_SYNC requests
* cast
---------
Co-authored-by: Comma Device <device@comma.ai>
9 months ago
Adeeb Shihadeh
62d044c794
camerad: IFE config definitions ( #33624 )
...
* camerad: more definitions for IFE config
* comment
9 months ago
Adeeb Shihadeh
d5039bcbbe
camerad: reduce internal ISP buffer count ( #33619 )
9 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>
9 months ago
Adeeb Shihadeh
20c983897b
camerad: set patch_offset
9 months ago
Adeeb Shihadeh
bdb4b87fa5
rm debug print
9 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>
9 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
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>
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
718835a825
camerad: prep part 2 ( #33584 )
...
* no camerastate in sensors
* bring this over
* and encoder
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
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
11 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
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
Dean Lee
4d6d229820
camerad: refactor camera_open() into separate functions for clarity ( #33056 )
...
split function
old-commit-hash: 0fa6745a67
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
Dean Lee
cc3f9090bf
cereal: deprecate FrameData.frameType ( #33019 )
...
deprecate FrameData.frameType
old-commit-hash: 917ea5699f
11 months ago
Dean Lee
2772be8303
camerad: Localizing the variable "ret" ( #32294 )
...
Localizing the variable "ret"
old-commit-hash: edb683a62b
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
Justin Newberry
de4644aa73
camerad: assert isp started successfully ( #31385 )
...
* isp assert
* disable this for testing
* Revert "disable this for testing"
This reverts commit e65cf6d4b4
.
* move below
old-commit-hash: c9951e9d6c
1 year ago
Adeeb Shihadeh
1d1514449c
OS04C10 support ( #30658 )
...
* getting frames
* ok
* support both output
* cleanup
* fix unused
* undo
* fix release files
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cd1d7eb4d2
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
cbbbaf22b7
camerad: zero memory before returning from MemoryManager::alloc ( #30781 )
...
* zero memory
* remove redundant memset
---------
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b9080d2362
2 years 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
4dba841726
camerad: Remove deprecated 'fps' parameter ( #30662 )
...
remove parameter fps
old-commit-hash: 8a530621b4
2 years ago