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 12
72 #define NVMEDIA_TRUE (0 == 0)
74 #define NVMEDIA_FALSE (0 == 1)
NvMediaDevice * NvMediaDeviceCreate(void)
Creates an NvMediaDevice.
NvMediaNvSciSyncObjType
Defines NvMedia NvSciSyncObj types.
uint32_t NvMediaBool
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
Specifies that the operation timed out.
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling SOFFence...
Specifies ITU BT.601 color standard extended range.
Specifies that the size of an object passed to a function was invalid.
Specifies that the operation has not finished yet.
Specifies that the process is out of memory.
void NvMediaDeviceDestroy(NvMediaDevice *device)
Destroys an NvMediaDevice.
Specifies ITU BT.709 color standard extended range.
struct timespec NvMediaTime
Holds the media time (timespec as defined by the POSIX specification).
Specifies that the operation entered an undefined state.
struct NvMediaDevice NvMediaDevice
An opaque handle representing an NvMediaDevice object.
Specifies a catch-all error, used when no other error code applies.
Specifies that kernel monotonic clock is used for base time calculation.
NvMediaColorStandard
Defines color standards.
Specifies ITU BT.601 color standard.
Specifies read/write access mode.
NvMediaNvSciSyncClientType
Definitions ****************** SOFFence - Start of frame NvSciSyncFence.
NvMediaStatus
Defines all possible error codes.
NvMediaStatus NvMediaCoreGetVersion(NvMediaVersion *version)
Gets the core version information for the NvMedia library.
Specifies SMTE 240M color standard.
Specifies that a user defined clock is used for base time calculation.
Specifies that a component requred by the function call is not initialized.
Specifies that a bad parameter was passed.
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling SOFFence...
Specifies an NvSciSyncObj type for which an NvMedia component acts as a signaler, signaling EOFFence...
Specifies an NvSciSyncObj type for which an NvMedia component acts both as a signaler, signaling EOFFence, and as a waiter.
Specifies an NvSciSyncObj type for which an NvMedia component acts as a waiter.
uint64_t NvMediaGlobalTime
Media global time, measured in microseconds.
Specifies that the operation completed successfully (with no error).
Specifies read-only access mode.
Specifies ITU BT.709 color standard.
Specifies that a library's version is incompatible with the application.
Specifies an error from Permanent Fault Software Diagnostic.
NvMediaTimeBase
Defines clock base for NvMediaTime.
Specifies that PTP clock is used for base time calculation.
NvMediaStatus NvMediaReleaseGetVersion(NvMediaVersion *version)
Gets the release version information for the NvMedia library.
Specifies that no operation is pending.
Specifies that the requested operation is not supported.
Specifies insufficient buffering.