Dean Lee
3e663529bd
cameras:move cameras_supported to the top ( #20370 )
...
* move cameras_supported to the top
* remove extern CameraInfo cameras_supported from camera_common.h
2021-03-16 11:09:25 +01:00
Dean Lee
ecfb9d88d0
camera_frame_stream.h: remove unused variables ( #20340 )
2021-03-13 14:30:40 -08:00
Dean Lee
4c225c6e1d
camera_qcom2: add std::mutex exp_lock ( #20183 )
...
* add std::mutex exp_lock
* auto &meta_data
2021-03-12 20:03:15 -08:00
Dean Lee
e654d9ddf9
cleanup camera_qcom const structs ( #20251 )
...
* move actuator_ringing_params from global to function actuator_move
* remove varaible infinity_dac from CameraState
* static actuator_ringing_params
* continue
* rebase master
2021-03-12 19:52:04 -08:00
ZwX1616
65bb979c34
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 >
2021-03-12 17:40:50 -08:00
Adeeb Shihadeh
90795fc773
reduce log spam ( #20330 )
...
* fix big spammers
* my favorite test failure
* remove that one
* went down a bit more
2021-03-12 11:45:29 -08:00
Dean Lee
92e69e8b75
refactor function alloc ( #20192 )
2021-03-11 17:40:33 -08:00
Dean Lee
8a966de2b6
use loop index ( #20307 )
2021-03-11 17:24:02 -08:00
ZwX1616
b734647fb7
only destroy if inited ( #20317 )
2021-03-11 13:53:24 -08:00
Dean Lee
8abc85ea5e
LapConv::Update: use CL_TRUE instead of true ( #20311 )
2021-03-11 15:01:44 +01:00
Comma Device
bcbcc03dc7
revert to divide first
2021-03-08 13:53:24 -08:00
Dean Lee
6e1730a3e8
camera_qcom: better error message for apply exp error ( #20265 )
2021-03-08 10:42:31 +01:00
Dean Lee
74afec9f15
camera_qcom: change unsigned int to uint32_t ( #20262 )
2021-03-08 10:41:07 +01:00
Dean Lee
e66f816879
cameras_qcom: use macros for actuator moving dir ( #20259 )
...
* use macro
* revert change
2021-03-08 10:40:15 +01:00
Dean Lee
e0cc95a565
camera_qcom: remove eeprom related stuff ( #20254 )
2021-03-08 10:19:43 +01:00
Dean Lee
80cc0eefc9
modeldata.h: new function get_model_yuv_transform ( #20257 )
2021-03-08 10:10:13 +01:00
Dean Lee
59698344a2
camera_qcom: move opencl stuff into class LapConv ( #20180 )
...
* class RGB2Gray
* rename Rgb2Grey to LapConv
* rebase master
* rebase master
2021-03-04 20:41:59 -08:00
Dean Lee
2f46ddf779
oneplus cleanup (continue) ( #20212 )
...
* cleanup cameras_supported
* use macro
* remove ois_fd
* remove ois_init_settings
* cleanup sensor_i2c.h
* apply_exposure
* better comment
* remove int err
* init apply_exposure in camera_init
* continue
* remove event startupOneplus
* Revert "remove event startupOneplus"
This reverts commit f5b16e864399bcf4dc7c48fc07a43e35c47e7dc2.
* move camera_init after xxx_apply_exposure
2021-03-04 11:25:53 -08:00
Comma Device
0d036de205
better transition
2021-03-04 11:08:52 -08:00
Dean Lee
d3a71dcf65
camerad: fix thumbnail cnt ( #20236 )
2021-03-03 20:14:37 -08:00
ZwX1616
ab87aa1da8
clean up tici camera registers ( #20209 )
...
* clean up registers
* clean up more
Co-authored-by: Comma Device <device@comma.ai >
2021-03-03 19:29:08 -08:00
Comma Device
a5e9c603bd
force same gamma
2021-03-03 14:28:58 -08:00
Dean Lee
f5109d9207
cameras_qcom: use std::mutex ( #20181 )
2021-03-03 11:48:49 +01:00
Dean Lee
824e4531d7
num_cids should be 1 ( #20190 )
2021-03-03 11:42:49 +01:00
robbederks
491309b639
Tici MIPI config ( #20205 )
...
* remove non-default mipi timings and preamble lengths
* actual correct settle count
2021-03-02 14:10:32 +01:00
Adeeb Shihadeh
07ab081a42
oneplus cleanup ( #20200 )
...
* start cleanup
* cleanup camerad
* remove unused
* little more
Co-authored-by: Comma Device <device@comma.ai >
2021-03-01 17:14:03 -08:00
ZwX1616
dd2bba0b42
Tici art4 ( #20210 )
...
* adjust gamma
* trust that light
* trust that chart
* unsrgb
Co-authored-by: Comma Device <device@comma.ai >
2021-03-01 16:35:43 -08:00
Dean Lee
afcbf60cad
camera_qcom.h: regroup variables by usage ( #20196 )
2021-03-01 14:49:04 +01:00
Dean Lee
e6c47916a2
(msm_sensor_power_setting*) type conversions are not required ( #20191 )
2021-03-01 12:17:30 +01:00
Dean Lee
468dc3f5a4
Move duplicate function declarations to camera_common.h ( #20176 )
2021-02-26 20:35:21 -08:00
Dean Lee
2f718d28e4
camerad: remove param pix_ptr from set_exposure_target ( #20157 )
2021-02-26 14:42:27 +01:00
Comma Device
e3afd72265
gamma last and only one ccm
2021-02-25 16:37:28 -08:00
Comma Device
ab694dbace
better gain values
2021-02-25 16:34:15 -08:00
ZwX1616
28b80844c9
tici camerart 3.1 ( #20143 )
...
Co-authored-by: Comma Device <device@comma.ai >
2021-02-23 14:05:09 -08:00
ZwX1616
d8ddc1208e
tici camerart III: prehistoric visuals ( #20012 )
...
* reworked
* add ref
* f16
* faster
* extended tm
* fix hdr
* Revert "extended tm"
This reverts commit 55ba3ae3205f7e962bf2f36634b23a595700c9a8.
* 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 >
2021-02-21 23:23:40 -08:00
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
2021-02-19 13:13:21 -08:00
Dean Lee
ad88e62a8d
replace sleep with util::sleep_for ( #20108 )
2021-02-19 11:27:54 +01:00
Adeeb Shihadeh
312b681a46
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.
* 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
2021-02-16 21:39:32 -08:00
Dean Lee
139470f033
camera_qcom: cleanup main() ( #19805 )
...
* cleanup main
* continue
* remove last_t from CameraState
* cleanup
2021-02-16 16:25:46 -08:00
Willem Melching
af8eff4610
camerad fixes for updated agnos kernel ( #20062 )
...
* set size
* whitespace
* more cleanup
2021-02-11 23:42:20 -08:00
ZwX1616
8824966aad
tici fcam vignette compensation ( #19971 )
...
* simple model
* fix api
* this too
2021-02-01 15:06:15 -08:00
Dean Lee
7f5a1ce02d
get_frame_image: moved the global variables into function static ( #19982 )
2021-01-31 18:16:12 -08:00
ZwX1616
6d16bfab82
tici dcam AE ( #19970 )
...
* tici_ae_front
* not const
2021-01-29 19:11:27 -08:00
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 >
2021-01-28 14:21:59 -08:00
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
2021-01-28 15:12:45 +01:00
Dean Lee
064bcbe80b
CameraBuf::acquire : release on failure ( #19935 )
2021-01-27 12:08:38 +01:00
Dean Lee
80799c7272
fill_frame_data: remove unused paramater cnt ( #19936 )
2021-01-27 12:03:12 +01:00
Dean Lee
cbd08d6f0c
cameras_qcom: fix dangling pointer in fill_frame_image ( #19891 )
2021-01-26 17:19:06 +01:00
Dean Lee
90994baab0
camera_common: rename create_thumbnail to publish_thumbnail ( #19920 )
...
* rename create_thumbnail to publish_thumbnail
* check pm
2021-01-26 17:06:03 +01:00
Dean Lee
6b245b5b0c
camera_webcam: add "thumbnail" to Pubmaster ( #19919 )
2021-01-25 20:30:02 -08:00