Adeeb Shihadeh
1777d548bf
stagger driver camera SOF ( #37628 )
2026-03-09 20:11:26 -07:00
Harald Schäfer
af1583cdfc
Reapply tgwarp w NV12 fix ( #37168 )
...
* Revert "Revert tgwarp again (#37161 )"
This reverts commit 45099e7fcd .
* Weird uv sizes
* Fix interleaving
* Fix on CPU
* make CPU safe
* Prevent corruption without clone
* Claude knows speeed
* fix interleaving
* less kernels
* blob caching
* This is still slightly faster
* Comment for blob cache
2026-02-12 08:59:19 -08:00
Harald Schäfer
45099e7fcd
Revert tgwarp again ( #37161 )
...
* Reapply "revert tg calib and opencl cleanup (#37113 )" (#37115 )
This reverts commit 667f3bb32f .
* revert msgq too
* msgq on master
2026-02-10 23:12:41 -08:00
Adeeb Shihadeh
667f3bb32f
Revert "revert tg calib and opencl cleanup ( #37113 )" ( #37115 )
...
* Revert "revert tg calib and opencl cleanup (#37113 )"
This reverts commit 51312afd3d .
* power draw is a lil higher
* just don't miss a cycle
* fix warp targets
* fix tinygrad dep
2026-02-07 21:36:44 -08:00
Harald Schäfer
51312afd3d
revert tg calib and opencl cleanup ( #37113 )
...
* Revert "Remove all the OpenCL (#37105 )"
This reverts commit d5cbb89d84 .
* Revert "rm common/mat.h"
This reverts commit 4ce701150a .
* Revert "Calibrate in tg (#36621 )"
This reverts commit 593c3a0c8e .
2026-02-07 09:10:29 -08:00
Adeeb Shihadeh
d5cbb89d84
Remove all the OpenCL ( #37105 )
...
* Remove all the OpenCL
* lil more
* bump msgq
2026-02-06 16:36:47 -08:00
Adeeb Shihadeh
6c7f3751e7
camerad: calculate buffer sizes with VENUS helpers ( #37006 )
...
* Revert "NV12 buffer shape helpers (#36683 )"
This reverts commit 13efc421c4 .
* camerad: calculate buffer sizes with VENUS helpers
* copy header:
* assert aligned
* python nv12 info
* debug
* handle padding
* use the helper
2026-01-19 17:18:22 -08:00
Harald Schäfer
13efc421c4
NV12 buffer shape helpers ( #36683 )
...
* Give this a try
* can codex debug?
* simpler
* Revert "simpler"
This reverts commit 572335008c1c719aa985d14bd740253ff94b94a9.
* better
* cleanup
* try again
* tie
* try this
* try this
* do tests fail without this?
* doesn't seem needed
* unused
* don't need duplicate
* passes CI?
* try this
* try this
* try this
* I don't understand this, so back to before
* keep that alignment
* set uv_height
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2026-01-19 16:27:41 -08:00
Adeeb Shihadeh
d5f6946502
camerad: probe os first
2025-12-08 18:48:58 -08:00
ZwX1616
f983df0c70
camerad: faster exposure convergence at startup ( #36424 )
...
* might converge faster
* accept darker at start
* accept darker at start
* it was unreasonably lax
2025-10-22 15:35:58 -07:00
ZwX1616
c44548ba0f
camerad: make wide brightness more consistent with road ( #36355 )
...
align
2025-10-14 21:27:52 -07:00
Adeeb Shihadeh
cf5b743de6
build system cleanups ( #36202 )
...
* it's all common
* never getting fixed
* it's just tici
* reorders
* qcom2 -> tici
* Revert "qcom2 -> tici"
This reverts commit f4d849b2952cb0e662975805db6a1d32511ed392.
* Reapply "qcom2 -> tici"
This reverts commit 58b193cb8de872830f8a7821a339edca14e4a337.
* is tici
* lil more
* Revert "is tici"
This reverts commit a169be18d3fdcb3ef8317a63a89d8becadabfad8.
* Revert "Reapply "qcom2 -> tici""
This reverts commit 26f9c0e7d068fc8a1a5f07383b3616e619cd4e8c.
* qcom2 -> __tici__
* lil more
* mv lenv
* clean that up
* lil more]
* fix
* lil more
2025-09-25 20:55:14 -07:00
Adeeb Shihadeh
3e2549f2b8
remove tici-specific code ( #36078 )
...
* remove tici-specific code
* lil more
* update those
2025-08-28 08:19:39 -07:00
Adeeb Shihadeh
1d8dc8a69a
camerad: remove AR0231 ( #36070 )
2025-08-27 15:11:58 -07:00
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
2025-04-23 21:09:22 -07:00
ZwX1616
aaaa2d0dd0
Revert "OS04C10: use IFE downscaler for road cameras" ( #35046 )
...
Revert "OS04C10: use IFE downscaler for road cameras (#35023 )"
This reverts commit 3b60b22cee .
2025-04-21 17:02:36 -07:00
ZwX1616
3b60b22cee
OS04C10: use IFE downscaler for road cameras ( #35023 )
...
* squashh
* wrong
* clean up
* rename
2025-04-18 14:29:37 -07:00
Dean Lee
988fc477eb
camerad: remove duplicate include ( #34905 )
...
remove duplicate include
2025-03-19 09:27:23 -07:00
Adeeb Shihadeh
fb7b9c0f94
camerad: log failed sync time ( #34878 )
...
* camerad: log failed sync time
* mv
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-03-15 14:02:03 -07:00
Adeeb Shihadeh
e1eac057ca
camerad: fix rare BPS startup issues ( #34871 )
...
* repros
* handle old frames
* cleanup
* more freq
* fix request id skipping
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-03-14 19:30:09 -07:00
Adeeb Shihadeh
196eb50d23
camerad: log whether sync fails in IFE or BPS ( #34854 )
2025-03-12 15:59:27 -07:00
Adeeb Shihadeh
8c359892be
camerad: clear request queue on exit ( #34842 )
...
* camerad: doesn't need rt
* clear q
2025-03-11 11:02:02 -07:00
ZwX1616
1c678c910e
camerad: fix AE oscillation ( #34833 )
...
* flooring is fine
* .
* better solution
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-03-10 16:01:03 -07:00
Dean Lee
3e629acf79
camerad: use ALL_CAMERA_CONFIGS array ( #34810 )
...
use ALL_CAMERA_CONFIGS array
2025-03-07 10:31:01 -08:00
Adeeb Shihadeh
ca7b4340c1
camerad: make recovery reset threshold based on queue depth ( #34803 )
...
Co-authored-by: Comma Device <device@comma.ai >
2025-03-06 16:57:37 -08:00
Dean Lee
e9f7c01a3a
camerad: move output_type to config ( #34792 )
...
move output_type to config
2025-03-06 10:17:58 -08:00
Adeeb Shihadeh
8c2cd247f0
camerad: stress test ( #34735 )
...
* refactor a bunch of stuff
* prob
* enable
* rm print
* cleanup
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-03-05 19:31:44 -08:00
Adeeb Shihadeh
4bb0dfd59c
camerad: cleaner queueing logic ( #34786 )
2025-03-05 17:12:30 -08:00
Adeeb Shihadeh
a2bc5061e4
camerad: fix bps flush ( #34758 )
2025-03-02 20:22:06 -08:00
Adeeb Shihadeh
00e447bc30
Revert "camerad: make robust to introduced failures ( #34723 )"
...
This reverts commit c10abce1d5 .
2025-02-28 14:09:53 -08:00
Dean Lee
d9bc9be388
camerad: ensure sync objects are assigned only on successful creation ( #34731 )
...
ensure sync objects are assigned only on successful creation
2025-02-28 07:49:48 -08:00
Adeeb Shihadeh
c10abce1d5
camerad: make robust to introduced failures ( #34723 )
...
* camerad: make robust to introduced failures
* more test
* start here
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-02-27 18:26:31 -08:00
Adeeb Shihadeh
937e2f7eb2
camerad: spectra stress test ( #34716 )
...
* cam stress
* lint fixes
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-02-27 13:41:33 -08:00
Dean Lee
cd014325c5
camerad: remove unused CameraState forward declaration ( #34703 )
...
remove unused CameraState forward declaration
2025-02-24 15:58:15 -08:00
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
2025-02-21 12:50:46 -08:00
Dean Lee
839c8fbd6b
camerad/MemoryManager: remove lock and reduce redundant lookups ( #34656 )
...
remove lock and reduce redundant lookups
2025-02-21 09:58:26 -08:00
Dean Lee
2c56f44380
camerad: remove unused variables ( #34657 )
...
remove unused variables
2025-02-21 09:57:53 -08:00
Dean Lee
47c04210e2
camerad: refactor frame processing to direct handling ( #34655 )
...
refactor frame processing
2025-02-21 09:18:35 -08:00
Dean Lee
2215abb762
camerad: use single instance of MemoryManager for all cameras ( #34654 )
...
use single instance of MemoryManager for all cameras
2025-02-21 08:48:10 -08:00
Adeeb Shihadeh
9167e3dcf6
Revert "camerad: fix incorrect row offset calculation in calculate_exposure_value ( #34634 )"
...
This reverts commit 2941445849 .
2025-02-20 19:54:41 -08:00
Dean Lee
2941445849
camerad: fix incorrect row offset calculation in calculate_exposure_value ( #34634 )
...
Fix incorrect row offset calculation
2025-02-20 16:23:23 -08:00
Adeeb Shihadeh
bdf0b7b42e
camerad: use full VIPC buffers for BPS cams ( #34641 )
2025-02-20 15:03:13 -08:00
Adeeb Shihadeh
52b66a1c0c
Stricter cam sync tests ( #34609 )
...
* strict
* fix that
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-02-20 14:15:38 -08:00
Dean Lee
6d0aafd0f4
camerad: fix null dereference in camera_bufs_raw when accessing cur_camera_buf ( #34635 )
...
Fix null dereference in camera_bufs_raw
2025-02-20 10:57:20 -08:00
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 >
2025-02-20 08:52:03 -08:00
Dean Lee
4835e9fa88
camerad: rename set_exposure_target to calculate_exposure_value ( #34631 )
...
rename set_exposure_target to calculate_exposure_value
2025-02-20 08:08:49 -08:00
Dean Lee
51d21f0113
camerad: fix crash during camera re-alignment ( #34630 )
...
fix crash during road camera re-alignment
2025-02-20 08:07:15 -08:00
Dean Lee
0f5f3c4cb2
camerad: cleanup syncFirstFrame ( #34626 )
...
* cleanup syncFirstFrame
* handle disabled camera
2025-02-19 21:34:36 -08:00
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 >
2025-02-19 13:09:49 -08:00
Adeeb Shihadeh
fb3f5dd169
camerad: make handle_camera_event readable ( #34620 )
...
* renames
* lil more
---------
Co-authored-by: Comma Device <device@comma.ai >
2025-02-18 22:58:53 -08:00