vehicle_camera_module_t Struct Reference
  
   #include <
   
    vehicle_camera.h
   
   >
  
 
| Data Fields | |
| struct hw_module_t | common | 
| const uint32_t *(* | get_camera_device_list )(uint32_t *num_cameras) | 
Detailed Description
Every hardware module must have a data structure named HAL_MODULE_INFO_SYM and the fields of this data structure must begin with hw_module_t followed by module specific information.
Definition at line 92 of file vehicle_camera.h .
Field Documentation
| struct hw_module_t common | 
Definition at line 93 of file vehicle_camera.h .
| const uint32_t*(* get_camera_device_list)(uint32_t *num_cameras) | 
Queries the HW for the cameras installed on the vehicle
- Parameters
- 
     num_cameras - number of camera devices available. If 0 is returned, an error has occurred and the return pointer shall be NULL. 
- Returns
- pointer to an array of vehicle_camera_type_t to denote which cameras are installed. This pointer is only valid while the vehicle hal is loaded. If the pointer is NULL, then an error has occurred and num_cameras shall be 0.
Definition at line 105 of file vehicle_camera.h .
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ vehicle_camera.h
