Greg Hogan
d59a13e22a
adjust qcamera quality ( #20066 )
...
* better ts
* fix test
old-commit-hash: 1cd9105e96
4 years ago
Dean Lee
6e63be3a01
loggerd: remove the segment variable from encoders ( #20034 )
...
old-commit-hash: 1fad5216ea
4 years ago
Dean Lee
60aa7b9d96
Logger: added function logger_get_route_name ( #19995 )
...
* added function logger_get_route_name
* remove empty line
old-commit-hash: 1588a6f0ac
4 years ago
Dean Lee
bc3b705a5b
mv logger_build_boot to bootlog.cc ( #19996 )
...
old-commit-hash: 678c149246
4 years ago
Dean Lee
ab24d18c43
OmxEncoder: use c++ mutex&condition_variable ( #19786 )
...
* use c++ mutex&condition_variable
* rebase
* cleanup includes&use while
* remove include pthread.h
old-commit-hash: aa37e95341
4 years ago
Dean Lee
926c3d6fd7
Logger: new class BZFile ( #19959 )
...
* add class BZFile
* inline
* cleanup includes
* stack bzfile
* log first error
* remove assert
* rename log_err to err_logged
* assert in destructor
* LOGE
* don't assert statement
* assert error of fclose
old-commit-hash: ef6d1aeaaa
4 years ago
Dean Lee
06ac698691
OMXEncoder: remove pthread_mutex_t lock from member variables ( #19948 )
...
* remove mutex
* rebase master
old-commit-hash: 9a9641a296
4 years ago
Dean Lee
33495e4368
loggerd: small cleanup ( #19864 )
...
old-commit-hash: 16e259cadf
4 years ago
Adeeb Shihadeh
78b20a077f
Revert "OmxEncoder: new function set_state, set and wait state changed ( #19906 )"
...
This reverts commit fbc80f3131acd05e6473daa1682f017874b6f883.
old-commit-hash: 20a2bfdd31
4 years ago
Dean Lee
d7adc6ed49
OmxEncoder: new function set_state, set and wait state changed ( #19906 )
...
* free buffers after state is loaded
* set_data_blocking
* fix indentation
* Empty commit,trigger Build
old-commit-hash: 36a596eb1e
4 years ago
Willem Melching
1296525567
fix safequeue import
...
old-commit-hash: 5693773ae1
4 years ago
Dean Lee
da9b0e8baa
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
old-commit-hash: e6783f4d9f
4 years ago
Dean Lee
b0552a1985
bootlog: fix dangling pointer problem in logger_build_boot ( #19942 )
...
* fix dangling pointer problem
* logger_build_init_data() has same problem
* return kj::Array<capnp::byte>
* Revert "return kj::Array<capnp::byte>"
This reverts commit 4df4685bfc
.
* Empty commit,trigger Build
* fix each segment in a route having a different initial logMonoTime
old-commit-hash: 79e05965c4
4 years ago
Adeeb Shihadeh
efb14fc172
Revert "OMXEncoder: add calls to OMX_Init()&OMX_Deinit() ( #19905 )"
...
This reverts commit 2b789323981058401a6c908ec674901ed2662f08.
old-commit-hash: ea74f558f4
4 years ago
Adeeb Shihadeh
bfa5674d4f
fix up encoder test for tici rotation ( #19941 )
...
* fix encoder test
* revert for c2
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0411015103
4 years ago
Dean Lee
6bd65f558e
OMXEncoder: add calls to OMX_Init()&OMX_Deinit() ( #19905 )
...
* add calls to OMX_Init()&OMX_Deinit()
* fix indentation
old-commit-hash: 8f00813089
4 years ago
Willem Melching
4fd576e7f7
Put bootlog in own folder ( #19939 )
...
* put bootlog in own folder
* fix uploader
* remove print statements
* update test
* remove comment
* also write initddata
* remove sentinels from test
old-commit-hash: 87119aebe2
4 years ago
Adeeb Shihadeh
46877afa24
make loggerd rotation test more reliable
...
old-commit-hash: 9f2088e2c3
4 years ago
Adeeb Shihadeh
edd881fa16
more tici tests in jenkins ( #19908 )
...
* run loggerd tests on tici
* boardd loopback
* fix up seg length
* this doesn't add more coverage
old-commit-hash: 810ed30cab
4 years ago
Adeeb Shihadeh
a65cef0b31
loggerd: remove vipc arg from encode frame
...
old-commit-hash: 1ed77847fe
4 years ago
Adeeb Shihadeh
cfdeda3393
OMX encoder stability ( #19758 )
...
* cleanup test first
* wait for other encoder threads
* fixes initial crash
* no print
* unused
* fix up tests
* need that
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d4489fbf91
4 years ago
Dean Lee
3a11061dce
OmxEncoder: set s->of to nullptr after close ( #19814 )
...
old-commit-hash: a5be02c2c7
4 years ago
Adeeb Shihadeh
5362097b37
fix loggerd after bootlog split ( #19840 )
...
* fix loggerd after bootlog split
* logger handles that
* unused
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2e64049ea4
4 years ago
Dean Lee
57b1b4c456
loggerd: split bootlog to a separate program ( #19831 )
...
* bootlog
* blank lines
* move file_exists to util.h
* src = ['loggerd.cc']
* log_init_data
* Revert "src = ['loggerd.cc']"
This reverts commit 18a587023d
.
* add bootlog to .gitignore
* use s->has_qlog instead of true
* add blank lines & remove extern C
old-commit-hash: f973c56a36
4 years ago
Willem Melching
8a187ec406
Linux tombstones: add stacktrace and upload ( #19737 )
...
* Add stacktrace to tombstones
* make sentry output prettier
* Refactor
* Generate upload filename
* Actually move file
* Fix spaces
* copy and upload
* dont delete just yet
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: f3db94a0c4
4 years ago
Dean Lee
92c11baefb
loggerd: make sure to print one statistics every 1000 times ( #19803 )
...
old-commit-hash: d085adb9ec
4 years ago
Dean Lee
339cb7b353
OmxEncoder: use std::vector to keep buffer ( #19807 )
...
old-commit-hash: e04cecd169
4 years ago
Dean Lee
603a21c1f4
loggerd: do not LOGW twice when logger.part == 0 ( #19795 )
...
* fix LOGW
* space
old-commit-hash: caf87c25dd
4 years ago
Dean Lee
9eb6648ec5
OmxEncoder: use macro to check error ( #19785 )
...
old-commit-hash: 0592c326ed
4 years ago
Willem Melching
a04de5683e
RecordFront remove ifdef ( #19773 )
...
old-commit-hash: 10790304c9
4 years ago
Adeeb Shihadeh
eaa1489093
loggerd: another rotation test ( #19742 )
...
* another rotation test
* make encoder test fast
* fix pc
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5221450f2d
4 years ago
Adeeb Shihadeh
65a624db68
Loggerd for PC ( #19730 )
...
old-commit-hash: 92e4f04873
4 years ago
Adeeb Shihadeh
9909060b4d
Video Encoder abstraction ( #19729 )
...
old-commit-hash: a1c7f19fe4
4 years ago
Adeeb Shihadeh
47cc09f413
loggerd: fix double encoder open ( #19703 )
...
* fix double encoder open/close
* simplify rotation
* clean up
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 87e8ef1fca
4 years ago
Dean Lee
99a831dd5c
replace std::this_thread::sleep_for with util::sleep_fo ( #19717 )
...
old-commit-hash: 72bb55247c
4 years ago
Dean Lee
4c1919f41e
merge utilpp.h into util.h ( #19710 )
...
old-commit-hash: 595830135b
4 years ago
Adeeb Shihadeh
2a55e4f193
loggerd: fix use after free and memory leaks ( #19695 )
...
* fix use after free and memory leaks
* cleanup
* fix typo
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6b0890f128
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
Adeeb Shihadeh
1c2560352c
loggerd cleanup ( #19668 )
...
old-commit-hash: 206d072bb4
4 years ago
Adeeb Shihadeh
0d895ad82a
loggerd tests ( #19671 )
...
old-commit-hash: af81190cfc
4 years ago
Adeeb Shihadeh
84255f7c0d
fix race condition with encoder thread
...
old-commit-hash: e3d2f0c88c
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
0fdc9af349
tici loggerd fixes ( #19622 )
...
* fix encoder exit when encoder is uninitialized
* cleanup
* more cleanup
* more cleanup
* little more
* ptr
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 54679cea58
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
f71bf83946
refactor qlog_counter ( #19626 )
...
old-commit-hash: 041fbbf725
4 years ago
Adeeb Shihadeh
c64a8356fe
move to github container registry + CI speedup ( #19621 )
...
old-commit-hash: 59d7c5e64a
4 years ago
Adeeb Shihadeh
5bbe4f3d52
manager tests + make all processes exit cleanly ( #19595 )
...
* manager tests
* logcatd exits cleanly
* sigint
* boardd
* multiple dbus connections hangs for some reason
* clocksd proclogd
* network type from thermal
* fix tests
* fix android logcatd
* fix mac
* fix mac proclogd
* move on device athena tests
* build first
* build first
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ffa7e0cbdb
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
d5ad6237cf
Revert "Handle python-dbus not installed"
...
This reverts commit fd22f01b1f21005846bef211851d17f602a7c600.
old-commit-hash: a2c6fdd14c
4 years ago
ZwX1616
1f99fdfc50
qcom2 init hevc tier correctly ( #19496 )
...
* qcom2 init tier correctly
* need to cast
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1c21fc100d
4 years ago