DriveWorks SDK Reference

| 0.6.67 Release

Camera.h File Reference

Detailed Description

NVIDIA DriveWorks API: Cameras

Description: This file defines camera methods.

Definition in file Camera.h.

Go to the source code of this file.

Data Structures

struct  dwCameraProperties
 

Typedefs

typedef struct dwCameraFrame * dwCameraFrameHandle_t
 Handle to captured frame. More...
 

Enumerations

enum  dwCameraOutputType {
  DW_CAMERA_PROCESSED_IMAGE = 1 << 0,
  DW_CAMERA_RAW_IMAGE = 1 << 1,
  DW_CAMERA_DATALINES = 1 << 2
}
 Output types supported by the camera. More...
 
enum  dwCameraRawFormat {
  DW_CAMERA_RAW_FORMAT_UNKNOWN = 0,
  DW_CAMERA_RAW_FORMAT_RGGB = 7000,
  DW_CAMERA_RAW_FORMAT_BGGR = 7100,
  DW_CAMERA_RAW_FORMAT_GRBG = 7200,
  DW_CAMERA_RAW_FORMAT_GBRG = 7300,
  DW_CAMERA_RAW_FORMAT_RCCB = 8000,
  DW_CAMERA_RAW_FORMAT_BCCR = 8100,
  DW_CAMERA_RAW_FORMAT_CRBC = 8200,
  DW_CAMERA_RAW_FORMAT_CBRC = 8300,
  DW_CAMERA_RAW_FORMAT_RCCC = 9000,
  DW_CAMERA_RAW_FORMAT_CRCC = 9100,
  DW_CAMERA_RAW_FORMAT_CCRC = 9200,
  DW_CAMERA_RAW_FORMAT_CCCR = 9300
}
 
enum  dwCameraType {
  DW_CAMERA_GENERIC = 0,
  DW_CAMERA_GMSL_OV10635 = 1,
  DW_CAMERA_GMSL_OV10640 = 2,
  DW_CAMERA_GMSL_AR0231_RGGB = 3,
  DW_CAMERA_GMSL_AR0231_RCCB = 4,
  DW_CAMERA_GMSL_AR0231_RCCB_SSC = 5,
  DW_CAMERA_USB_GENERIC = 6,
  DW_CAMERA_GMSL_AR0231_RCCB_BAE = 7,
  DW_CAMERA_GMSL_OV10640_SVC210 = 8,
  DW_CAMERA_GMSL_OV10640_SVC212 = 9,
  DW_CAMERA_GMSL_AR0231_RCCB_SS3322 = 10,
  DW_CAMERA_GMSL_AR0231_RCCB_SS3323 = 11,
  DW_CAMERA_GMSL_AR0144 = 12
}
 Enum of available cameras. More...
 

Functions

DW_API_PUBLIC dwStatus dwSensorCamera_getDataLines (const dwImageDataLines **dataLines, dwCameraFrameHandle_t frameHandle)
 Gets the data lines sent by the camera sensor. More...
 
DW_API_PUBLIC dwStatus dwSensorCamera_getImageCPU (dwImageCPU **image, dwCameraOutputType format, dwCameraFrameHandle_t frameHandle)
 Gets a frame from the camera sensor. More...
 
DW_API_PUBLIC dwStatus dwSensorCamera_getImageCUDA (dwImageCUDA **image, dwCameraOutputType format, dwCameraFrameHandle_t frameHandle)
 Gets a frame from the camera sensor. More...
 
DW_API_PUBLIC dwStatus dwSensorCamera_getImageProperties (dwImageProperties *imageProperties, dwCameraOutputType type, dwSensorHandle_t sensor)
 Gets information about the image properties for a given dwCameraOutputType. More...
 
DW_API_PUBLIC dwStatus dwSensorCamera_getSensorProperties (dwCameraProperties *properties, dwSensorHandle_t sensor)
 Gets information about the camera sensor. More...
 
DW_API_PUBLIC dwStatus dwSensorCamera_getTimestamp (dwTime_t *timestamp, dwCameraFrameHandle_t frameHandle)
 Gets the timestamp of the current camera frame. More...
 
DW_API_PUBLIC dwStatus dwSensorCamera_readFrame (dwCameraFrameHandle_t *frameHandle, uint32_t sibling, dwTime_t timeout_us, dwSensorHandle_t sensor)
 Reads a frame handle from the camera sensor. More...
 
DW_API_PUBLIC dwStatus dwSensorCamera_returnFrame (dwCameraFrameHandle_t *frameHandle)
 Returns a frame to the camera after it has been consumed. More...