Defines the Vibrante camera module.
◆ dwSensorCamera_getImageNvMedia()
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] | image | A 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] | format | Specifies the format of the image to get. |
[in] | frameHandle | Handle 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()
Parses the data lines to extract information like exposure time and gain using NvMedia provided parser.
- Parameters
-
[in] | parsedData | Contains information like exposure time and gain. |
[in] | dataLines | Additional data lines that were sent from the sensor. |
[in] | sensor | Sensor handle of the camera sensor previously created with dwHAL_createSensor() . |