NVIDIA DRIVE OS Linux SDK API Reference

5.1.15.2 Release
For Test and Development only

Detailed Description

Specifies NvSciBuf data structures.

Data Structures

struct  NvSciBufAttrKeyValuePair
 This structure defines a key/value pair used to get or set the NvSciBufAttrKey(s) and their corresponding values from or to NvSciBufAttrList. More...
 
struct  NvSciBufObjIpcExportDescriptor
 Defines the exported form of NvSciBufObj intended to be shared across an NvSciIpc channel. More...
 

Typedefs

typedef struct NvSciBufModuleRec * NvSciBufModule
 top-level container for the following set of resources: NvSciBufAttrLists, buffers, and NvSciBufObjs. More...
 
typedef struct NvSciBufObjRefRec * NvSciBufObj
 A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the buffer, the handle of the allocated buffer enforcing the buffer access permissions represented by NvSciBufGeneralAttrKey_ActualPerm key in reconciled NvSciBufAttrList and the buffer properties. More...
 
typedef struct NvSciBufAttrListRec * NvSciBufAttrList
 A container constituting an attribute list which contains. More...
 

Typedef Documentation

◆ NvSciBufAttrList

typedef struct NvSciBufAttrListRec* NvSciBufAttrList

A container constituting an attribute list which contains.

  • set of NvSciBufAttrKey attributes defining buffer constraints
  • slotcount defining number of slots in an attribute list
  • flag specifying if attribute list is reconciled or unreconciled
Note
Every NvSciBufAttrList that has been created but not freed holds a reference to the NvSciBufModule, preventing it from being de-initialized.

Definition at line 1303 of file nvscibuf.h.

◆ NvSciBufModule

typedef struct NvSciBufModuleRec* NvSciBufModule

top-level container for the following set of resources: NvSciBufAttrLists, buffers, and NvSciBufObjs.

Any NvSciBufAttrList created or imported using a particular NvSciBufModule is bound to it, along with any NvSciBufObj created or imported using those NvSciBufAttrList(s).

Note
For any NvSciBuf API call that has more than one input of type NvSciBufModule, NvSciBufAttrList, and/or NvSciBufObj, all such inputs must agree on the NvSciBufModule instance.

Definition at line 1250 of file nvscibuf.h.

◆ NvSciBufObj

typedef struct NvSciBufObjRefRec* NvSciBufObj

A memory object is a container holding the reconciled NvSciBufAttrList defining constraints of the buffer, the handle of the allocated buffer enforcing the buffer access permissions represented by NvSciBufGeneralAttrKey_ActualPerm key in reconciled NvSciBufAttrList and the buffer properties.

A reference to a particular Memory object.

Note
Every NvSciBufObj that has been created but not freed holds a reference to the NvSciBufModule, preventing it from being de-initialized.

Definition at line 1290 of file nvscibuf.h.