Loading [MathJax]/extensions/tex2jax.js
|
NVIDIA DRIVE OS Linux SDK API Reference
|
6.0.10.0 Release
|
Go to the documentation of this file.
13 #ifndef NVSIPLCOMMON_HPP
14 #define NVSIPLCOMMON_HPP
28 #define SIPL_TRUE (0 == 0)
31 #define SIPL_FALSE (0 == 1)
39 #define NVSIPL_GPIO_DEVICE_DESERIALIZER (static_cast<uint32_t>(1U) << 0U)
41 #define NVSIPL_GPIO_DEVICE_SERIALIZER_0 (static_cast<uint32_t>(1U) << 8U)
43 #define NVSIPL_GPIO_DEVICE_SERIALIZER_1 (static_cast<uint32_t>(1U) << 9U)
45 #define NVSIPL_GPIO_DEVICE_SERIALIZER_2 (static_cast<uint32_t>(1U) << 10U)
47 #define NVSIPL_GPIO_DEVICE_SERIALIZER_3 (static_cast<uint32_t>(1U) << 11U)
49 #define NVSIPL_GPIO_DEVICE_SENSOR_0 (static_cast<uint32_t>(1U) << 16U)
51 #define NVSIPL_GPIO_DEVICE_SENSOR_1 (static_cast<uint32_t>(1U) << 17U)
53 #define NVSIPL_GPIO_DEVICE_SENSOR_2 (static_cast<uint32_t>(1U) << 18U)
55 #define NVSIPL_GPIO_DEVICE_SENSOR_3 (static_cast<uint32_t>(1U) << 19U)
57 #define NVSIPL_GPIO_DEVICE_INTR_ERR (static_cast<uint32_t>(1U) << 24U)
59 #define NVSIPL_GPIO_DEVICE_INTR_ERR_GETSTATUS (static_cast<uint32_t>(1U) << 25U)
64 #define NVSIPL_GPIO_DEVICE_SERIALIZER_SHIFT (8U)
66 #define NVSIPL_GPIO_DEVICE_SENSOR_SHIFT (16U)
252 #endif // NVSIPLCOMMON_HPP
float_t y
Holds the vertical location of the point.
@ NVSIPL_TIME_BASE_CLOCK_USER_DEFINED
Specifies that a user defined clock is used for base time calculation.
uint16_t x1
Right X co-ordinate.
@ NVSIPL_MODULE_ERROR_READ_SERIALIZER
Read only serializer error information when getting error details.
@ NVSIPL_MODULE_ERROR_READ_ALL
Read both sensor and serializer error information when getting error details.
SIPLModuleErrorReadFlag
Flag indicating which module errors to read.
@ NVSIPL_STATUS_NOT_SUPPORTED
Indicates an unsupported operation or argument was encountered.
@ NVSIPL_STATUS_INVALID_STATE
Indicates a module is in an invalid state.
uint16_t y1
Bottom Y co-ordinate.
@ NVSIPL_GPIO_EVENT_ERROR_CAMGPIO
An error occurred in CAMGPIO code, potentially resulting in permanent loss of functionality.
size_t sizeWritten
Holds size of error written to the buffer, filled by driver.
@ NVSIPL_STATUS_OK
Indicates the operation completed successfully without errors.
Error details for a particular device.
uint16_t x0
Left X co-ordinate.
@ NVSIPL_STATUS_RESOURCE_ERROR
Indicates a resource error was encountered.
@ NVSIPL_STATUS_OUT_OF_MEMORY
Indicates an out of memory or other system resource error was encountered.
int32_t x
Holds the horizontal location of the point.
SIPLStatus
Defines the status codes returned by functions in SIPL modules.
Defines the location of a point on a two-dimensional object.
@ NVSIPL_STATUS_ERROR
Indicates an unspecified error that is used when no other error code applies.
uint64_t NvSiplGlobalTime
Media global time, measured in microseconds.
@ NVSIPL_GPIO_EVENT_NOTHING
There is no pending event.
@ NVSIPL_STATUS_EOF
Indicates that end of file has been reached.
@ NVSIPL_GPIO_EVENT_ERROR_UNKNOWN
A generic error occurred, potentially resulting in permanent loss of functionality.
@ NVSIPL_STATUS_NOT_INITIALIZED
Indicates a module was not initialized.
@ NVSIPL_STATUS_TIMED_OUT
Indicates an operation timed out.
Holds a rectangular region of a surface.
size_t bufferSize
Holds the maximum size of error data which can be contained in the buffer.
@ NVSIPL_GPIO_EVENT_INTR
An interrupt has occured.
std::unique_ptr< uint8_t[]> upErrorBuffer
Buffer which will be filled by driver with error information.
@ NVSIPL_TIME_BASE_CLOCK_MONOTONIC
Specifies that kernel monotonic clock is used for base time calculation.
@ NVSIPL_TIME_BASE_CLOCK_PTP
Specifies that PTP clock is used for base time calculation.
SIPLGpioEvent
CDAC GPIO event codes.
uint16_t y0
Top Y co-ordinate.
@ NVSIPL_GPIO_EVENT_ERROR_BACKEND
An error occurred in backend code, potentially resulting in permanent loss of functionality.
Defines the float-precision location of a point on a two-dimensional object.
float_t x
Holds the horizontal location of the point.
uint32_t NvSiplBool
A boolean value, holding SIPL_TRUE or SIPL_FALSE.
int32_t y
Holds the vertical location of the point.
NvSiplTimeBase
Defines clock base for NvSiplTime.
Contains the classes and variables for implementation of SIPL.
@ NVSIPL_GPIO_EVENT_INTR_TIMEOUT
An interrupt timeout period has elapsed.
@ NVSIPL_STATUS_FAULT_STATE
Indicates module is in non-recoverable fault state.
@ NVSIPL_STATUS_BAD_ARGUMENT
Indicates one or more invalid arguments was encountered.
@ NVSIPL_MODULE_ERROR_READ_SENSOR
Read only sensor error information when getting module error details.
人人超碰97caoporen国产