ZwX1616
d8ddc1208e
tici camerart III: prehistoric visuals ( #20012 )
...
* reworked
* add ref
* f16
* faster
* extended tm
* fix hdr
* Revert "extended tm"
This reverts commit 55ba3ae320
.
* reduce static/temporal noise
* split kernels to sync max
* no print
* cleanup qcom2
* optimize
* tune DC
* doesnt work
* minor fix
* adaptive
* smoothen HCG switch
* t
* histogram ceiling
* recalulate params
* group_hold
* less contrast
* recalibrate ccm
* better ae
* better ae revised
* made some changes
* clean up
* midtones
* some improvements
* more
* cleanup
* remove more junk
* lgtm
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
e7906fb446
camerad: rename variables&functions to follow new convention ( #20096 )
...
* rename CameraState variables to follow new convention
* continue
* rename camera_process functions
* qcom:rename exposure related variables
* continue
* update commments
* bool real -> bool is_road_cam
* rename sm_front -> sm
* remove paramater tname from start_process_thread
* rename rhd_front to is_rhd
* remove unused varialble name from struct CameraInfo
* rename env_send_xxx
* rename cap_front to cap_driver,cap_rear to cap_road
* rename xxx_camera_process to process_xxx_camera
* update snapshot.py
4 years ago
Dean Lee
ad88e62a8d
replace sleep with util::sleep_for ( #20108 )
4 years ago
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
4 years ago
Dean Lee
139470f033
camera_qcom: cleanup main() ( #19805 )
...
* cleanup main
* continue
* remove last_t from CameraState
* cleanup
4 years ago
Willem Melching
af8eff4610
camerad fixes for updated agnos kernel ( #20062 )
...
* set size
* whitespace
* more cleanup
4 years ago
ZwX1616
8824966aad
tici fcam vignette compensation ( #19971 )
...
* simple model
* fix api
* this too
4 years ago
Dean Lee
7f5a1ce02d
get_frame_image: moved the global variables into function static ( #19982 )
4 years ago
ZwX1616
6d16bfab82
tici dcam AE ( #19970 )
...
* tici_ae_front
* not const
4 years ago
ZwX1616
1a95127b0e
camerad frame lag/drop jenkins tests ( #19945 )
...
* clean up test
* not needed for now
* this be enough
* comment this out
* clean up
* adjust tolerance
* use sof on tici
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Dean Lee
e6783f4d9f
remove cqueue, use class SafeQueue ( #19774 )
...
* class SafeQueue
* cleanup includes
* space
* add timeout
use try_poll
* add function empty() & size()
* class SafeQueue
* add timeout
use try_poll
* add function empty() & size()
* rebase master
* rebase master
* for loop
* fix bug
4 years ago
Dean Lee
064bcbe80b
CameraBuf::acquire : release on failure ( #19935 )
4 years ago
Dean Lee
80799c7272
fill_frame_data: remove unused paramater cnt ( #19936 )
4 years ago
Dean Lee
cbd08d6f0c
cameras_qcom: fix dangling pointer in fill_frame_image ( #19891 )
4 years ago
Dean Lee
90994baab0
camera_common: rename create_thumbnail to publish_thumbnail ( #19920 )
...
* rename create_thumbnail to publish_thumbnail
* check pm
4 years ago
Dean Lee
6b245b5b0c
camera_webcam: add "thumbnail" to Pubmaster ( #19919 )
4 years ago
ZwX1616
2b6149572a
fill sof
4 years ago
robbederks
5eb16b1193
Change qcom2 fserial and readout timing ( #19820 )
...
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
eae7a6ed22
camera frame stream cleanup ( #19741 )
...
* clean up
* more clean up first
4 years ago
Adeeb Shihadeh
5cb6e69a78
camerad: remove duplicate set_realtime_priority
4 years ago
Dean Lee
aaac63689d
CameraBuf: private variables ( #19811 )
4 years ago
Adeeb Shihadeh
758794dec5
few fixes from LGTM
4 years ago
Dean Lee
2072699719
CameraBuf::acquire : using a scoped lock ( #19764 )
...
* Using a scoped lock
* Trigger Build
4 years ago
Dean Lee
c804059641
camera_qcom2: simplify camera_process_frame ( #19763 )
...
* simplify camera_process_frame
* Trigger Build
* Update selfdrive/camerad/cameras/camera_qcom2.cc
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Dean Lee
ea9835f293
fill_frame_image: reduce function parameters ( #19736 )
...
* reduce function paramaters
* add assert
* Trigger Build
4 years ago
Dean Lee
1b3c93813d
camerad use std::thread ( #19771 )
4 years ago
Dean Lee
c28ba97e67
CameraBuf: removed unused variables ( #19735 )
4 years ago
ZwX1616
f0cc78ea92
fix tici debayer GPU page faults
4 years ago
Willem Melching
0b79d0e12d
CameraBuf::stop() is not used
4 years ago
Dean Lee
660abb79dc
FIX: It is not safe to call cameras_close before all threads are done. ( #19555 )
...
* call cameras_close after all threads exited
* stop buffer before join
* remove buf->stop
4 years ago
Dean Lee
595830135b
merge utilpp.h into util.h ( #19710 )
4 years ago
Dean Lee
cefdca2fd6
create_thumbnail in camera_common ( #19553 )
4 years ago
Dean Lee
621dcf8aa1
cleanup ( #19564 )
4 years ago
Willem Melching
fb496c692a
VisionIPC 2.0 ( #19641 )
...
* Squashed vipc
* Update release files
* Remove else
* add visionipc to release files
* use poller in vipc receive
* opencl framework instead of lib on macos
* Fix camera webcam
* Fix opencl on mac in ui
* more webcam fixes
* typo in ui sconsfile
* Use cur_yuv_buf
* visionbuf c++ class
* Camera qcom was still using visionbuf_allocate
* Turn loggerd back on
* fix snapshot
* No build needed
* update test camerad
* no more release callback
* make encoder c++
* Revert "no more release callback"
This reverts commit e5707b07002fee665d0483d90713154efc2d70d4.
* fix exit handlers
* No need to check errno
* move release callback call
* s/VIPCBufExtra/VisionIpcBufExtra/g
* use non blocking connect
* ui use non blocking connect
* Lower condition variable wait time
* Snapshot cleanup
* bump cereal
* bump cereal
4 years ago
Dean Lee
86fe2d1697
common exit handler ( #19661 )
...
* common signal handle
* fix typo
* rename to ExitHandler
* remove include signal.h
* remove include csignal
* rename variable exit to v
* rebase master
4 years ago
Adeeb Shihadeh
87950eb312
setup clang tidy ( #19533 )
...
* setup clang tidy
* config
* some cleanup
* little more
* remove that
* fix qcom build
4 years ago
Dean Lee
c1cf0882bd
Replace usleep with util::sleep_for ( #19643 )
...
* replace usleep with sleep_for
* sleep microseconds
* sleep nanoseconds
* Trigger Build
4 years ago
Dean Lee
06e3b1e445
fix thread safety issue in camera focusing ( #19576 )
4 years ago
Dean Lee
37826c0032
should not break if poll timeout ( #19578 )
4 years ago
Adeeb Shihadeh
15cd71707d
camerad: revert tbuffer dispatch change ( #19589 )
4 years ago
Dean Lee
9890f958d9
cameras: use common transform ( #19552 )
4 years ago
Dean Lee
bc1cfa6d4f
cleanup qcom2 ( #19506 )
...
* cleanup qcom2
* define DEBAYER_LOCAL_WORKSIZE in camera_qcom2.h
5 years ago
Robbe Derks
91c760a9e5
Revert MCLK change
5 years ago
robbederks
18ab822213
Move MCLK freq on tici ( #19494 )
...
* Move MCLK freq
* change PLL settings to compensate
* messed that up
* undo extclk change, move the internal freq. Does mean pixclk is decreased from 88MHz to 80MHz though
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
Adeeb Shihadeh
8674b023ba
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
5 years ago
Adeeb Shihadeh
c57ee16e86
Set GPU priorities + improved modeld priorities ( #2691 )
...
* give gpu threads rt priority
* modeld gets highest prio on core 2
* fix frame stream
* lower prio of cal thread
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
Dean Lee
d31a87cd21
qcom: make camera_process_frame more readable ( #2765 )
...
* more readable
* rgb_addr
* offset
* speed up if statement
* --self_recover
* rgb_addr_offset
* x_offset&y_offset
* static rgb_roi_buf & conv_result
* remove variables from struct
* simplify read sensorEvents
* use i for loop
* split to functions
* make it works
* y_offset should be ROI_Y_MAX-ROY_Y_MIN+1
* std::size is better than ARRAYSIZE
* rebase master
* shorter variable name
* Revert "shorter variable name"
This reverts commit 47612e3a74
.
* std::fill_n
* reday for merge
* Revert "y_offset should be ROI_Y_MAX-ROY_Y_MIN+0"
This reverts commit 1f8526fb1c
.
5 years ago
Comma Device
536a8c5876
fix camerad qcom2 build
5 years ago
Dean Lee
c1f3c3b2df
camera_qcom: read SensorEvents in op thread ( #2764 )
...
* get acceleration in op thread
* std::atomic last_sag_acc_z
* cleanup
5 years ago
Dean Lee
554ea8f54a
refactor imgproc/utils ( #2766 )
...
* refactor imgproc/utils
* const
* space
* return value
5 years ago