NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
TypesExtra.h File Reference

Detailed Description

NVIDIA DriveWorks API: (Extra) Core Types

Description: This file defines extra POD types, timestamps, and trivial data types.

Definition in file TypesExtra.h.

Go to the source code of this file.

Data Structures

struct  dwOptionalf
 Optional values that are only defined if the 'valid' flag is true, and undefined otherwise. More...
 
struct  dwOptionalb
 Optional values that are only defined if the 'valid' flag is true, and undefined otherwise. More...
 
struct  dwBlobSize
 Holds blob dimensions. More...
 
struct  dwValidityStatus
 A light weighted 16 Btyes status to be carried over along with each DW C struct instance that can indicate the data validity status. More...
 

Typedefs

typedef enum dwTrivialDataType dwTrivialDataType
 Specifies a type indicator of the underlying trivial data type. More...
 
typedef enum dwPrecision dwPrecision
 Precision type definitions. More...
 
typedef enum dwGPUDeviceType dwGPUDeviceType
 GPU device type definitions Only applicable on Drive platforms. More...
 
typedef enum dwProcessorType dwProcessorType
 Processor type definitions. More...
 
typedef enum dwProcessType dwProcessType
 Process type definitions. More...
 
typedef enum dwMemoryType dwMemoryType
 Memory type definitions. More...
 
typedef enum dwBindSlot dwBindSlot
 The slot enum used when an application wants a dw module to bind some particular input data to an internal slot for future processing and unbinding. More...
 
typedef enum dwValidity dwValidity
 Defines the validity of DW struct. More...
 
typedef struct dwOptionalf dwOptionalf
 Optional values that are only defined if the 'valid' flag is true, and undefined otherwise. More...
 
typedef struct dwOptionalb dwOptionalb
 Optional values that are only defined if the 'valid' flag is true, and undefined otherwise. More...
 
typedef struct dwBlobSize dwBlobSize
 Holds blob dimensions. More...
 
typedef struct dwValidityStatus dwValidityStatus
 A light weighted 16 Btyes status to be carried over along with each DW C struct instance that can indicate the data validity status. More...
 

Enumerations

enum  dwTrivialDataType {
  DW_TYPE_UNKNOWN = 0,
  DW_TYPE_BOOL = 1 << 1,
  DW_TYPE_INT8 = 1 << 2,
  DW_TYPE_INT16 = 1 << 3,
  DW_TYPE_INT32 = 1 << 4,
  DW_TYPE_INT64 = 1 << 5,
  DW_TYPE_UINT8 = 1 << 6,
  DW_TYPE_UINT16 = 1 << 7,
  DW_TYPE_UINT32 = 1 << 8,
  DW_TYPE_UINT64 = 1 << 9,
  DW_TYPE_FLOAT32 = 1 << 10,
  DW_TYPE_FLOAT64 = 1 << 11,
  DW_TYPE_FLOAT16 = 1 << 12,
  DW_TYPE_CHAR8 = 1 << 13
}
 Specifies a type indicator of the underlying trivial data type. More...
 
enum  dwPrecision {
  DW_PRECISION_INT8 = 0,
  DW_PRECISION_FP16 = 1,
  DW_PRECISION_FP32 = 2,
  DW_PRECISION_MIXED = 3
}
 Precision type definitions. More...
 
enum  dwGPUDeviceType {
  DW_GPU_DEVICE_DISCRETE = 0,
  DW_GPU_DEVICE_INTEGRATED = 1
}
 GPU device type definitions Only applicable on Drive platforms. More...
 
enum  dwProcessorType {
  DW_PROCESSOR_TYPE_CPU = 0,
  DW_PROCESSOR_TYPE_GPU = 1,
  DW_PROCESSOR_TYPE_DLA_0 = 2,
  DW_PROCESSOR_TYPE_DLA_1 = 3,
  DW_PROCESSOR_TYPE_PVA_0 = 4,
  DW_PROCESSOR_TYPE_PVA_1 = 5,
  DW_PROCESSOR_TYPE_NVENC_0 = 6,
  DW_PROCESSOR_TYPE_NVENC_1 = 7,
  DW_PROCESSOR_TYPE_CUDLA = 8,
  DW_PROCESSOR_TYPE_VULKAN = 9,
  DW_PROCESSOR_TYPE_VIC_LDC = 10,
  DW_PROCESSOR_TYPE_VIC_NV2D = 11
}
 Processor type definitions. More...
 
enum  dwProcessType {
  DW_PROCESS_TYPE_ASYNC = 0,
  DW_PROCESS_TYPE_SYNC = 1
}
 Process type definitions. More...
 
enum  dwMemoryType {
  DW_MEMORY_TYPE_CUDA = 0,
  DW_MEMORY_TYPE_CPU = 1,
  DW_MEMORY_TYPE_PINNED = 2,
  DW_MEMORY_TYPE_CPU_ZEROCOPY_CUDA = 3
}
 Memory type definitions. More...
 
enum  dwBindSlot {
  DW_BIND_SLOT_INVALID = 0,
  DW_BIND_SLOT_1 = 1,
  DW_BIND_SLOT_2 = 2,
  DW_BIND_SLOT_3 = 3,
  DW_BIND_SLOT_4 = 4,
  DW_BIND_SLOT_5 = 5,
  DW_BIND_SLOT_6 = 6,
  DW_BIND_SLOT_7 = 7,
  DW_BIND_SLOT_8 = 8,
  DW_BIND_SLOT_9 = 9,
  DW_BIND_SLOT_10 = 10,
  DW_BIND_SLOT_11 = 11,
  DW_BIND_SLOT_12 = 12,
  DW_BIND_SLOT_13 = 13,
  DW_BIND_SLOT_14 = 14,
  DW_BIND_SLOT_15 = 15,
  DW_BIND_SLOT_16 = 16,
  DW_BIND_SLOT_MAX_COUNT = 17
}
 The slot enum used when an application wants a dw module to bind some particular input data to an internal slot for future processing and unbinding. More...
 
enum  dwValidity {
  DW_VALIDITY_INVALID = 0,
  DW_VALIDITY_VALID = 1,
  DW_VALIDITY_FORCE32 = 0x7fffffff
}
 Defines the validity of DW struct. More...