758794dec5 
								
							
								 
							
						 
						
							
							
								
								few fixes from LGTM  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								2072699719 
								
									
								
							
								 
							
						 
						
							
							
								
								CameraBuf::acquire : using a scoped lock ( #19764 )  
							
							... 
							
							
 
							
							* Using a scoped lock
* Trigger Build 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ea9835f293 
								
									
								
							
								 
							
						 
						
							
							
								
								fill_frame_image: reduce function parameters ( #19736 )  
							
							... 
							
							
 
							
							* reduce function paramaters
* add assert
* Trigger Build 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1b3c93813d 
								
									
								
							
								 
							
						 
						
							
							
								
								camerad use std::thread ( #19771 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c28ba97e67 
								
									
								
							
								 
							
						 
						
							
							
								
								CameraBuf: removed unused variables ( #19735 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								f0cc78ea92 
								
									
								
							
								 
							
						 
						
							
							
								
								fix tici debayer GPU page faults  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								0b79d0e12d 
								
							
								 
							
						 
						
							
							
								
								CameraBuf::stop() is not used  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								595830135b 
								
									
								
							
								 
							
						 
						
							
							
								
								merge utilpp.h into util.h ( #19710 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								cefdca2fd6 
								
									
								
							
								 
							
						 
						
							
							
								
								create_thumbnail in camera_common ( #19553 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								621dcf8aa1 
								
									
								
							
								 
							
						 
						
							
							
								
								cleanup ( #19564 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								87950eb312 
								
									
								
							
								 
							
						 
						
							
							
								
								setup clang tidy ( #19533 )  
							
							... 
							
							
 
							
							* setup clang tidy
* config
* some cleanup
* little more
* remove that
* fix qcom build 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c1cf0882bd 
								
									
								
							
								 
							
						 
						
							
							
								
								Replace usleep with util::sleep_for ( #19643 )  
							
							... 
							
							
 
							
							* replace usleep with sleep_for
* sleep microseconds
* sleep nanoseconds
* Trigger Build 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								06e3b1e445 
								
									
								
							
								 
							
						 
						
							
							
								
								fix thread safety issue in camera focusing ( #19576 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								37826c0032 
								
									
								
							
								 
							
						 
						
							
							
								
								should not break if poll timeout ( #19578 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								15cd71707d 
								
									
								
							
								 
							
						 
						
							
							
								
								camerad: revert tbuffer dispatch change ( #19589 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9890f958d9 
								
									
								
							
								 
							
						 
						
							
							
								
								cameras: use common transform ( #19552 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								bc1cfa6d4f 
								
									
								
							
								 
							
						 
						
							
							
								
								cleanup qcom2 ( #19506 )  
							
							... 
							
							
 
							
							* cleanup qcom2
* define DEBAYER_LOCAL_WORKSIZE in camera_qcom2.h 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								91c760a9e5 
								
							
								 
							
						 
						
							
							
								
								Revert MCLK change  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								8674b023ba 
								
									
								
							
								 
							
						 
						
							
							
								
								HW abstraction layer ( #19530 )  
							
							... 
							
							
 
							
							* start hw refactor
* move that
* pins
* put that back 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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 47612e3a741d8b6ddfd72bccbb5337882b369224.
* std::fill_n
* reday for merge
* Revert "y_offset should be ROI_Y_MAX-ROY_Y_MIN+0"
This reverts commit 1f8526fb1c59c89d747210eb8bf17a2688a4f2bc. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								536a8c5876 
								
							
								 
							
						 
						
							
							
								
								fix camerad qcom2 build  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c1f3c3b2df 
								
									
								
							
								 
							
						 
						
							
							
								
								camera_qcom: read SensorEvents in op thread  ( #2764 )  
							
							... 
							
							
 
							
							* get acceleration in op thread
* std::atomic last_sag_acc_z
* cleanup 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								554ea8f54a 
								
									
								
							
								 
							
						 
						
							
							
								
								refactor imgproc/utils ( #2766 )  
							
							... 
							
							
 
							
							* refactor imgproc/utils
* const
* space
* return value 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								cb238fd2ee 
								
									
								
							
								 
							
						 
						
							
							
								
								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> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								3d63b3d414 
								
									
								
							
								 
							
						 
						
							
							
								
								covert rgb_to_yuv.c to rgb_to_yuv.cc ( #2757 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								3c08d0f1f7 
								
									
								
							
								 
							
						 
						
							
							
								
								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 882e413f227e4c1ba4bb83f956cc67739a189221.
* 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 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								7b998a7c21 
								
							
								 
							
						 
						
							
							
								
								Add thumbnails to camera_frame_stream  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								f0d240a7e3 
								
									
								
							
								 
							
						 
						
							
							
								
								camerad: fix memory leak in create_thumbnail ( #2743 )  
							
							... 
							
							
 
							
							* fix memory leak in create_thumbnail
* free memory returned from jpeg_mem_dest
* OMG 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1e9e31d6e1 
								
									
								
							
								 
							
						 
						
							
							
								
								destroy rgb_to_yuv_state ( #2702 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								fef8d4093f 
								
							
								 
							
						 
						
							
							
								
								rhd dm AE sign flip  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								0e84e04539 
								
							
								 
							
						 
						
							
							
								
								make qcom2 robust to moving v4l-subdevs  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								90d7331312 
								
							
								 
							
						 
						
							
							
								
								fix camerad exiting on pc  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								24a84b2aff 
								
									
								
							
								 
							
						 
						
							
							
								
								simplify common_camera_process_front ( #2470 )  
							
							... 
							
							
 
							
							* refactor camera_process_front
* improve 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								d3387d540a 
								
									
								
							
								 
							
						 
						
							
							
								
								tici timing improvements ( #2613 )  
							
							... 
							
							
 
							
							* relocate
* impatience
* should be fine without
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								bd4f6650fa 
								
									
								
							
								 
							
						 
						
							
							
								
								simplify building capnp messages with arrays ( #2617 )  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								42183d913f 
								
									
								
							
								 
							
						 
						
							
							
								
								Error checking macros for opencl ( #2615 )  
							
							... 
							
							
 
							
							* macro CL_CHECK&CL_CHECK_ERR
* trigger checks 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								f244b7c7e1 
								
									
								
							
								 
							
						 
						
							
							
								
								tici front/wide encodeIdx msgs ( #2564 )  
							
							... 
							
							
 
							
							* different msgs
* also add timestamps
* keep impatient log, remove the other
* meaningless 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b9b6ed2d52 
								
							
								 
							
						 
						
							
							
								
								underflew  
							
							
 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c630cd44da 
								
									
								
							
								 
							
						 
						
							
							
								
								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> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								2f3e42169c 
								
									
								
							
								 
							
						 
						
							
							
								
								was wasting a ton of GPU on this debayer ( #2566 )  
							
							... 
							
							
 
							
							Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								4954db0381 
								
									
								
							
								 
							
						 
						
							
							
								
								use different SubMasters for driverState/sensorEvents ( #2522 )  
							
							... 
							
							
 
							
							* use different sms
* rename 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								029be49012 
								
									
								
							
								 
							
						 
						
							
							
								
								switch build flags to use opengl framework rather than gl library for OSX ( #2467 )  
							
							... 
							
							
 
							
							* switch build flags to use opengl framework rather than library for OSX
* little cleaner
* arch
Co-authored-by: thatsaboi <thatsa@boi.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								4d5efb5789 
								
									
								
							
								 
							
						 
						
							
							
								
								Focus Actuator Comments ( #2478 )  
							
							... 
							
							
 
							
							* comments from DW9800W datasheet
* more comments 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c21ccccd61 
								
									
								
							
								 
							
						 
						
							
							
								
								webcam cleanup: remove unused variables ( #2450 )  
							
							
 
							
						 
						
							5 years ago