You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							28 lines
						
					
					
						
							439 B
						
					
					
				
			
		
		
	
	
							28 lines
						
					
					
						
							439 B
						
					
					
				| #pragma once
 | |
| 
 | |
| #ifdef __APPLE__
 | |
| #include <OpenCL/cl.h>
 | |
| #else
 | |
| #include <CL/cl.h>
 | |
| #endif
 | |
| 
 | |
| #include "selfdrive/camerad/cameras/camera_common.h"
 | |
| 
 | |
| #define FRAME_BUF_COUNT 16
 | |
| 
 | |
| typedef struct CameraState {
 | |
|   CameraInfo ci;
 | |
|   int camera_num;
 | |
|   int fps;
 | |
|   float digital_gain;
 | |
|   CameraBuf buf;
 | |
| } CameraState;
 | |
| 
 | |
| 
 | |
| typedef struct MultiCameraState {
 | |
|   CameraState road_cam;
 | |
|   CameraState driver_cam;
 | |
| 
 | |
|   SubMaster *sm;
 | |
|   PubMaster *pm;
 | |
| } MultiCameraState;
 | |
| 
 |