Dean Lee
d4986abd9b
CameraBuf: remove class variable yuv_metas ( #20376 )
...
old-commit-hash: dd4fa036e9
4 years ago
Dean Lee
b8925e456a
CameraBuf::acquire: remove reference frame_data, use cur_frame_data to keep consistency ( #20361 )
...
old-commit-hash: 9df3bab96a
4 years ago
ZwX1616
d8c1e9a16e
set_exposure_target test ( #20318 )
...
* build
* remove junk
* clean up
* clean up rebase
* new patterns
* add gts
* add to jenkis
* this more useful
* typo
* test only
* Update Jenkinsfile
* test flag
* remove from jenkins
* these should all just be common:wq
* oops
* unigt
* add to unit tests?
* build all is fine
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 65bb979c34
4 years ago
ZwX1616
6e79d0d5dd
only destroy if inited ( #20317 )
...
old-commit-hash: b734647fb7
4 years ago
Comma Device
9360cf6509
revert to divide first
...
old-commit-hash: bcbcc03dc7
4 years ago
Dean Lee
bca42582d9
modeldata.h: new function get_model_yuv_transform ( #20257 )
...
old-commit-hash: 80cc0eefc9
4 years ago
Comma Device
f68201e717
better transition
...
old-commit-hash: 0d036de205
4 years ago
Dean Lee
9faffa817b
camerad: fix thumbnail cnt ( #20236 )
...
old-commit-hash: d3a71dcf65
4 years ago
Dean Lee
0ea334ca6f
camerad: remove param pix_ptr from set_exposure_target ( #20157 )
...
old-commit-hash: 2f718d28e4
4 years ago
ZwX1616
8148ae3805
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>
old-commit-hash: d8ddc1208e
4 years ago
Dean Lee
c89e98261b
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
old-commit-hash: e7906fb446
4 years ago
Adeeb Shihadeh
05eb44115e
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
old-commit-hash: 312b681a46
4 years ago
ZwX1616
b7245e4cf5
tici fcam vignette compensation ( #19971 )
...
* simple model
* fix api
* this too
old-commit-hash: 8824966aad
4 years ago
Dean Lee
a64b230637
get_frame_image: moved the global variables into function static ( #19982 )
...
old-commit-hash: 7f5a1ce02d
4 years ago
ZwX1616
2dca9b49c7
tici dcam AE ( #19970 )
...
* tici_ae_front
* not const
old-commit-hash: 6d16bfab82
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
8dfd6dce43
CameraBuf::acquire : release on failure ( #19935 )
...
old-commit-hash: 064bcbe80b
4 years ago
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
ZwX1616
7e383c881f
fill sof
...
old-commit-hash: 2b6149572a
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
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
b5d575eb9f
fill_frame_image: reduce function parameters ( #19736 )
...
* reduce function paramaters
* add assert
* Trigger Build
old-commit-hash: ea9835f293
4 years ago
Dean Lee
b1ccf416c7
CameraBuf: removed unused variables ( #19735 )
...
old-commit-hash: c28ba97e67
4 years ago
Willem Melching
6f417e0051
CameraBuf::stop() is not used
...
old-commit-hash: 0b79d0e12d
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
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
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
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
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
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
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
5 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
5 years ago
Dean Lee
57138a6e0f
Error checking macros for opencl ( #2615 )
...
* macro CL_CHECK&CL_CHECK_ERR
* trigger checks
old-commit-hash: 42183d913f
5 years ago
ZwX1616
deab0f86aa
tici front/wide encodeIdx msgs ( #2564 )
...
* different msgs
* also add timestamps
* keep impatient log, remove the other
* meaningless
old-commit-hash: f244b7c7e1
5 years ago
ZwX1616
7af71098b6
send frame in packet on demand ( #2567 )
...
* focus lens helper2
* fix
* yes screen
* s
* new/del
* once
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c630cd44da
5 years ago
George Hotz
aa34cf305b
was wasting a ton of GPU on this debayer ( #2566 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 2f3e42169c
5 years ago
ZwX1616
8cc8e041c9
just use the same ( #2419 )
...
old-commit-hash: b5617c17c8
5 years ago
ZwX1616
6b46fe6ee0
restore behavior ( #2418 )
...
old-commit-hash: d7052094c4
5 years ago
ZwX1616
9549a604ae
camerad AE hotfix ( #2371 )
...
* duplicate offset
* use widthx3 instead of stride
old-commit-hash: efa9180258
5 years ago