51 #ifndef DW_SENSORS_CAMERA_CAMERA_H_ 52 #define DW_SENSORS_CAMERA_CAMERA_H_ 255 dwCameraFrameHandle_t frame);
281 dwCameraFrameHandle_t frame);
411 #endif // DW_SENSORS_CAMERA_CAMERA_H_ NVIDIA DriveWorks API: Core Types
dwCameraRawFormat rawFormat
float float32_t
Specifies POD types.
DW_API_PUBLIC dwStatus dwSensorCamera_getNvMediaIPPManager(NvMediaIPPManager **manager, dwSensorHandle_t sensor)
Gets the NvMediaIPPManager used for GMSL camera IPP setup and event callback.
struct dwImageObject * dwImageHandle_t
dwCameraExposureControl
Enum of exposure control types.
DW_API_PUBLIC dwStatus dwSensorCamera_setCUDAStream(cudaStream_t stream, dwSensorHandle_t sensor)
Sets the CUDA stream used by getImageAsync during internal cuda related operations.
DW_API_PUBLIC dwStatus dwSensorCamera_returnFrame(dwCameraFrameHandle_t *frameHandle)
Returns a frame to the camera after it has been consumed.
Exposure control using user's custom callback.
Default exposure control.
DW_API_PUBLIC dwStatus dwSensorCamera_getTimestamp(dwTime_t *timestamp, dwCameraFrameHandle_t frameHandle)
Gets the timestamp of the current camera frame.
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
DW_API_PUBLIC dwStatus dwSensorCamera_getImageAsync(dwImageHandle_t *image, dwCameraOutputType type, dwCameraFrameHandle_t frame)
Gets the output image/s image in a format specified by the output type.
DW_API_PUBLIC dwStatus dwSensorCamera_readFrame(dwCameraFrameHandle_t *frameHandle, dwTime_t timeout_us, dwSensorHandle_t sensor)
Reads a frame handle from the camera sensor.
dwCameraType
Enum of available camera sensors.
DW_API_PUBLIC dwStatus dwSensorCamera_getNumSupportedCaptureModes(uint32_t *numModes, dwSensorHandle_t sensor)
Gets number of supported capture modes.
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.
dwStatus
Status definition.
NVIDIA DriveWorks API: Sensors
other YUV processed outputs (see devguide)
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
for processed images RGBA image supported in all processed use cases
dwCameraFOV
Enum of available FOV in degrees for camera lenses.
DW_API_PUBLIC dwStatus dwSensorCamera_getImageProperties(dwImageProperties *imageProperties, dwCameraOutputType type, dwSensorHandle_t sensor)
Gets information about the image properties for a given 'dwCameraImageOutputType'.
Defines a two-element unsigned-integer vector.
simple yuv420 output, supported in most use cases (see doc)
Unknown exposure control.
struct dwCameraFrame * dwCameraFrameHandle_t
Handle to captured frame.
DW_API_PUBLIC dwStatus dwSensorCamera_getSensorProperties(dwCameraProperties *properties, dwSensorHandle_t sensor)
Gets information about the camera sensor.
dwCameraOutputType
Output types supported by the camera.
other YUV processed outputs (see devguide)
other YUV processed outputs (see devguide)
dwCameraExposureControl exposure
dwCameraRawFormat
Raw encoding formats pixel-order.
DW_API_PUBLIC dwStatus dwSensorCamera_getCUDAStream(cudaStream_t *stream, dwSensorHandle_t sensor)
Gets the CUDA stream used.
DW_API_PUBLIC dwStatus dwSensorCamera_getImage(dwImageHandle_t *image, dwCameraOutputType type, dwCameraFrameHandle_t frame)
Gets the output image/s image in a format specified by the output type.
processed images (usually be YUV420 planar or RGB planar)
Defines the properties of the image.
DW_API_PUBLIC dwStatus dwSensorCamera_getSupportedCaptureMode(dwCameraProperties *captureMode, uint32_t modeIdx, dwSensorHandle_t sensor)
Gets capture modes by specified index.
Exposure control with bracketed auto exposure.