NVIDIA DRIVE OS Linux SDK API Reference

5.1.12.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NvSciBuf Global Constants

Detailed Description

Definitions of all NvSciBuf Global Constants/Macros.

Macros

#define NV_SCI_BUF_TENSOR_MAX_DIMS   8u
 Maximum number of dimensions supported by tensor datatype. More...
 
#define NV_SCI_BUF_IMAGE_MAX_PLANES   3u
 Maximum number of planes supported by image datatype. More...
 
#define NV_SCI_BUF_PYRAMID_MAX_LEVELS   10u
 Maximum number of levels supported by pyramid datatype. More...
 
#define NVSCIBUF_EXPORT_DESC_SIZE   32u
 Indicates the size of export descriptor. More...
 
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT   16u
 Indicates number of bits used for defining an attribute key. More...
 
#define NV_SCI_BUF_DATATYPE_BIT_COUNT   10u
 Indicates number of bits used for defining datatype of a key. More...
 
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC   0
 Indicates the attribute key is a public key type. 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 Keytype. More...
 
#define NV_SCI_BUF_GENERAL_ATTR_KEY_START
 Indicates starting value of General attribute keys. More...
 
#define NV_SCI_BUF_RAW_BUF_ATTR_KEY_START
 Indicates the start of Raw-buffer Datatype keys. More...
 
#define NV_SCI_BUF_IMAGE_ATTR_KEY_START
 Indicates the start of Image Datatype keys. More...
 
#define NV_SCI_BUF_PYRAMID_ATTR_KEY_START
 Indicates the start of ImagePyramid Datatype keys. More...
 
#define NV_SCI_BUF_ARRAY_ATTR_KEY_START
 Indicates the start of NvSciBuf Array Datatype keys. More...
 
#define NV_SCI_BUF_TENSOR_ATTR_KEY_START
 Macro to specify the start of Tensor Datatype keys. More...
 

Variables

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

Macro Definition Documentation

#define NV_SCI_BUF_ARRAY_ATTR_KEY_START
Value:
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC
Indicates the attribute key is a public key type.
Definition: nvscibuf.h:206
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT
Indicates number of bits used for defining an attribute key.
Definition: nvscibuf.h:195
#define NV_SCI_BUF_KEYTYPE_BIT_START
Global constant to specify the start-bit of attribute Keytype.
Definition: nvscibuf.h:211

Indicates the start of NvSciBuf Array Datatype keys.

Definition at line 245 of file nvscibuf.h.

#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC   0

Indicates the attribute key is a public key type.

Definition at line 206 of file nvscibuf.h.

#define NV_SCI_BUF_ATTRKEY_BIT_COUNT   16u

Indicates number of bits used for defining an attribute key.

Note: Maximum 16K attribute Keys per datatype.

Definition at line 195 of file nvscibuf.h.

#define NV_SCI_BUF_DATATYPE_BIT_COUNT   10u

Indicates number of bits used for defining datatype of a key.

Note: Maximum 1K datatypes.

Definition at line 201 of file nvscibuf.h.

#define NV_SCI_BUF_GENERAL_ATTR_KEY_START
Value:
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC
Indicates the attribute key is a public key type.
Definition: nvscibuf.h:206
Reserved for General keys.
Definition: nvscibuf.h:53
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT
Indicates number of bits used for defining an attribute key.
Definition: nvscibuf.h:195
#define NV_SCI_BUF_KEYTYPE_BIT_START
Global constant to specify the start-bit of attribute Keytype.
Definition: nvscibuf.h:211

Indicates starting value of General attribute keys.

Definition at line 217 of file nvscibuf.h.

#define NV_SCI_BUF_IMAGE_ATTR_KEY_START
Value:
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC
Indicates the attribute key is a public key type.
Definition: nvscibuf.h:206
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT
Indicates number of bits used for defining an attribute key.
Definition: nvscibuf.h:195
#define NV_SCI_BUF_KEYTYPE_BIT_START
Global constant to specify the start-bit of attribute Keytype.
Definition: nvscibuf.h:211

Indicates the start of Image Datatype keys.

Definition at line 231 of file nvscibuf.h.

#define NV_SCI_BUF_IMAGE_MAX_PLANES   3u

Maximum number of planes supported by image datatype.

Definition at line 179 of file nvscibuf.h.

#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 Keytype.

Definition at line 211 of file nvscibuf.h.

#define NV_SCI_BUF_PYRAMID_ATTR_KEY_START
Value:
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC
Indicates the attribute key is a public key type.
Definition: nvscibuf.h:206
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT
Indicates number of bits used for defining an attribute key.
Definition: nvscibuf.h:195
#define NV_SCI_BUF_KEYTYPE_BIT_START
Global constant to specify the start-bit of attribute Keytype.
Definition: nvscibuf.h:211

Indicates the start of ImagePyramid Datatype keys.

Definition at line 238 of file nvscibuf.h.

#define NV_SCI_BUF_PYRAMID_MAX_LEVELS   10u

Maximum number of levels supported by pyramid datatype.

Definition at line 184 of file nvscibuf.h.

#define NV_SCI_BUF_RAW_BUF_ATTR_KEY_START
Value:
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC
Indicates the attribute key is a public key type.
Definition: nvscibuf.h:206
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT
Indicates number of bits used for defining an attribute key.
Definition: nvscibuf.h:195
#define NV_SCI_BUF_KEYTYPE_BIT_START
Global constant to specify the start-bit of attribute Keytype.
Definition: nvscibuf.h:211

Indicates the start of Raw-buffer Datatype keys.

Definition at line 224 of file nvscibuf.h.

#define NV_SCI_BUF_TENSOR_ATTR_KEY_START
Value:
#define NV_SCI_BUF_ATTR_KEY_TYPE_PUBLIC
Indicates the attribute key is a public key type.
Definition: nvscibuf.h:206
#define NV_SCI_BUF_ATTRKEY_BIT_COUNT
Indicates number of bits used for defining an attribute key.
Definition: nvscibuf.h:195
#define NV_SCI_BUF_KEYTYPE_BIT_START
Global constant to specify the start-bit of attribute Keytype.
Definition: nvscibuf.h:211

Macro to specify the start of Tensor Datatype keys.

Definition at line 252 of file nvscibuf.h.

#define NV_SCI_BUF_TENSOR_MAX_DIMS   8u

Maximum number of dimensions supported by tensor datatype.

Definition at line 174 of file nvscibuf.h.

#define NVSCIBUF_EXPORT_DESC_SIZE   32u

Indicates the size of export descriptor.

Definition at line 189 of file nvscibuf.h.

Variable Documentation

const uint32_t NvSciBufMajorVersion = 2U
static

API Major version number.

Definition at line 76 of file nvscibuf.h.

const uint32_t NvSciBufMinorVersion = 0U
static

API Minor version number.

Definition at line 81 of file nvscibuf.h.