NVIDIA DRIVE OS Linux SDK API Reference

5.1.6.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvmedia_core.h File Reference

Detailed Description

NVIDIA Media Interface: Core

Description: This file contains the Core data types and API.

Definition in file nvmedia_core.h.

Go to the source code of this file.

Data Structures

struct  NvMediaRect
 Holds a rectangular region of a surface. More...
 
struct  NvMediaPoint
 Defines the location of a point on a two-dimensional object. More...
 
struct  NvMediaPointDouble
 Defines the double-precision location of a point on a two-dimensional object. More...
 
struct  NvMediaTaskStatus
 Holds status of latest operation for NvMedia managed data structure. More...
 
struct  NvMediaVersion
 Holds NvMedia version information. More...
 

Macros

#define NVM_DEPRECATED
 
#define NVM_DEPRECATED_MSG(fmt)   NVM_DEPRECATED
 
#define NVMEDIA_RELEASE_VERSION_MAJOR   2
 Release major version number. More...
 
#define NVMEDIA_RELEASE_VERSION_MINOR   0
 Release minor version number. More...
 
#define NVMEDIA_CORE_VERSION_MAJOR   1
 Core major version number. More...
 
#define NVMEDIA_CORE_VERSION_MINOR   12
 Core minor version number. More...
 
#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 (timespec as defined by the POSIX specification). More...
 
typedef uint64_t NvMediaGlobalTime
 Media global time, measured in microseconds. More...
 
typedef struct NvMediaDevice NvMediaDevice
 An opaque handle representing an NvMediaDevice object. More...
 

Enumerations

enum  NvMediaTimeBase {
  NVMEDIA_TIME_BASE_CLOCK_PTP,
  NVMEDIA_TIME_BASE_CLOCK_MONOTONIC,
  NVMEDIA_TIME_BASE_CLOCK_USER_DEFINED
}
 Defines clock base for NvMediaTime. More...
 
enum  NvMediaColorStandard {
  NVMEDIA_COLOR_STANDARD_ITUR_BT_601,
  NVMEDIA_COLOR_STANDARD_ITUR_BT_709,
  NVMEDIA_COLOR_STANDARD_SMPTE_240M,
  NVMEDIA_COLOR_STANDARD_ITUR_BT_601_ER,
  NVMEDIA_COLOR_STANDARD_ITUR_BT_709_ER
}
 Defines color standards. More...
 
enum  NvMediaStatus {
  NVMEDIA_STATUS_OK,
  NVMEDIA_STATUS_BAD_PARAMETER,
  NVMEDIA_STATUS_PENDING,
  NVMEDIA_STATUS_TIMED_OUT,
  NVMEDIA_STATUS_OUT_OF_MEMORY,
  NVMEDIA_STATUS_NOT_INITIALIZED,
  NVMEDIA_STATUS_NOT_SUPPORTED,
  NVMEDIA_STATUS_ERROR,
  NVMEDIA_STATUS_NONE_PENDING,
  NVMEDIA_STATUS_INSUFFICIENT_BUFFERING,
  NVMEDIA_STATUS_INVALID_SIZE,
  NVMEDIA_STATUS_INCOMPATIBLE_VERSION,
  NVMEDIA_STATUS_UNDEFINED_STATE,
  NVMEDIA_STATUS_PFSD_ERROR
}
 Defines all possible error codes. More...
 
enum  NvMediaNvSciSyncClientType {
  NVMEDIA_SIGNALER,
  NVMEDIA_WAITER,
  NVMEDIA_SIGNALER_WAITER
}
 
  Definitions ******************

SOFFence - Start of frame NvSciSyncFence. 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
}
 

Functions

NvMediaStatus NvMediaReleaseGetVersion (NvMediaVersion *version)
 Gets the release version information for the NvMedia library. More...
 
NvMediaStatus NvMediaCoreGetVersion (NvMediaVersion *version)
 Gets the core version information for the NvMedia library. More...
 
NvMediaDeviceNvMediaDeviceCreate (void)
 Creates an NvMediaDevice. More...
 
void NvMediaDeviceDestroy (NvMediaDevice *device)
 Destroys an NvMediaDevice. More...
 

Macro Definition Documentation

#define NVM_DEPRECATED

Definition at line 38 of file nvmedia_core.h.

#define NVM_DEPRECATED_MSG (   fmt)    NVM_DEPRECATED

Definition at line 39 of file nvmedia_core.h.