- Welcome
- Getting Started With the NVIDIA DriveWorks SDK
- Modules
- Samples
- Tools
- Tutorials
- SDK Porting Guide
- DriveWorks API
- More
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 | dwCameraNotificationData |
NotificationData from SIPL. More... | |
struct | dwCameraProperties |
Camera Properties. More... | |
struct | dwCameraSIPLEErrorDetails |
Struct of the detailed error info from SIPL. More... | |
struct | dwCameraSIPLNotification |
Notification Data from SIPL. More... | |
Macros | |
#define | DW_CAMERA_MAX_CAMERAMODULES_PER_BLOCK 4U |
Indicates the maximum number of camera modules per device block. More... | |
#define | DW_CAMERA_MAX_DEVICE_GPIOS 8U |
Indicates the maximum number of gpio indices. More... | |
Typedefs | |
typedef void(* | dwCameraCallback) (dwCameraSIPLNotification *notification, dwSensorHandle_t sensor) |
Function type of the camera error event handling. More... | |
typedef struct dwCameraFrame * | dwCameraFrameHandle_t |
Handle to captured frame. More... | |
typedef void | NvMediaIPPManager |
Functions | |
DW_API_PUBLIC dwStatus | dwSensorCamera_appendAllocationAttributes (dwImageProperties *imgProps, dwCameraOutputType const outputType, dwSensorHandle_t const sensor) |
Append the allocation attribute such that images allocated by the application and given to the camera via dwSensorCamera_setImagePool() can be imported into the underlying driver. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_disableLink (dwSensorHandle_t const sensor) |
Disable the camera link This method should only be called after dwSensor_start() and before dwSensor_stop(). More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_enableLink (dwSensorHandle_t const sensor, bool const resetModule) |
Enable the camera link This method enables a given link and, if reset is asserted, reconfigures the camera module to reestablish the link. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_fillSyncAttributes (NvSciSyncAttrList syncAttrList, dwCameraOutputType outputType, dwSensorHandle_t sensor) |
Fill the sync attributes for the camera pipeline to signal EOF fences. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getCUDAStream (cudaStream_t *const stream, dwSensorHandle_t const sensor) |
Gets the CUDA stream used. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getEOFFence (NvSciSyncFence *syncFence, dwCameraOutputType outputType, dwCameraFrameHandle_t const frameHandle) |
Get EOF fence of the current camera frame. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getImage (dwImageHandle_t *const image, dwCameraOutputType const type, dwCameraFrameHandle_t const frame) |
Gets the output image/s image in a format specified by the output type. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getImageAsync (dwImageHandle_t *const image, dwCameraOutputType const type, dwCameraFrameHandle_t const frame) |
Gets the output image/s image in a format specified by the output type. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getImageProperties (dwImageProperties *const imageProperties, dwCameraOutputType const outputType, dwSensorHandle_t const sensor) |
Gets information about the image properties for a given 'dwCameraImageOutputType'. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getNumSupportedCaptureModes (uint32_t *const numModes, dwSensorHandle_t const sensor) |
Gets number of supported capture modes. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getNvMediaIPPManager (NvMediaIPPManager **const manager, dwSensorHandle_t const sensor) |
Gets the NvMediaIPPManager used for GMSL camera IPP setup and event callback. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getSensorProperties (dwCameraProperties *const properties, dwSensorHandle_t const sensor) |
Gets information about the camera sensor. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getSIPLInterfaceProvider (void **const interfaceProvider, dwSensorHandle_t const sensor, dwSIPLCameraInterfaceProviderType const type) |
Gets SIPL Interface provider for a custom camera sensor. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getSupportedCaptureMode (dwCameraProperties *const captureMode, uint32_t const modeIdx, dwSensorHandle_t const sensor) |
Gets capture modes by specified index. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_getTimestamp (dwTime_t *const timestamp, dwCameraFrameHandle_t const frameHandle) |
Gets the timestamp of the current camera frame. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_readEEPROM (uint32_t const paramId, void *const buffer, uint32_t const size, dwSensorHandle_t const sensor) |
Read data associated with a parameter stored on the EEPROM device and write to the provided buffer. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_readFrame (dwCameraFrameHandle_t *const frameHandle, dwTime_t const timeoutUs, dwSensorHandle_t const sensor) |
Reads a frame handle from the camera sensor. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_returnFrame (dwCameraFrameHandle_t *const frameHandle) |
Returns a frame to the camera after it has been consumed. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_setCUDAStream (cudaStream_t const stream, dwSensorHandle_t const sensor) |
Sets the CUDA stream used by getImageAsync during internal cuda related operations. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_setEventCallback (dwCameraCallback blkCallback, dwCameraCallback lineCallback, dwSensorHandle_t sensor) |
Set the Camera Error Handling callbacks. More... | |
dwStatus | dwSensorCamera_setImagePool (dwImagePool imagePool, dwSensorHandle_t const sensor) |
Sets a pool of image to be used as output by the camera layer. More... | |
DW_API_PUBLIC dwStatus | dwSensorCamera_setSyncObject (NvSciSyncObj syncObj, dwCameraOutputType outputType, dwSensorHandle_t sensor) |
Set the sync obj to which the camera pipeline will signal EOF fences. More... | |