NVIDIA DRIVE OS Linux SDK API Reference

6.0.10.0 Release

Detailed Description

Definitions of all NvSciBuf Global Constants/Macros.

Macros

#define NV_SCI_BUF_TENSOR_MAX_DIMS   8u
 Maximum number of dimensions supported by NvSciBufType_Tensor. More...
 
#define NV_SCI_BUF_IMAGE_MAX_PLANES   3u
 Maximum number of planes supported by NvSciBufType_Image. More...
 
#define NV_SCI_BUF_PYRAMID_MAX_LEVELS   10u
 Maximum number of levels supported by NvSciBufType_Pyramid. More...
 
#define NVSCIBUF_EXPORT_DESC_SIZE   32u
 Indicates the size of export descriptor. More...
 
#define NV_SCI_BUF_PEER_INFO_MAX_NUMBER   128u
 Maxium number of peer info supported. More...
 
#define NV_SCI_BUF_PEER_INFO_SELF_SOCID   0xFFFFFFFFu
 Self SOC ID value if the late peer is from same SoC. More...
 
#define NV_SCI_BUF_PEER_INFO_SELF_VMID   0xFFFFFFFFu
 Self VM ID value if the late peer is from same VM. More...
 
#define NV_SCI_BUF_PEER_HW_ENGINE_MAX_NUMBER   128U
 Global Constant to define maximum number of NvSciBufPeerHwEngine supported. More...
 
#define NV_SCI_BUF_MAX_GPUS   16
 Maximum number of GPUs that can share the NvSciBufObj. More...
 
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT   16u
 Global constant to indicate number of bits used for defining an attribute key. More...
 
#define NV_SCI_BUF_DATATYPE_BIT_COUNT   10u
 Global constant to indicate number of bits used for defining NvSciBufType of an attribute key. More...
 
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC   0u
 Global constant to indicate the attribute key type is public. More...
 
#define NV_SCI_BUF_KEYTYPE_BIT_START   (NV_SCI_BUF_DATATYPE_BIT_COUNT + NV_SCI_BUF_ATTRKEY_BIT_COUNT)
 Global constant to specify the start-bit of attribute key type. More...
 
#define NV_SCI_BUF_GENERAL_ATTR_KEY_START
 Indicates starting value of NvSciBufAttrKey for NvSciBufType_General. More...
 
#define NV_SCI_BUF_RAW_BUF_ATTR_KEY_START
 Indicates starting value of NvSciBufAttrKey for NvSciBufType_RawBuffer. More...
 
#define NV_SCI_BUF_IMAGE_ATTR_KEY_START
 Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Image. More...
 
#define NV_SCI_BUF_PYRAMID_ATTR_KEY_START
 Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Pyramid. More...
 
#define NV_SCI_BUF_ARRAY_ATTR_KEY_START
 Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Array. More...
 
#define NV_SCI_BUF_TENSOR_ATTR_KEY_START
 Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Tensor. More...
 

Variables

static const uint32_t NvSciBufMajorVersion = 2U
 NvSciBuf API Major version number. More...
 
static const uint32_t NvSciBufMinorVersion = 11U
 NvSciBuf API Minor version number. More...
 

Macro Definition Documentation

◆ NV_SCI_BUF_ARRAY_ATTR_KEY_START

#define NV_SCI_BUF_ARRAY_ATTR_KEY_START
Value:

Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Array.

Definition at line 383 of file nvscibuf.h.

◆ NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC

#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC   0u

Global constant to indicate the attribute key type is public.

Definition at line 344 of file nvscibuf.h.

◆ NV_SCI_BUF_ATTRKEY_BIT_COUNT

#define NV_SCI_BUF_ATTRKEY_BIT_COUNT   16u

Global constant to indicate number of bits used for defining an attribute key.

Note: Maximum 16K attribute keys per NvSciBufType.

Definition at line 332 of file nvscibuf.h.

◆ NV_SCI_BUF_DATATYPE_BIT_COUNT

#define NV_SCI_BUF_DATATYPE_BIT_COUNT   10u

Global constant to indicate number of bits used for defining NvSciBufType of an attribute key.

Note: Maximum 1K NvSciBufType(s).

Definition at line 339 of file nvscibuf.h.

◆ NV_SCI_BUF_GENERAL_ATTR_KEY_START

#define NV_SCI_BUF_GENERAL_ATTR_KEY_START
Value:

Indicates starting value of NvSciBufAttrKey for NvSciBufType_General.

Definition at line 355 of file nvscibuf.h.

◆ NV_SCI_BUF_IMAGE_ATTR_KEY_START

#define NV_SCI_BUF_IMAGE_ATTR_KEY_START
Value:

Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Image.

Definition at line 369 of file nvscibuf.h.

◆ NV_SCI_BUF_IMAGE_MAX_PLANES

#define NV_SCI_BUF_IMAGE_MAX_PLANES   3u

Maximum number of planes supported by NvSciBufType_Image.

Definition at line 288 of file nvscibuf.h.

◆ NV_SCI_BUF_KEYTYPE_BIT_START

#define NV_SCI_BUF_KEYTYPE_BIT_START   (NV_SCI_BUF_DATATYPE_BIT_COUNT + NV_SCI_BUF_ATTRKEY_BIT_COUNT)

Global constant to specify the start-bit of attribute key type.

Definition at line 349 of file nvscibuf.h.

◆ NV_SCI_BUF_MAX_GPUS

#define NV_SCI_BUF_MAX_GPUS   16

Maximum number of GPUs that can share the NvSciBufObj.

Definition at line 325 of file nvscibuf.h.

◆ NV_SCI_BUF_PEER_HW_ENGINE_MAX_NUMBER

#define NV_SCI_BUF_PEER_HW_ENGINE_MAX_NUMBER   128U

Global Constant to define maximum number of NvSciBufPeerHwEngine supported.

Definition at line 319 of file nvscibuf.h.

◆ NV_SCI_BUF_PEER_INFO_MAX_NUMBER

#define NV_SCI_BUF_PEER_INFO_MAX_NUMBER   128u

Maxium number of peer info supported.

Definition at line 303 of file nvscibuf.h.

◆ NV_SCI_BUF_PEER_INFO_SELF_SOCID

#define NV_SCI_BUF_PEER_INFO_SELF_SOCID   0xFFFFFFFFu

Self SOC ID value if the late peer is from same SoC.

Definition at line 308 of file nvscibuf.h.

◆ NV_SCI_BUF_PEER_INFO_SELF_VMID

#define NV_SCI_BUF_PEER_INFO_SELF_VMID   0xFFFFFFFFu

Self VM ID value if the late peer is from same VM.

Definition at line 313 of file nvscibuf.h.

◆ NV_SCI_BUF_PYRAMID_ATTR_KEY_START

#define NV_SCI_BUF_PYRAMID_ATTR_KEY_START
Value:

Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Pyramid.

Definition at line 376 of file nvscibuf.h.

◆ NV_SCI_BUF_PYRAMID_MAX_LEVELS

#define NV_SCI_BUF_PYRAMID_MAX_LEVELS   10u

Maximum number of levels supported by NvSciBufType_Pyramid.

Definition at line 293 of file nvscibuf.h.

◆ NV_SCI_BUF_RAW_BUF_ATTR_KEY_START

#define NV_SCI_BUF_RAW_BUF_ATTR_KEY_START
Value:

Indicates starting value of NvSciBufAttrKey for NvSciBufType_RawBuffer.

Definition at line 362 of file nvscibuf.h.

◆ NV_SCI_BUF_TENSOR_ATTR_KEY_START

#define NV_SCI_BUF_TENSOR_ATTR_KEY_START
Value:

Indicates the starting value of NvSciBufAttrKey for NvSciBufType_Tensor.

Definition at line 390 of file nvscibuf.h.

◆ NV_SCI_BUF_TENSOR_MAX_DIMS

#define NV_SCI_BUF_TENSOR_MAX_DIMS   8u

Maximum number of dimensions supported by NvSciBufType_Tensor.

Definition at line 281 of file nvscibuf.h.

◆ NVSCIBUF_EXPORT_DESC_SIZE

#define NVSCIBUF_EXPORT_DESC_SIZE   32u

Indicates the size of export descriptor.

Definition at line 298 of file nvscibuf.h.

Variable Documentation

◆ NvSciBufMajorVersion

const uint32_t NvSciBufMajorVersion = 2U
static

NvSciBuf API Major version number.

Definition at line 152 of file nvscibuf.h.

◆ NvSciBufMinorVersion

const uint32_t NvSciBufMinorVersion = 11U
static

NvSciBuf API Minor version number.

Definition at line 159 of file nvscibuf.h.

NV_SCI_BUF_ATTRKEY_BIT_COUNT
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT
Global constant to indicate number of bits used for defining an attribute key.
Definition: nvscibuf.h:332
NvSciBufType_Array
@ NvSciBufType_Array
Definition: nvscibuf.h:131
NV_SCI_BUF_KEYTYPE_BIT_START
#define NV_SCI_BUF_KEYTYPE_BIT_START
Global constant to specify the start-bit of attribute key type.
Definition: nvscibuf.h:349
NvSciBufType_RawBuffer
@ NvSciBufType_RawBuffer
Definition: nvscibuf.h:128
NvSciBufType_Image
@ NvSciBufType_Image
Definition: nvscibuf.h:129
NvSciBufType_Tensor
@ NvSciBufType_Tensor
Definition: nvscibuf.h:130
NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC
Global constant to indicate the attribute key type is public.
Definition: nvscibuf.h:344
NvSciBufType_General
@ NvSciBufType_General
Reserved for General keys.
Definition: nvscibuf.h:127
NvSciBufType_Pyramid
@ NvSciBufType_Pyramid
Definition: nvscibuf.h:132