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 | dwCameraISPBadPixelStats |
| struct | dwCameraISPEllipse |
| Defines Ellipse Properties for Override Histogram Statistics. More... | |
| struct | dwCameraISPHistogramStatsOverride |
| SIPL ISP Histogram Statistics Override Params. More... | |
| struct | dwCameraISPLocalAvgClipStats |
| struct | dwCameraISPStatisticsWindows |
| struct | dwCameraIspStatsOverrideSetting |
| ISP Override Statistics Settings. More... | |
| 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_ERROR_ID_MAX DW_NOTIF_ERROR_INTERNAL_FAILURE |
| maximal error id reported by the camera module via module health service More... | |
| #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... | |
| #define | DW_CAMERA_NUM_ISP_UNITS 2U |
| Number of available ISP Units. 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_addPreFenceArray (NvSciSyncFence *syncFences, uint32_t count, dwCameraOutputType outputType, dwCameraFrameHandle_t const frameHandle) |
| Set array of prefences and a type of dwCameraOutputType so that camera waits on those fences before the use of that output. More... | |
| DW_API_PUBLIC dwStatus | dwSensorCamera_appendAllocationAttributes (dwImageProperties *const 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 restablish 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_fillSyncAttributesNew (NvSciSyncAttrList syncAttrList, dwSyncType syncType, 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 according to the type of dwCameraOutputType. 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_getImageTimestamps (dwImageTimestamps *const imageTimestamps, dwCameraFrameHandle_t const frameHandle) |
| Gets the timestamps of the current camera frame. 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 Cuda stream is a bunch of asynchronous Cuda operations executed on the device in the order that the host code calls. More... | |
| DW_API_PUBLIC dwStatus | dwSensorCamera_setEventCallback (dwCameraCallback blkCallback, dwCameraCallback lineCallback, dwSensorHandle_t sensor) |
| Set the Camera Error Handling callbacks. More... | |
| DW_API_PUBLIC dwStatus | dwSensorCamera_setImageMetaDataStats (dwCameraIspStatsOverrideSetting const *overrideISPStats, dwSensorHandle_t sensor) |
| Overrides ISP statistics (Histogram, Local Average Clip and bad pixel) settings. More... | |
| DW_API_PUBLIC 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... | |
| DW_API_PUBLIC dwStatus | dwSensorCamera_setSyncObjectNew (NvSciSyncObj syncObj, dwSyncType syncType, dwCameraOutputType outputType, dwSensorHandle_t sensor) |
| Set the sync obj to which the camera pipeline will signal EOF fences. More... | |