|
|
NVIDIA DriveOS Linux SDK API Reference
|
7.2.5.0 Early Access Release
|
Go to the documentation of this file.
66 #ifndef DW_SENSORS_CAMERA_CAMERA_H_
67 #define DW_SENSORS_CAMERA_CAMERA_H_
85 #define DW_CAMERA_NUM_ISP_UNITS 2U
442 #define DW_CAMERA_ERROR_ID_MAX DW_NOTIF_ERROR_INTERNAL_FAILURE
445 #define DW_CAMERA_MAX_DEVICE_GPIOS 8U
477 #define DW_CAMERA_MAX_CAMERAMODULES_PER_BLOCK 4U
845 DW_DEPRECATED(
"dwSensorCamera_setImagePool() is deprecated and will be removed in the next major release,"
846 " use dwSensorCamera_setImagePoolNew() instead")
970 uint32_t
const modeIdx,
1001 #ifndef DW_IS_SAFETY
1347 #ifndef DW_IS_SAFETY
1466 #endif // DW_SENSORS_CAMERA_CAMERA_H_
dwCameraRawFormat
Raw encoding formats pixel-order.
@ DW_NOTIF_INIT_ERROR_CAMERA_INCORRECT_IMPEDANCE
Init error, camera incorrect impedance.
@ DW_CAMERA_RAW_FORMAT_RCCB
Format:RCCB.
@ DW_NOTIF_ERROR_SUPPLY_VOLTAGE_LOW
Camera supply voltage low.
struct dwCameraISPEllipse dwCameraISPEllipse
Defines Ellipse Properties for Override Histogram Statistics.
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.
dwVector2f center
Holds center of the ellipse.
uint32_t siblings
Number of sibling frames.
@ DW_CAMERA_USB_KINECT
USB Kinect camera.
@ DW_NOTIF_INIT_ERROR_CAMERA_UNDER_VOLTAGE
Init error, camera under voltage.
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 t...
struct dwSensorObject * dwSensorHandle_t
Handle representing a sensor.
bool enable
Holds a Boolean to enable the bad pixel statistics block.
uint64_t frameSeqNumber
Holds a sequence number of a captured frame.
@ DW_NOTIF_INIT_ERROR_DESER_START_FAILURE
Init error, deserializer start failure.
bool disableLensShadingCorrection
boolean flag to disable lens shading compensation for histogram statistics block
@ DW_NOTIF_ERROR_INTR_LOCALIZATION_TIMEOUT
Pipeline event, indicates intrinsic localization timeout.
@ DW_CAMERA_FOV_55
FOV for camera lenses is 55 degrees.
DW_API_PUBLIC dwStatus dwSensorCamera_setImagePoolNew(dwImagePool imagePool, dwCameraOutputType const type, dwSensorHandle_t const sensor)
Sets a pool of image to be used as output by the camera layer.
dwCameraSIPLEErrorDetails deserializerErrorInfo
Error info for deserializer, valid only for device block event.
@ DW_NOTIF_ERROR_CDN_PHASELOCKLOOP
CDN phase lock loop error.
@ DW_CAMERA_ISP2
Supports RGB FP16.
@ DW_NOTIF_ERROR_SAL_INTERNAL
SAL internal error.
@ DW_CAMERA_EXPOSURE_AE
Default exposure control.
@ DW_CAMERA_EVENT_WARN_ICP_FRAME_DISCONTINUITY
Pipeline event, indicates a discontinuity was detected in parsed embedded data frame sequence number.
@ DW_NOTIF_INIT_ERROR_CAMERA_START_FAILURE
Init error, camera start failure.
@ DW_CAMERA_FOV_65
FOV for camera lenses is 65 degrees.
@ DW_CAMERA_IMG_TYPE_ISP
Attaches to NvSIPL ISP0 output (Image Signal Processing) where it treats images processed via ISP.
@ DW_CAMERA_EVENT_ERROR_ICP_BAD_INPUT_STREAM
Pipeline event, indicates ICP bad input stream.
SIPL ISP Local Average and Clip Statistics configuration parameters.
@ DW_CAMERA_IMG_TYPE_ISP1
Attaches to NvSIPL ISP1 output (Image Signal Processing) where it treats images processed via ISP1.
@ DW_CAMERA_FOV_50
FOV for camera lenses is 50 degrees.
dwCameraISPBadPixelStats bpStats
Structure containing override settings for bad pixel statistics block.
DW_API_PUBLIC dwStatus dwSensorCamera_disableLink(dwSensorHandle_t const sensor)
Disable the camera link.
@ DW_CAMERA_RAW_FORMAT_TOF
Format:TOF.
@ DW_CAMERA_OUTPUT_NATIVE_PROCESSED
processed images (usually be YUV420 planar or RGB planar)
DW_API_PUBLIC dwStatus dwSensorCamera_getCUDAStream(cudaStream_t *const stream, dwSensorHandle_t const sensor)
Gets the CUDA stream used.
@ DW_CAMERA_FOV_UNKNOWN
FOV for camera lenses is not supported.
@ DW_NOTIF_WARN_ICP_FRAME_DISCONTINUITY
Pipeline event, indicates a discontinuity was detected in parsed embedded data frame sequence number.
@ DW_NOTIF_INIT_ERROR_CBA_FAILURE
Init error, CBA failure (recoverable, fallback to unicast)
bool isRemoteError
Set to true if remote (serializer) error detected, valid only for device block event.
void(* dwCameraCallback)(dwCameraSIPLNotification *notification, dwSensorHandle_t sensor)
Function type of the camera error event handling.
@ DW_CAMERA_FOV_30
FOV for camera lenses is 30 degrees.
dwCameraEvent
defines camera events exposed by dwCamera
uint32_t gpioIdxs[DW_CAMERA_MAX_DEVICE_GPIOS]
Holds the GPIO indices.
const dwSensorHandle_t sensor
@ DW_NOTIF_INIT_ERROR_CAMERA_AUTH_FAILURE
Init error, camera authentication failure.
@ DW_NOTIF_INFO_ACP_PROCESSING_DONE
Pipeline event, indicates auto control processing is finished.
DW_DEPRECATED("dwSensorCamera_setImagePool() is deprecated and will be removed in the next major release," " use dwSensorCamera_setImagePoolNew() instead") DW_API_PUBLIC dwStatus dwSensorCamera_setImagePool(dwImagePool imagePool
Sets a pool of image to be used as output by the camera layer.
dwCameraISPLocalAvgClipStats lacStats[DW_CAMERA_NUM_ISP_UNITS]
Structure containing override settings for local average clip statistics block.
@ DW_NOTIF_ERROR_ISP_PROCESSING_FAILURE
Pipeline event, indicates ISP processing failure.
Defines a two-element unsigned-integer vector.
dwCameraRawFormat rawFormat
Raw bayer pattern.
uint32_t horizontalInterval
Holds the distance between the left edge of one window and a horizontally adjacent window.
uint32_t numWindowsV
Holds number of windows vertically.
@ DW_CAMERA_RAW_FORMAT_CCRC
Format:CCRC.
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...
Defines Ellipse Properties for Override Histogram Statistics.
struct dwCameraIspStatsOverrideSetting dwCameraIspStatsOverrideSetting
ISP Override Statistics Settings.
dwRect rectangularMask
Holds a rectangular mask for excluding pixels outside a specified area.
dwCameraType
Enum of available camera sensors.
@ DW_CAMERA_OUTPUT_NATIVE_RAW
raw image
@ DW_CAMERA_GENERIC
Generic video source, e.g.
@ DW_CAMERA_GMSL_AR0231
GMSL AR0231 camera (rev-7)
uint32_t numGpioIdxs
Holds the number of GPIO indices in the array.
@ DW_NOTIF_ERROR_CDI_SET_SENSOR_CTRL_FAILURE
Pipeline event, indicates CDI set sensor control failure.
@ DW_CAMERA_FOV_110
FOV for camera lenses is 110 degrees.
dwCameraOutputType
Output types supported by the camera.
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
const WFDPipeline const WFDSource const WFDTransition const WFDRect *const const WFDuint64 timestamp
dwCameraSIPLNotificationData
Enum of available SIPL event notification type (Copy from nvsipl::NvSIPLPipelineNotifier::Notificatio...
@ DW_NOTIF_INIT_ERROR_CAMERA_POST_START_FAILURE
Init error, camera post-start failure.
@ DW_CAMERA_IMG_TYPE_ICP
Attaches to NvSIPL ICP output (Input Capture Processing) where it treats direct camera driver capture...
enum dwCameraSIPLInterfaceProviderType dwSIPLCameraInterfaceProviderType
Enum of available SIPL interface provider types.
@ DW_CAMERA_EVENT_ERROR_CDI_SET_SENSOR_CTRL_FAILURE
Pipeline event, indicates CDI set sensor control failure.
uint32_t revision
Revision of the camera (0 if info is not available)
dwCameraSIPLEErrorDetails serializerErrorInfoList[DW_CAMERA_MAX_CAMERAMODULES_PER_BLOCK]
Error info for serializer, valid only for device block event.
@ DW_NOTIF_INIT_ERROR_CAMERA_INIT_FAILURE
Init error, camera initialization failure.
@ DW_CAMERA_FOV_60
FOV for camera lenses is 60 degrees.
@ DW_NOTIF_INIT_ERROR_DESER_POWER_FAILURE
Init error, deserializer power failure.
@ DW_CAMERA_IMG_TYPE_UNSUPPORTED
Unsupported camera image type.
NVIDIA Software Communications Interface (SCI) : NvSciSync
@ DW_CAMERA_ISP_UNKNOWN
Unknown ISP type, used for raw image paths.
dwCameraISPEllipse ellipticalMask
Holds an elliptical mask for excluding pixels outside specified area.
@ DW_NOTIF_ERROR_SENSOR_FAILURE
Device block event, indicates a sensor failure.
uint32_t height
Holds height of the window in pixels.
Defines a two-element integer vector.
struct dwCameraNotificationData dwCameraNotificationData
NotificationData from SIPL.
dwCameraSIPLNotificationData eNotifyType
Holds the notification event type.
float32_t angle
Holds angle of the ellipse horizontal.
#define DW_ISP_MAX_COLOR_COMPONENT
Maximum number of ISP color components.
float32_t offset
Holds offset to be applied to input data prior to bin mapping.
SIPL ISP Statistics Window configuration parameters.
@ DW_CAMERA_FOV_185
FOV for camera lenses is 185 degrees.
@ DW_CAMERA_EVENT_ERROR_DESER_LINK_FAILURE
Device block event, indicates a deserializer link error. Deprecated in the future.
@ DW_CAMERA_RAW_FORMAT_CCCC
Format:CCCC.
DW_API_PUBLIC dwStatus dwSensorCamera_getSensorProperties(dwCameraProperties *const properties, dwSensorHandle_t const sensor)
Gets information about the camera sensor.
bool enableLacStatsOverride[DW_CAMERA_NUM_ISP_UNITS]
boolean flag to enable local average clip statistics settings override
struct dwCameraProperties dwCameraProperties
Camera Properties.
bool enableHistStatsOverride[DW_CAMERA_NUM_ISP_UNITS]
boolean flag to enable histogram statistics settings override
dwSyncType
Enum representing a sync type.
@ DW_CAMERA_EVENT_ERROR_ICP_EMB_DATA_PARSE_FAILURE
Pipeline event, indicates embedded data parsing failure.
DW_API_PUBLIC dwStatus dwSensorCamera_setImageMetaDataStats(dwCameraIspStatsOverrideSetting const *overrideISPStats, dwSensorHandle_t sensor)
Overrides ISP statistics (Histogram, Local Average Clip and bad pixel) settings.
float32_t framerate
Framerate in Hz.
@ DW_CAMERA_RAW_FORMAT_KINECT
Format:KINECT.
@ DW_CAMERA_ISP0
Supports YUV420 planar or RGB planar.
DW_API_PUBLIC dwStatus dwSensorCamera_getNumSupportedCaptureModes(uint32_t *const numModes, dwSensorHandle_t const sensor)
Gets number of supported capture modes.
@ DW_NOTIF_INFO_ICP_PROCESSING_DONE
Pipeline event, indicates ICP processing is finished.
@ DW_CAMERA_RAW_FORMAT_BCCR
Format:BCCR.
dwCameraExposureControl
Enum of exposure control types.
DW_API_PUBLIC dwStatus dwSensorCamera_setHeaterState(dwSensorHandle_t const sensor, bool const state)
Turns camera heater on or off.
@ DW_CAMERA_GMSL_AR0144
GMSL AR0144 camera.
@ DW_CAMERA_RAW_FORMAT_BGGI_RGGI
Format:BGGI_RGGI.
@ DW_NOTIF_ERROR_ICP_EMB_DATA_PARSE_FAILURE
Pipeline event, indicates embedded data parsing failure.
@ DW_NOTIF_ERROR_DESERIALIZER_FAILURE
Device block event, indicates a deserializer failure.
@ DW_CAMERA_RAW_FORMAT_CRCC
Format:CRCC.
@ DW_CAMERA_GMSL_AR0220
GMSL AR0220 camera.
dwCameraSIPLEErrorDetails sensorErrorInfoList[DW_CAMERA_MAX_CAMERAMODULES_PER_BLOCK]
Error info for sensor, valid only for device block event.
@ DW_CAMERA_OUTPUT_NATIVE_PROCESSED2
processed images from ISP2 output (RGB-FP16)
@ DW_CAMERA_EVENT_ERROR_INTERNAL_FAILURE
Pipeline and device block event, indicates an unexpected internal failure.
@ DW_CAMERA_RAW_FORMAT_CRBC
Format:CRBC.
@ DW_NOTIF_INIT_ERROR_CAMERA_OVER_CURRENT
Init error, camera over current (short to ground)
DW_API_PUBLIC dwStatus dwSensorCamera_setEventCallback(dwCameraCallback blkCallback, dwCameraCallback lineCallback, dwSensorHandle_t sensor)
Set the Camera Error Handling callbacks.
@ DW_CAMERA_EVENT_ERROR_SERIALIZER_FAILURE
Device block event, indicates a serializer failure.
@ DW_NOTIF_ERROR_ACP_PROCESSING_FAILURE
Pipeline event, indicates auto control processing failure.
DW_API_PUBLIC dwStatus dwSensorCamera_lockImage(dwImageHandle_t image, dwSensorHandle_t const sensor)
Locks an image from the camera sensor for processing to add reference to the image.
@ DW_CAMERA_FOV_100
FOV for camera lenses is 100 degrees.
@ DW_CAMERA_FOV_120
FOV for camera lenses is 120 degrees.
@ DW_CAMERA_OUTPUT_CUDA_YUV444_UINT8_PLANAR
other YUV processed outputs (see devguide)
@ DW_CAMERA_EVENT_WARN_ICP_CAPTURE_TIMEOUT
Pipeline event, indicates occurrence of timeout while capturing.
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.
@ DW_NOTIF_INIT_ERROR_DESER_EN_LINK_FAILURE
Init error, deserializer enable link failure.
@ DW_NOTIF_ERROR_ICP_BAD_INPUT_STREAM
Pipeline event, indicates ICP bad input stream.
@ DW_IMG_MEM_TYPE_BLOCK
block memory layout
@ DW_NOTIF_INFO_ISP_PROCESSING_DONE
Pipeline event, indicates ISP processing is finished.
@ DW_NOTIF_INIT_ERROR_DESER_INIT_FAILURE
Init error, deserializer initialization failure.
@ DW_CAMERA_EVENT_ERROR_ISP_PROCESSING_FAILURE
Pipeline event, indicates ISP processing failure.
uint32_t uIndex
Holds the ID of each camera sensor.
@ DW_NOTIF_ERROR_ICP_AUTH_FAILURE
Indicates image authentication failure.
@ DW_CAMERA_GMSL_CUSTOM
GMSL custom camera defined using NvSIPL.
uint8_t uLinkMask
Holds the device block link mask.
@ DW_NOTIF_ERROR_INTR_LOCALIZATION_FAILURE
Pipeline event, indicates intrinsic localization failure.
@ DW_NOTIF_INIT_ERROR_CAMERA_POWER_FAILURE
Init error, camera power failure.
@ DW_NOTIF_INIT_ERROR_DESER_CHECK_LINK_LOCK_FAILURE
Init error, deserializer check link lock failure.
DW_API_PUBLIC dwStatus dwSensorCamera_getTimestamp(dwTime_t *const timestamp, dwCameraFrameHandle_t const frameHandle)
Gets the timestamp of the current camera frame.
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.
@ DW_CAMERA_RAW_FORMAT_KINECT_DEPTH
Format:KINECT_DEPTH.
@ DW_CAMERA_OUTPUT_CUDA_YUV420_UINT8_SEMIPLANAR
simple yuv420 semiplanar output, supported in most use cases (see doc)
DW_API_PUBLIC dwStatus dwSensorCamera_returnFrame(dwCameraFrameHandle_t *const frameHandle)
Returns a frame to the camera after it has been consumed.
int32_t outputTypes
Output types referring list of available 'dwCameraOutputType'.
uint32_t width
Holds width of the window in pixels.
SIPL ISP Histogram Statistics Override Params.
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.
@ DW_NOTIF_INIT_ERROR_CAMERA_CIRCUIT_OPEN_DISCONNECTION
Init error, camera circuit open/disconnection.
uint64_t frameCaptureTSC
Holds the TSC timestamp of the frame capture.
dwStatus
Status definition.
@ DW_SIPL_CAMERA_INTERFACE_PROVIDER_TYPE_MODULE
Provider type: Module.
@ DW_CAMERA_EXPOSURE_UNKNOWN
Unknown exposure control.
Struct of the detailed error info from SIPL.
dwCameraExposureControl exposure
Exposure control.
#define DW_CAMERA_NUM_ISP_UNITS
Number of available ISP Units.
uint32_t numCameraModules
Number of the camera modules, valid only for device block event.
@ DW_CAMERA_GMSL_MN34906
GMSL MN34906 camera.
SIPL ISP Bad Pixel Statistics configuration parameters.
@ DW_NOTIF_INFO_ICP_AUTH_SUCCESS
Pipeline event, indicates image authentication success.
uint32_t verticalInterval
Holds the distance between the top edge of one window and a vertically adjacent window.
dwCameraSIPLInterfaceProviderType
Enum of available SIPL interface provider types.
@ DW_CAMERA_OUTPUT_CUDA_YUV420_UINT8_PLANAR
simple yuv420 output, supported in most use cases (see doc)
typedef void(WFD_APIENTRY PFNWFDBINDSOURCETOPIPELINEWITHTIMESTAMPNV)(const WFDDevice device
DW_API_PUBLIC dwStatus dwSensorCamera_init(dwSensorHandle_t const sensor, bool const asyncInit)
Initialize the camera sensor's underlying SIPL master.
bool enable
Holds a Boolean to enable histogram statistics Control block.
@ DW_NOTIF_INIT_ERROR_CAMERA_OVER_VOLTAGE
Init error, camera over voltage (short to battery)
DW_API_PUBLIC dwStatus dwSensorCamera_enableLink(dwSensorHandle_t const sensor, bool const resetModule)
Enable the camera link.
@ DW_CAMERA_RAW_FORMAT_CCCR
Format:CCCR.
@ DW_CAMERA_RAW_FORMAT_CBRC
Format:CBRC.
@ DW_NOTIF_INIT_ERROR_CAMERA_POST_INIT_FAILURE
Init error, camera post-init failure.
struct dwCameraFrame * dwCameraFrameHandle_t
Handle to captured frame.
@ DW_CAMERA_GMSL_AR0138
GMSL AR0138 camera.
@ DW_CAMERA_RAW_FORMAT_GRBG
Format:GRBG.
dwVector2ui resolution
Physical resolution of the camera sensor.
@ DW_NOTIF_ERROR_INCORRECT_MODULE
EEPROM module name mismatch.
struct dwImageObject * dwImageHandle_t
Handle to an image object.
size_t sizeWritten
Holds size of error written to the buffer, filled by driver.
Defines the properties of the image.
@ DW_CAMERA_IMG_TYPE_NUM_VALID_TYPES
Number of valid camera image types.
DW_API_PUBLIC dwStatus dwSensorCamera_unlockImage(dwImageHandle_t image, dwSensorHandle_t const sensor)
Unlocks a previously locked image from a camera sensor.
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.
@ DW_NOTIF_ERROR_INTERNAL_FAILURE
Pipeline and device block event, indicates an unexpected internal failure.
uint32_t horizontalAxis
Holds horizontal axis of the ellipse.
DW_API_PUBLIC dwStatus dwSensorCamera_setImageAttributes(dwImageProperties *const imageProperties, dwCameraOutputType const outputType, dwSensorHandle_t const sensor)
Overrides the properties of the images in the internal pool.
@ DW_CAMERA_IMG_TYPE_ISP2
Attaches to NvSIPL ISP2 output (Image Signal Processing) where it treats images processed via ISP2.
@ DW_CAMERA_EVENT_ERROR_ACP_PROCESSING_FAILURE
Pipeline event, indicates auto control processing failure.
@ DW_CAMERA_EVENT_ERROR_FRAME_OVERRUN
SAL event to signal frame overrun.
uint32_t verticalAxis
Holds vertical axis of the ellipse.
Defines the opaque NvSciSyncFence.
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'.
@ DW_CAMERA_EVENT_ERROR_FRAME_COUNTER
SAL event to signal frame sequence counter error.
@ DW_IMG_MEM_TYPE_DEFAULT
the default memory layout for a given image type, can be either pitch or block
dwVector2i startOffset
Holds the position of the top left pixel in the top left window.
@ DW_NOTIF_WARN_ICP_FRAME_DROP
Pipeline event, indicates pipeline was forced to drop a frame due to a slow consumer or system issues...
@ DW_NOTIF_ERROR_ISP_PROCESSING_FAILURE_RECOVERABLE
Pipeline event, indicates recoverable ISP processing failure.
@ DW_SIPL_CAMERA_INTERFACE_PROVIDER_TYPE_COUNT
Provider type: Count.
NVIDIA Software Communications Interface (SCI) : NvSciBuf
uint32_t imageBitDepth
Bit depth of image.
@ DW_CAMERA_RAW_FORMAT_KINECT_IR
Format:KINECT_IR.
@ DW_CAMERA_EVENT_ERROR_DESERIALIZER_FAILURE
Device block event, indicates a deserializer failure.
@ DW_CAMERA_EVENT_ERROR_ICP_CAPTURE_FAILURE
Pipeline event, indicates ICP capture failure.
dwCameraNotificationData data
NotificationData from SIPL, pipeline & device block event.
Notification Data from SIPL.
uint8_t const * errorBuffer
Pointer to buffer which is filled by driver with error information.
NotificationData from SIPL.
dwRect rectangularMask
Holds rectangular mask for excluding pixel outside a specified area.
bool enable
Holds a Boolean to enable the local average and clip statistics block.
@ DW_CAMERA_OUTPUT_UNSUPPORTED
UNSUPPORTED CAMERA OUTPUT TYPE.
@ DW_NOTIF_ERROR_CDN_DESERIALIZER_VIDSEQ
CDN deserializer video sequence error.
@ DW_CAMERA_RAW_FORMAT_RCCC
Format:RCCC.
@ DW_CAMERA_RAW_FORMAT_GBRG
Format:GBRG.
@ DW_CAMERA_FOV_90
FOV for camera lenses is 90 degrees.
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.
Specifies a pool of images.
@ DW_NOTIF_INIT_ERROR_CAMERA_LINE_TO_LINE_FAULT
Init error, camera line to line fault.
uint8_t knees[8]
Holds bin index specifying different zones in the histogram.
@ DW_CAMERA_EXPOSURE_CUSTOM
Exposure control using user's custom callback.
@ DW_CAMERA_RAW_FORMAT_BGGR
Format:BGGR.
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.
dwCameraISPType
ISP types supported by the camera.
@ DW_SIPL_CAMERA_INTERFACE_PROVIDER_TYPE_DESERIALIZER
Provider type: Deserializer.
@ DW_NOTIF_INIT_ERROR_CAMERA_THERMAL_SHUTDOWN
Init error, camera thermal shutdown.
@ DW_CAMERA_OUTPUT_CUDA_RGBA_UINT8
for processed images RGBA image supported in all processed use cases
@ DW_CAMERA_OUTPUT_CUDA_YUV420_UINT16_SEMIPLANAR
other YUV processed outputs (see devguide)
@ DW_CAMERA_GMSL_IMX390
GMSL IMX390 camera.
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.
uint8_t linkErrorMask
Store link mask for link error state, valid only for device block event (1 in index position indicate...
struct dwCameraISPHistogramStatsOverride dwCameraISPHistogramStatsOverride
SIPL ISP Histogram Statistics Override Params.
bool enableBpStatsOverride
boolean flag to enable bad pixel statistics settings override
@ DW_NOTIF_ERROR_DESER_LINK_FAILURE
Device block event, indicates a deserializer link error. Deprecated in the future.
@ DW_CAMERA_GMSL_AR0820
GMSL AR0820 camera.
@ DW_CAMERA_RAW_FORMAT_UNKNOWN
Format unsopported.
@ DW_CAMERA_MAX_ISP_COUNT
Maximum number of ISP outputs.
void NvMediaIPPManager
Forward declares from NvMedia.
@ DW_CAMERA_GMSL_OV2311
GMSL OV2311 camera.
void(* dwCameraPluginCallback)(dwCameraSIPLNotification *notification, uint32_t sensorId)
Function type of the camera error event handling.
@ DW_CAMERA_USB_GENERIC
Generic USB camera.
@ DW_NOTIF_ERROR_SERIALIZER_FAILURE
Device block event, indicates a serializer failure.
#define DW_CAMERA_MAX_CAMERAMODULES_PER_BLOCK
Indicates the maximum number of camera modules per device block.
dwCameraISPEllipse ellipticalMask
Holds an elliptical mask for excluding pixels outside a specified area.
ISP Override Statistics Settings.
@ DW_CAMERA_EVENT_ERROR_SENSOR_FAILURE
Device block event, indicates a sensor failure.
DW_API_PUBLIC dwStatus dwSensorCamera_getImageTimestamps(dwImageTimestamps *const imageTimestamps, dwCameraFrameHandle_t const frameHandle)
Gets the timestamps of the current camera frame.
@ DW_CAMERA_EXPOSURE_NONE
No exposure control.
bool isSimulated
Camera is being simulated.
struct dwCameraSIPLEErrorDetails dwCameraSIPLEErrorDetails
Struct of the detailed error info from SIPL.
@ DW_CAMERA_OUTPUT_NATIVE_PROCESSED1
processed images from ISP1 output (usually be YUV420 planar or RGB planar)
@ DW_NOTIF_ERROR_SUPPLY_VOLTAGE_HIGH
Camera supply voltage high.
bool ellipticalMaskEnable
Holds a Boolean to enable an elliptical mask for excluding pixels outside a specified area.
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
uint8_t ranges[8]
Holds range of the pixel values to be considered for each zone.
@ DW_CAMERA_ISP1
Similar to ISP0.
dwImgMemType
Enum of available memory types.
dwCameraImageType
Enum of available camera image types.
DW_API_PUBLIC dwStatus dwSensorCamera_getSupportedCaptureMode(dwCameraProperties *const captureMode, uint32_t const modeIdx, dwSensorHandle_t const sensor)
Gets capture modes by specified index.
@ DW_CAMERA_OUTPUT_CUDA_RAW_UINT16
for raw images
@ DW_NOTIF_INIT_ERROR_CAMERA_EN_LINK_DETECT_FAILURE
Init error, camera enable link detect failure.
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 b...
@ DW_IMG_MEM_TYPE_PITCH
pitch linear memory layout
DW_API_PUBLIC dwStatus dwSensorCamera_cameraModulePowerOff(dwSensorHandle_t const sensor)
Power off a camera module.
@ DW_NOTIF_INFO_CDI_PROCESSING_DONE
Pipeline event, indicates CDI processing is finished.
#define DW_CAMERA_MAX_DEVICE_GPIOS
Indicates the maximum number of gpio indices.
@ DW_NOTIF_ERROR_ICP_AUTH_OUT_OF_ORDER
Indicates out of order image is detected.
@ DW_CAMERA_RAW_FORMAT_RGGB
Format:RGGB.
dwCameraISPHistogramStatsOverride histStats[DW_CAMERA_NUM_ISP_UNITS]
Structure containing override settings for histogram statistics block.
dwCameraFOV fov
FOV of the lens.
dwCameraType cameraType
Type of the camera.
@ DW_CAMERA_FOV_48
FOV for camera lenses is 48 degrees.
@ DW_CAMERA_EXPOSURE_BAE
Exposure control with bracketed auto exposure.
@ DW_NOTIF_ERROR_CDN_DESERIALIZER_BUFFER_OVERFLOW
CDN deserializer buffer overflow.
@ DW_CAMERA_OUTPUT_CUDA_YUV444_UINT16_PLANAR
other YUV processed outputs (see devguide)
@ DW_NOTIF_ERROR_ICP_CAPTURE_FAILURE
Pipeline event, indicates ICP capture failure.
uint32_t numWindowsH
Holds number of windows horizontally.
@ DW_NOTIF_WARN_ICP_CAPTURE_TIMEOUT
Pipeline event, indicates occurrence of timeout while capturing.
dwCameraFOV
Enum of available FOV in degrees for camera lenses.
struct dwCameraSIPLNotification dwCameraSIPLNotification
Notification Data from SIPL.
Defines a two-element single-precision floating-point vector.