|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
20 #ifndef NVMEDIA_CORE_H
21 #define NVMEDIA_CORE_H
31 #if !defined(NVM_DEPRECATED)
32 #if defined(__GNUC__) && (__GNUC__ > 6)
39 #pragma GCC diagnostic warning "-Wdeprecated-declarations"
40 #define NVM_DEPRECATED_MSG(fmt) __attribute__((deprecated(fmt)))
42 #define NVM_DEPRECATED
43 #define NVM_DEPRECATED_MSG(fmt) NVM_DEPRECATED
46 #define NVM_DEPRECATED_MSG(fmt) NVM_DEPRECATED
67 #define NVMEDIA_TRUE (0 == 0)
70 #define NVMEDIA_FALSE (0 == 1)
@ NVMEDIA_ACCESS_MODE_READ
Specifies read-only access mode.
@ NVMEDIA_STATUS_TIMED_OUT
Specifies that the operation timed out.
@ NVMEDIA_STATUS_OUT_OF_MEMORY
Specifies that the process is out of memory.
@ NVMEDIA_PRESYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts as a waiter.
@ NVMEDIA_STATUS_OK
Specifies that the operation completed successfully (with no error).
NvMediaStatus
Defines all possible error codes.
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
NvMediaNvSciSyncClientType
NvMedia NvSciSync Client Type.
@ NVMEDIA_STATUS_PENDING
Specifies that the operation has not finished yet.
@ NVMEDIA_STATUS_UNDEFINED_STATE
Specifies that the operation entered an undefined state.
@ NVMEDIA_STATUS_BAD_PARAMETER
Specifies that a bad parameter was passed.
@ NVMEDIA_STATUS_INCOMPATIBLE_VERSION
Specifies that a library's version is incompatible with the application.
@ NVMEDIA_SIGNALER_WAITER
An NvMedia component acts as a signaler and waiter also for the same NvSciSyncObj.
@ NVMEDIA_STATUS_INVALID_STATE
Specifies that the module is in invalid state to perform the requested operation.
@ NVMEDIA_STATUS_NONE_PENDING
Specifies that no operation is pending.
void NvMediaDevice
An opaque handle representing an NvMediaDevice object.
@ NVMEDIA_EOFSYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling EOFFence.
@ NVMEDIA_SIGNALER
An NvMedia component acts as a signaler.
@ NVMEDIA_STATUS_INSUFFICIENT_BUFFERING
Specifies insufficient buffering.
@ NVMEDIA_STATUS_INVALID_SIZE
Specifies that the size of an object passed to a function was invalid.
@ NVMEDIA_ACCESS_MODE_READ_WRITE
Specifies read/write access mode.
@ NVMEDIA_SOF_PRESYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling SOFFence,...
@ NVMEDIA_WAITER
An NvMedia component acts as a waiter.
@ NVMEDIA_SOFSYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling SOFFence.
struct timespec NvMediaTime
Holds the media time in timespec format as defined by the POSIX specification.
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
@ NVMEDIA_STATUS_NOT_INITIALIZED
Specifies that a component requred by the function call is not initialized.
@ NVMEDIA_STATUS_NOT_SUPPORTED
Specifies that the requested operation is not supported.
@ NVMEDIA_EOF_PRESYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts both as a signaler,...
@ NVMEDIA_STATUS_ERROR
Specifies a catch-all error, used when no other error code applies.
@ NVMEDIA_STATUS_PFSD_ERROR
Specifies an error from Permanent Fault Software Diagnostic.