|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
20 #ifndef DW_SENSORS_SENSORLIVE_CAMERA_CAMERASENSORPLUGIN_H
21 #define DW_SENSORS_SENSORLIVE_CAMERA_CAMERASENSORPLUGIN_H
36 #if __has_include("dw/sensors/camera/Camera.h")
37 #ifndef DW_SENSORS_CAMERA_CAMERA_H_
56 #ifndef DW_SENSORS_CAMERA_CAMERA_H_
205 uint32_t imageGroupCount,
366 #endif // DW_SENSORS_SENSORLIVE_CAMERA_CAMERASENSORPLUGIN_H
dwCameraSensorPlugin_init init
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.
dwCameraSensorPlugin_getIspOutputMemoryFormat getIspOutputMemoryFormat
dwStatus(* dwCameraSensorPlugin_setImagePool)(NvSciBufObj **ispImages, uint32_t *ispCounts, NvSciBufObj *imageGroup, uint32_t imageGroupCount, dwCameraImageType siplClientType, dwSensorPluginSensorHandle_t handle)
Sets the image pool for the camera.
@ DW_CAMERA_IMG_TYPE_ISP1
dwCameraSensorPlugin_isEOFSyncSet isEOFSyncSet
dwCameraSensorPlugin_getCameraInfo getCameraInfo
void * dwSensorPluginSensorHandle_t
Plugin handle. Used in plugin public interfaces.
dwImageFormat
Format of the image represented as DW_IMAGE_FORMAT_COLORSPACE(_PIXELTYPE)(_PIXELORDER)
dwSensorCameraPlugin_getErrorSignal getErrorSignal
const dwSensorHandle_t sensor
dwCameraSensorPlugin_getSensorIndex getSensorIndex
struct dwCameraSensorPluginFunction dwCameraSensorPluginFunction
Function Table exposing camera sensor plugin functions.
SENSOR_PLUGIN_COMMON_FUNCTIONS
dwCameraSensorPlugin_bootstrap bootstrap
struct NvSciBufObjRefRec * NvSciBufObj
A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the bu...
void * dwCodecHeaderPluginHandle_t
CodecHeader plugin handle.
dwStatus(* dwCameraSensorPlugin_getIsReplayInfo)(bool *isReplay, dwSensorPluginSensorHandle_t handle)
Gets the is replay info for the camera sensor.
@ DW_CAMERA_IMG_TYPE_UNSUPPORTED
dwCameraSensorPlugin_getNvSciImageAttr getNvSciImageAttr
dwCameraSensorPlugin_getIspOutputImageFormat getIspOutputImageFormat
dwStatus(* dwSensorCameraPlugin_initializePipeline)(dwSensorPluginSensorHandle_t sensorHandle)
Initialize a pipeline for the camera sensor.
dwSensorCameraPlugin_initializeHandleEx initializeHandleEx
dwImageProperties(* dwSensorCameraPlugin_getImageProperties)(uint32_t type, dwSensorPluginSensorHandle_t sensorHandle)
Get the image properties for the camera sensor.
bool(* dwCameraSensorPlugin_isEOFSyncSet)(dwCameraImageType clientType, dwSensorPluginSensorHandle_t handle)
Checks if the EOF sync is set for the camera sensor.
dwStatus(* dwCameraSensorPlugin_getNvSciImageAttr)(uint8_t outputType, NvSciBufAttrList *nvSciImageAttr, dwSensorPluginSensorHandle_t handle)
Gets the NvSci attributes for the camera sensor.
dwSensorCameraPlugin_readFrame readFrame
dwSensorCameraPlugin_setSensorErrorCallback setSensorErrorCallback
dwCameraSensorPlugin_getAvailableOutputFormats getAvailableOutputFormats
dwStatus(* dwCameraSensorPlugin_init)(bool asyncInit, dwSensorPluginSensorHandle_t handle)
Initialize the camera sensor.
dwStatus(* dwSensorCameraPlugin_readFrame)(void **rawBuffers, uint32_t numBuffers, dwTime_t const timeoutUs, dwSensorPluginSensorHandle_t sensor)
Handle to captured frame.
dwStatus(* dwCameraSensorPlugin_bootstrap)(dwSensorPluginSensorHandle_t handle)
Bootstraps the camera sensor.
dwSensorCameraPlugin_setEventCallback setEventCallback
dwImageMemoryType
Specifies memory type layout.
dwStatus(* dwSensorCameraPlugin_initializeHandleEx)(dwSensorPluginSensorHandle_t *handle, char const *params, dwCodecHeaderPluginHandle_t codecHeader, dwContextHandle_t ctx)
Initialize the handle for the camera sensor.
dwCameraSensorPlugin_setImagePool setImagePool
const typedef dwImageMemoryType *(* dwCameraSensorPlugin_getIspOutputMemoryFormat)(dwSensorPluginSensorHandle_t handle)
Gets the ISP output memory format for the camera sensor.
void(* dwCameraCallback)(dwCameraSIPLNotification *notification, dwSensorHandle_t sensor)
dwStatus
Status definition.
typedef void(WFD_APIENTRY PFNWFDBINDSOURCETOPIPELINEWITHTIMESTAMPNV)(const WFDDevice device
struct NvSciBufAttrListRec * NvSciBufAttrList
A container constituting an attribute list which contains.
dwStatus(* dwCameraSensorPlugin_getAvailableOutputFormats)(uint32_t *availableOutputFormats, dwSensorPluginSensorHandle_t handle)
Gets the available output formats for the camera sensor.
@ DW_CAMERA_IMG_TYPE_NUM_VALID_TYPES
dwErrorSignal(* dwSensorCameraPlugin_getErrorSignal)(dwSensorPluginSensorHandle_t sensorHandle)
Get the error signal for the camera sensor.
dwSensorCameraPlugin_getImageProperties getImageProperties
@ DW_CAMERA_IMG_TYPE_ISP2
struct dwContextObject * dwContextHandle_t
Context handle.
struct dwErrorSignal dwErrorSignal
Basic error signal that gets reported only when there is an error.
dwCameraSensorPlugin_getCodecHeader getCodecHeader
NVIDIA Software Communications Interface (SCI) : NvSciBuf
dwStatus(* dwSensorCameraPlugin_returnFrame)(void **outBuffer, uint32_t const numBuffers, dwSensorPluginSensorHandle_t sensorHandle)
Return a frame buffer to the camera sensor.
Notification Data from SIPL.
dwStatus(* dwSensorCameraPlugin_clearErrorSignal)(dwSensorPluginSensorHandle_t sensorHandle)
Clear the error signal for the camera sensor.
dwStatus(* dwCameraSensorPlugin_getSensorIndex)(uint32_t *sensorIndex, dwSensorPluginSensorHandle_t handle)
Gets the sensor index for the camera sensor.
dwCameraSensorPlugin_manageImageLock manageImageLock
struct dwImageProperties dwImageProperties
Defines the properties of the image.
const WFDCommitType const WFDHandle handle
dwSensorCameraPlugin_returnFrame returnFrame
dwCameraSensorPlugin_getIsReplayInfo getIsReplayInfo
dwStatus(* dwCameraSensorPlugin_getCameraInfo)(void const **cameraInfo, dwSensorPluginSensorHandle_t handle)
Gets the camera information for the specified camera output type.
const typedef dwImageFormat *(* dwCameraSensorPlugin_getIspOutputImageFormat)(dwSensorPluginSensorHandle_t handle)
Gets the ISP output image format for the camera sensor.
void(* dwCameraPluginCallback)(dwCameraSIPLNotification *notification, uint32_t sensorId)
dwStatus(* dwCameraSensorPlugin_manageImageLock)(NvSciBufObj imageSciBufObj, bool lock, dwSensorPluginSensorHandle_t handle)
Manages the image lock for the camera sensor.
Function Table exposing camera sensor plugin functions.
dwSensorCameraPlugin_initializePipeline initializePipeline
dwCameraImageType
Enum of available camera image types.
dwSensorCameraPlugin_clearErrorSignal clearErrorSignal
dwStatus(* dwSensorCameraPlugin_setSensorErrorCallback)(dwCameraPluginCallback callback, dwSensorPluginSensorHandle_t sensorHandle)
Set the sensor error callback for the camera sensor.
dwStatus(* dwSensorCameraPlugin_setEventCallback)(dwCameraCallback blkCallback, dwCameraCallback lineCallback, dwSensorPluginSensorHandle_t sensorHandle)
Set the event callback for the camera sensor.
dwStatus(* dwCameraSensorPlugin_getCodecHeader)(dwCodecHeaderHandle_t *codecHeader, dwSensorPluginSensorHandle_t handle)
Gets the codec header for the camera sensor.