Defines basic types used throughout the NvMedia API.
6
Data Structures | |
struct | NvMediaRect |
Holds a rectangular region of a surface. More... | |
struct | NvMediaTaskStatus |
Holds status of latest operation for NvMedia managed data structure. More... | |
Modules | |
Device | |
Manages NvMediaDevice objects, which are the root of the Nvmedia object system. | |
Version Information | |
Provides version information for the NvMedia library. | |
Macros | |
#define | NVMEDIA_TRUE |
A true NvMediaBool value. More... | |
#define | NVMEDIA_FALSE |
A false NvMediaBool value. More... | |
Typedefs | |
typedef uint32_t | NvMediaBool |
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE. More... | |
typedef struct timespec | NvMediaTime |
Holds the media time in timespec format as defined by the POSIX specification. More... | |
Enumerations | |
enum | NvMediaStatus { NVMEDIA_STATUS_OK = 0, NVMEDIA_STATUS_BAD_PARAMETER = 1, NVMEDIA_STATUS_PENDING = 2, NVMEDIA_STATUS_TIMED_OUT = 3, NVMEDIA_STATUS_OUT_OF_MEMORY = 4, NVMEDIA_STATUS_NOT_INITIALIZED = 5, NVMEDIA_STATUS_NOT_SUPPORTED = 6, NVMEDIA_STATUS_ERROR = 7, NVMEDIA_STATUS_NONE_PENDING = 8, NVMEDIA_STATUS_INSUFFICIENT_BUFFERING = 9, NVMEDIA_STATUS_INVALID_SIZE = 10, NVMEDIA_STATUS_INCOMPATIBLE_VERSION = 11, NVMEDIA_STATUS_UNDEFINED_STATE = 13, NVMEDIA_STATUS_PFSD_ERROR = 14, NVMEDIA_STATUS_INVALID_STATE = 15 } |
Defines all possible error codes. More... | |
enum | NvMediaNvSciSyncClientType { NVMEDIA_SIGNALER, NVMEDIA_WAITER, NVMEDIA_SIGNALER_WAITER } |
NvMedia NvSciSync Client Type. More... | |
enum | NvMediaNvSciSyncObjType { NVMEDIA_PRESYNCOBJ, NVMEDIA_EOFSYNCOBJ, NVMEDIA_SOFSYNCOBJ, NVMEDIA_EOF_PRESYNCOBJ, NVMEDIA_SOF_PRESYNCOBJ } |
Defines NvMedia NvSciSyncObj types. More... | |
enum | NvMediaAccessMode { NVMEDIA_ACCESS_MODE_READ, NVMEDIA_ACCESS_MODE_READ_WRITE } |
#define NVMEDIA_FALSE |
A false NvMediaBool value.
Definition at line 66 of file nvmedia_core.h.
#define NVMEDIA_TRUE |
A true NvMediaBool value.
Definition at line 63 of file nvmedia_core.h.
typedef uint32_t NvMediaBool |
A boolean value, holding NVMEDIA_TRUE or NVMEDIA_FALSE.
Definition at line 72 of file nvmedia_core.h.
typedef struct timespec NvMediaTime |
Holds the media time in timespec format as defined by the POSIX specification.
Definition at line 77 of file nvmedia_core.h.
enum NvMediaAccessMode |
Enumerator | |
---|---|
NVMEDIA_ACCESS_MODE_READ | Specifies read-only access mode. |
NVMEDIA_ACCESS_MODE_READ_WRITE | Specifies read/write access mode. |
Definition at line 231 of file nvmedia_core.h.
NvMedia NvSciSync Client Type.
Enumerator | |
---|---|
NVMEDIA_SIGNALER | An NvMedia component acts as a signaler. |
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. |
Definition at line 189 of file nvmedia_core.h.
Defines NvMedia NvSciSyncObj types.
Definition at line 202 of file nvmedia_core.h.
enum NvMediaStatus |
Defines all possible error codes.
Definition at line 104 of file nvmedia_core.h.