|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.6 Release For Test and Development only
|
Go to the documentation of this file.
16 #ifndef NVMEDIA_CORE_H
17 #define NVMEDIA_CORE_H
27 #if !defined(NVM_DEPRECATED)
28 #if defined(__GNUC__) && (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 6)
35 #pragma GCC diagnostic warning "-Wdeprecated-declarations"
36 #define NVM_DEPRECATED_MSG(fmt) __attribute__((deprecated(fmt)))
38 #define NVM_DEPRECATED
39 #define NVM_DEPRECATED_MSG(fmt) NVM_DEPRECATED
42 #define NVM_DEPRECATED_MSG(fmt) NVM_DEPRECATED
62 #define NVMEDIA_RELEASE_VERSION_MAJOR 2
64 #define NVMEDIA_RELEASE_VERSION_MINOR 0
67 #define NVMEDIA_CORE_VERSION_MAJOR 1
69 #define NVMEDIA_CORE_VERSION_MINOR 14
72 #define NVMEDIA_TRUE (0 == 0)
74 #define NVMEDIA_FALSE (0 == 1)
struct timespec NvMediaTime
Holds the media time in timespec format as defined by the POSIX specification.
@ NVMEDIA_STATUS_NOT_INITIALIZED
Specifies that a component requred by the function call is not initialized.
@ NVMEDIA_SIGNALER
An NvMedia component acts as a signaler.
@ NVMEDIA_ACCESS_MODE_READ_WRITE
Specifies read/write access mode.
@ NVMEDIA_SOFSYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling SOFFence.
uint64_t NvMediaGlobalTime
Media global time, measured in microseconds.
@ NVMEDIA_COLOR_STANDARD_ITUR_BT_709
Specifies ITU BT.709 color standard.
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
@ NVMEDIA_STATUS_OK
Specifies that the operation completed successfully (with no error).
@ NVMEDIA_STATUS_PFSD_ERROR
Specifies an error from Permanent Fault Software Diagnostic.
void NvMediaDeviceDestroy(NvMediaDevice *device)
Destroys an NvMediaDevice instance.
@ NVMEDIA_STATUS_INCOMPATIBLE_VERSION
Specifies that a library's version is incompatible with the application.
struct NvMediaDevice NvMediaDevice
An opaque handle representing an NvMediaDevice object.
@ NVMEDIA_ACCESS_MODE_READ
Specifies read-only access mode.
@ NVMEDIA_PRESYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts as a waiter.
@ NVMEDIA_STATUS_NONE_PENDING
Specifies that no operation is pending.
@ NVMEDIA_TIME_BASE_CLOCK_PTP
Specifies that PTP clock is used for base time calculation.
@ NVMEDIA_SOF_PRESYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling SOFFence,...
@ NVMEDIA_STATUS_NOT_SUPPORTED
Specifies that the requested operation is not supported.
NvMediaColorStandard
Defines color standards.
@ NVMEDIA_WAITER
An NvMedia component acts as a waiter.
@ NVMEDIA_SIGNALER_WAITER
An NvMedia component acts as a signaler and waiter also for the same NvSciSyncObj.
@ NVMEDIA_STATUS_INSUFFICIENT_BUFFERING
Specifies insufficient buffering.
@ NVMEDIA_STATUS_TIMED_OUT
Specifies that the operation timed out.
NvMediaStatus
Defines all possible error codes.
@ NVMEDIA_COLOR_STANDARD_ITUR_BT_601_ER
Specifies ITU BT.601 color standard extended range.
@ NVMEDIA_STATUS_INVALID_SIZE
Specifies that the size of an object passed to a function was invalid.
@ NVMEDIA_STATUS_ERROR
Specifies a catch-all error, used when no other error code applies.
@ NVMEDIA_COLOR_STANDARD_ITUR_BT_709_ER
Specifies ITU BT.709 color standard extended range.
@ NVMEDIA_STATUS_UNDEFINED_STATE
Specifies that the operation entered an undefined state.
@ NVMEDIA_TIME_BASE_CLOCK_MONOTONIC
Specifies that kernel monotonic clock is used for base time calculation.
@ NVMEDIA_EOF_PRESYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts both as a signaler,...
@ NVMEDIA_COLOR_STANDARD_ITUR_BT_601
Specifies ITU BT.601 color standard.
@ NVMEDIA_STATUS_OUT_OF_MEMORY
Specifies that the process is out of memory.
@ NVMEDIA_STATUS_PENDING
Specifies that the operation has not finished yet.
@ NVMEDIA_EOFSYNCOBJ
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling EOFFence.
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
NvMediaDevice * NvMediaDeviceCreate(void)
Creates an instance of the NvMediaDevice structure.
@ NVMEDIA_COLOR_STANDARD_SMPTE_240M
Specifies SMTE 240M color standard.
@ NVMEDIA_TIME_BASE_CLOCK_USER_DEFINED
Specifies that a user defined clock is used for base time calculation.
NvMediaStatus NvMediaReleaseGetVersion(NvMediaVersion *version)
Gets the release version information for the NvMedia library.
NvMediaStatus NvMediaCoreGetVersion(NvMediaVersion *version)
Gets the core version information for the NvMedia library.
@ NVMEDIA_STATUS_BAD_PARAMETER
Specifies that a bad parameter was passed.
NvMediaTimeBase
Defines clock base for NvMediaTime.
NvMediaNvSciSyncClientType
NvMedia NvSciSync Client Type.