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