Dean Lee
bed2eb58c1
fill_frame_data: remove unused paramater cnt ( #19936 )
...
old-commit-hash: 80799c7272
4 years ago
Dean Lee
bf95f37eba
cameras_qcom: fix dangling pointer in fill_frame_image ( #19891 )
...
old-commit-hash: cbd08d6f0c
4 years ago
Dean Lee
8e0dc47f2e
camera_common: rename create_thumbnail to publish_thumbnail ( #19920 )
...
* rename create_thumbnail to publish_thumbnail
* check pm
old-commit-hash: 90994baab0
4 years ago
Dean Lee
37d0943201
camera_webcam: add "thumbnail" to Pubmaster ( #19919 )
...
old-commit-hash: 6b245b5b0c
4 years ago
ZwX1616
7e383c881f
fill sof
...
old-commit-hash: 2b6149572a
4 years ago
robbederks
46191df6bb
Change qcom2 fserial and readout timing ( #19820 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5eb16b1193
4 years ago
Adeeb Shihadeh
a30859cf12
camera frame stream cleanup ( #19741 )
...
* clean up
* more clean up first
old-commit-hash: eae7a6ed22
4 years ago
Adeeb Shihadeh
c3783d5005
camerad: remove duplicate set_realtime_priority
...
old-commit-hash: 5cb6e69a78
4 years ago
Dean Lee
09a9eba635
CameraBuf: private variables ( #19811 )
...
old-commit-hash: aaac63689d
4 years ago
Adeeb Shihadeh
6a01983000
few fixes from LGTM
...
old-commit-hash: 758794dec5
4 years ago
Dean Lee
4eebd421a5
CameraBuf::acquire : using a scoped lock ( #19764 )
...
* Using a scoped lock
* Trigger Build
old-commit-hash: 2072699719
4 years ago
Dean Lee
fbca888d7e
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>
old-commit-hash: c804059641
4 years ago
Dean Lee
b5d575eb9f
fill_frame_image: reduce function parameters ( #19736 )
...
* reduce function paramaters
* add assert
* Trigger Build
old-commit-hash: ea9835f293
4 years ago
Dean Lee
8b2b835e62
camerad use std::thread ( #19771 )
...
old-commit-hash: 1b3c93813d
4 years ago
Dean Lee
b1ccf416c7
CameraBuf: removed unused variables ( #19735 )
...
old-commit-hash: c28ba97e67
4 years ago
ZwX1616
3d3c77423c
fix tici debayer GPU page faults
...
old-commit-hash: f0cc78ea92
4 years ago
Willem Melching
6f417e0051
CameraBuf::stop() is not used
...
old-commit-hash: 0b79d0e12d
4 years ago
Dean Lee
7ea7f097c4
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
old-commit-hash: 660abb79dc
4 years ago
Dean Lee
4c1919f41e
merge utilpp.h into util.h ( #19710 )
...
old-commit-hash: 595830135b
4 years ago
Dean Lee
50da200b5a
create_thumbnail in camera_common ( #19553 )
...
old-commit-hash: cefdca2fd6
4 years ago
Dean Lee
46bd840be6
cleanup ( #19564 )
...
old-commit-hash: 621dcf8aa1
4 years ago
Willem Melching
3f950832b9
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
old-commit-hash: fb496c692a
4 years ago
Dean Lee
5e557ed96d
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
old-commit-hash: 86fe2d1697
4 years ago
Adeeb Shihadeh
d89bb8b29c
setup clang tidy ( #19533 )
...
* setup clang tidy
* config
* some cleanup
* little more
* remove that
* fix qcom build
old-commit-hash: 87950eb312
4 years ago
Dean Lee
bbfb751d69
Replace usleep with util::sleep_for ( #19643 )
...
* replace usleep with sleep_for
* sleep microseconds
* sleep nanoseconds
* Trigger Build
old-commit-hash: c1cf0882bd
4 years ago
Dean Lee
6d729af2f9
fix thread safety issue in camera focusing ( #19576 )
...
old-commit-hash: 06e3b1e445
4 years ago
Dean Lee
3fa5602f75
should not break if poll timeout ( #19578 )
...
old-commit-hash: 37826c0032
4 years ago
Adeeb Shihadeh
4fbefc8e10
camerad: revert tbuffer dispatch change ( #19589 )
...
old-commit-hash: 15cd71707d
4 years ago
Dean Lee
824106eab4
cameras: use common transform ( #19552 )
...
old-commit-hash: 9890f958d9
4 years ago
Dean Lee
34e98ac4d7
cleanup qcom2 ( #19506 )
...
* cleanup qcom2
* define DEBAYER_LOCAL_WORKSIZE in camera_qcom2.h
old-commit-hash: bc1cfa6d4f
4 years ago
Robbe Derks
0792290d72
Revert MCLK change
...
old-commit-hash: 91c760a9e5
4 years ago
robbederks
5d5fed58e2
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>
old-commit-hash: 18ab822213
4 years ago
Adeeb Shihadeh
b950cab874
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
old-commit-hash: 8674b023ba
4 years ago
Adeeb Shihadeh
762eda95cd
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>
old-commit-hash: c57ee16e86
4 years ago
Dean Lee
2865d75739
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
.
old-commit-hash: d31a87cd21
4 years ago
Comma Device
cfce32acb5
fix camerad qcom2 build
...
old-commit-hash: 536a8c5876
4 years ago
Dean Lee
6ab28556c8
camera_qcom: read SensorEvents in op thread ( #2764 )
...
* get acceleration in op thread
* std::atomic last_sag_acc_z
* cleanup
old-commit-hash: c1f3c3b2df
4 years ago
Dean Lee
890df06246
refactor imgproc/utils ( #2766 )
...
* refactor imgproc/utils
* const
* space
* return value
old-commit-hash: 554ea8f54a
4 years ago
George Hotz
2cedc8715e
Set camerad CL priority to 4 ( #2747 )
...
* priority 2 get
* add to files_common
* cl_ext_qcom
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: cb238fd2ee
4 years ago
Dean Lee
0066e93b34
covert rgb_to_yuv.c to rgb_to_yuv.cc ( #2757 )
...
old-commit-hash: 3d63b3d414
4 years ago
Dean Lee
9be81a6f99
clutil refactor ( #2733 )
...
* cleaup clutil.h
* clutil.c -> clutil.cc
* std::hash
* try simplify functions
* using namespace group help functions
* continue
* add function get_platform_info
* continue
* remove caching
* struct CLContext
* std::cout & CL_ERR_TO_STR
* remove CLU_NO_CACHE
* Revert "struct CLContext"
This reverts commit 882e413f22
.
* cl_get_error_string : remove undefied error codes
* replace all printf with std::cout
* util::read_file
* cleanup
* revert CL_ERR_TO_STR
* simplify
* add macro CL_ERR_TO_STR
* cl_get_error_string: fix undeclared errors
* log_size should not +1
* use std::stirng log
* apply review
old-commit-hash: 3c08d0f1f7
4 years ago
Willem Melching
df97d4db04
Add thumbnails to camera_frame_stream
...
old-commit-hash: 7b998a7c21
4 years ago
Dean Lee
fc07703c8f
camerad: fix memory leak in create_thumbnail ( #2743 )
...
* fix memory leak in create_thumbnail
* free memory returned from jpeg_mem_dest
* OMG
old-commit-hash: f0d240a7e3
4 years ago
Dean Lee
3f999c44a9
destroy rgb_to_yuv_state ( #2702 )
...
old-commit-hash: 1e9e31d6e1
4 years ago
komma zwei
d365119d74
rhd dm AE sign flip
...
old-commit-hash: fef8d4093f
4 years ago
Comma Device
d5a6427330
make qcom2 robust to moving v4l-subdevs
...
old-commit-hash: 0e84e04539
4 years ago
Adeeb Shihadeh
519614d9c0
fix camerad exiting on pc
...
old-commit-hash: 90d7331312
4 years ago
Dean Lee
8fd9523ce9
simplify common_camera_process_front ( #2470 )
...
* refactor camera_process_front
* improve
old-commit-hash: 24a84b2aff
4 years ago
ZwX1616
08cd2dbb86
tici timing improvements ( #2613 )
...
* relocate
* impatience
* should be fine without
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d3387d540a
4 years ago
Dean Lee
df9e0b2cb4
simplify building capnp messages with arrays ( #2617 )
...
old-commit-hash: bd4f6650fa
4 years ago