DriveWorks SDK Reference

| 0.6.67 Release

Vibrante Cameras

Detailed Description

Defines the Vibrante camera module.

Functions

DW_API_PUBLIC dwStatus dwSensorCamera_getImageNvMedia (dwImageNvMedia **image, dwCameraOutputType format, dwCameraFrameHandle_t frameHandle)
 Gets a frame from the camera sensor. More...
 
DW_API_PUBLIC dwStatus dwSensorCamera_parseDataNvMedia (NvMediaISCEmbeddedData *parsedData, const dwImageDataLines *dataLines, dwSensorHandle_t sensor)
 Parses the data lines to extract information like exposure time and gain using NvMedia provided parser. More...
 

Function Documentation

◆ dwSensorCamera_getImageNvMedia()

DW_API_PUBLIC dwStatus dwSensorCamera_getImageNvMedia ( dwImageNvMedia **  image,
dwCameraOutputType  format,
dwCameraFrameHandle_t  frameHandle 
)

Gets a frame from the camera sensor.

Note
The returned image has the lifetime of the associated frame handle, e.g., when the handle is returned, the data gets invalid.
Parameters
[out]imageA pointer to a pointer to an image read from the camera. The format or the image depends on camera type. The frame must be returned to be put back into the internal pool.
[in]formatSpecifies the format of the image to get.
[in]frameHandleHandle to a captured frame.
Returns
DW_INVALID_HANDLE - if given handle is not valid.
DW_NOT_IMPLEMENTED - if the method for this image type is not implemented by given camera.
DW_NOT_AVAILABLE - if sensor has not been configured to deliver CPU images of format type.
DW_SUCCESS

◆ dwSensorCamera_parseDataNvMedia()

DW_API_PUBLIC dwStatus dwSensorCamera_parseDataNvMedia ( NvMediaISCEmbeddedData *  parsedData,
const dwImageDataLines dataLines,
dwSensorHandle_t  sensor 
)

Parses the data lines to extract information like exposure time and gain using NvMedia provided parser.

Parameters
[in]parsedDataContains information like exposure time and gain.
[in]dataLinesAdditional data lines that were sent from the sensor.
[in]sensorSensor handle of the camera sensor previously created with dwHAL_createSensor().