NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release

Detailed Description

Demuxer for dealing with containers.

Data Structures

struct  dwContainerProperties
 Holds container properties. More...
 
struct  dwContainerTrackInfo
 Holds container track information. More...
 
struct  dwContainerMetaConfig
 Holds the container metadata configuration. More...
 
struct  dwDemuxerFrameInfo
 Holds demuxer frame info. More...
 
struct  dwDemuxerParams
 Holds demuxer params. More...
 
struct  dwContainerMetaUint64
 Metadata type holding a string-uint64 name-value pair. More...
 
struct  dwContainerMetaBool
 Metadata type holding a string-bool name-value pair. More...
 
struct  dwContainerMetaString
 Metadata type holding a string-string name-value pair. More...
 

Macros

#define DW_CONTAINER_MAX_TIMESTAMPS   8U
 
#define DW_CONTAINER_MAX_META_TYPES   8U
 

Typedefs

typedef struct dwContainerProperties dwContainerProperties
 Holds container properties. More...
 
typedef struct dwContainerTrackInfo dwContainerTrackInfo
 Holds container track information. More...
 
typedef enum dwContainerFrameFlags dwContainerFrameFlags
 Enum representing a container frame flags. More...
 
typedef enum dwContainerType dwContainerType
 Enum representing a supported container types. More...
 
typedef struct dwContainerMetaConfig dwContainerMetaConfig
 Holds the container metadata configuration. More...
 
typedef struct dwDemuxerFrameInfo dwDemuxerFrameInfo
 Holds demuxer frame info. More...
 
typedef struct dwDemuxerObject * dwDemuxerHandle_t
 Demuxer handle. More...
 
typedef struct dwIOStreamObject * dwIOStreamHandle_t
 Handle to IO stream object. More...
 
typedef struct dwDemuxerParams dwDemuxerParams
 Holds demuxer params. More...
 
typedef struct dwContainerMetaUint64 dwContainerMetaUint64
 Metadata type holding a string-uint64 name-value pair. More...
 
typedef struct dwContainerMetaBool dwContainerMetaBool
 Metadata type holding a string-bool name-value pair. More...
 
typedef struct dwContainerMetaString dwContainerMetaString
 Metadata type holding a string-string name-value pair. More...
 

Enumerations

enum  { DW_CONTAINER_MAX_TRACK_NAME = 64U }
 
enum  dwTimeType {
  DW_TIME_TYPE_NONE = 0,
  DW_TIME_TYPE_HOST,
  DW_TIME_TYPE_TSC,
  DW_TIME_TYPE_RELATIVE_PTS,
  DW_TIME_TYPE_RELATIVE_DTS,
  DW_TIME_TYPE_ABSOLUTE,
  DW_TIME_TYPE_SERIALIZATION,
  DW_TIME_TYPE_SEQUENCE_NUMBER,
  DW_TIME_TYPE_POS_OFFSET,
  DW_TIME_TYPE_PRIOR_KEY_FRAME
}
 Enum representing a supported time domains. More...
 
enum  dwContainerFrameFlags {
  DW_CONTAINER_FRAME_SEEKABLE = 1 << 0,
  DW_CONTAINER_FRAME_COMPLETE = 1 << 1
}
 Enum representing a container frame flags. More...
 
enum  dwContainerType {
  DW_CONTAINER_TYPE_UNKNOWN = 0,
  DW_CONTAINER_TYPE_MP4 = 1,
  DW_CONTAINER_TYPE_DWPOD = 2,
  DW_CONTAINER_TYPE_HEVC = 3,
  DW_CONTAINER_TYPE_Legacy = 4,
  DW_CONTAINER_TYPE_MJPEG = 5,
  DW_CONTAINER_TYPE_AVC = 6,
  DW_CONTAINER_TYPE_MCAP = 7
}
 Enum representing a supported container types. More...
 
enum  dwContainerMetaType {
  DW_CONTAINER_META_TYPE_UINT64,
  DW_CONTAINER_META_TYPE_BOOL,
  DW_CONTAINER_META_TYPE_STRING
}
 Enum representing supported metadata types. More...
 

Macro Definition Documentation

◆ DW_CONTAINER_MAX_META_TYPES

#define DW_CONTAINER_MAX_META_TYPES   8U

Definition at line 30 of file Container.h.

◆ DW_CONTAINER_MAX_TIMESTAMPS

#define DW_CONTAINER_MAX_TIMESTAMPS   8U

Definition at line 29 of file Container.h.

Typedef Documentation

◆ dwContainerFrameFlags

Enum representing a container frame flags.

◆ dwContainerMetaBool

Metadata type holding a string-bool name-value pair.

◆ dwContainerMetaConfig

Holds the container metadata configuration.

◆ dwContainerMetaString

Metadata type holding a string-string name-value pair.

◆ dwContainerMetaUint64

Metadata type holding a string-uint64 name-value pair.

◆ dwContainerProperties

Holds container properties.

◆ dwContainerTrackInfo

Holds container track information.

◆ dwContainerType

Enum representing a supported container types.

◆ dwDemuxerFrameInfo

Holds demuxer frame info.

◆ dwDemuxerHandle_t

typedef struct dwDemuxerObject* dwDemuxerHandle_t

Demuxer handle.

Definition at line 80 of file Demuxer.h.

◆ dwDemuxerParams

Holds demuxer params.

◆ dwIOStreamHandle_t

typedef struct dwIOStreamObject* dwIOStreamHandle_t

Handle to IO stream object.

Definition at line 84 of file Demuxer.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DW_CONTAINER_MAX_TRACK_NAME 

Definition at line 31 of file Container.h.

◆ dwContainerFrameFlags

Enum representing a container frame flags.

Enumerator
DW_CONTAINER_FRAME_SEEKABLE 

This frame represents the beginning of a sequence resulting in a decodable frame.

DW_CONTAINER_FRAME_COMPLETE 

This frame represents the end of a sequence resulting in a decodable frame.

Definition at line 71 of file Container.h.

◆ dwContainerMetaType

Enum representing supported metadata types.

Enumerator
DW_CONTAINER_META_TYPE_UINT64 

NVP with a uint64_t as payload.

DW_CONTAINER_META_TYPE_BOOL 

NVP with a bool as payload.

DW_CONTAINER_META_TYPE_STRING 

NVP with a string as payload.

Definition at line 26 of file Metadata.h.

◆ dwContainerType

Enum representing a supported container types.

Enumerator
DW_CONTAINER_TYPE_UNKNOWN 

Unknow Container.

DW_CONTAINER_TYPE_MP4 

MP4 Container.

DW_CONTAINER_TYPE_DWPOD 

Product Container.

DW_CONTAINER_TYPE_HEVC 

HEVC Container.

DW_CONTAINER_TYPE_Legacy 

Legacy Container.

DW_CONTAINER_TYPE_MJPEG 

MJPEG Container.

DW_CONTAINER_TYPE_AVC 

AVC Container.

DW_CONTAINER_TYPE_MCAP 

MCAP Container.

Definition at line 77 of file Container.h.

◆ dwTimeType

enum dwTimeType

Enum representing a supported time domains.

Enumerator
DW_TIME_TYPE_NONE 

None time type.

DW_TIME_TYPE_HOST 

Host time.

DW_TIME_TYPE_TSC 

TSC time.

DW_TIME_TYPE_RELATIVE_PTS 

PTS time.

DW_TIME_TYPE_RELATIVE_DTS 

DTS time.

DW_TIME_TYPE_ABSOLUTE 

Absolute time.

DW_TIME_TYPE_SERIALIZATION 

Serialization time.

DW_TIME_TYPE_SEQUENCE_NUMBER 

Sequence Number.

DW_TIME_TYPE_POS_OFFSET 

Postition Offset.

DW_TIME_TYPE_PRIOR_KEY_FRAME 

Key Frame.

Definition at line 37 of file Container.h.