DriveWorks SDK Reference
5.16.65 Release
For Test and Development only

Codec.h File Reference

Detailed Description

NVIDIA DriveWorks API: Codec Methods

Description: This file defines codec methods.

Definition in file Codec.h.

Go to the source code of this file.

Data Structures

struct  dwCodecMimeType
 Holds codec MIME type string. More...
 
struct  dwCodecPacket
 Generic struct storing data output from codec. More...
 
struct  dwEncoderConfig
 Encoder specific configs. More...
 
struct  dwEncoderConfigNVMedia
 NVMedia encoder configs. More...
 
struct  dwEncoderConfigRateControl
 Encoder rate control parameters. More...
 

Macros

#define DW_CODEC_COMPLETE_PICTURE_FLAG   (1 << 0)
 flag to indicate when a complete picture is sent to the decoder this will start frame decode immediately instead of waiting on the next frame to arrive to decode current frame More...
 

Typedefs

typedef dwCodecMimeType dwCodecMimeTypeConst_t
 Constant MIME type. More...
 

Enumerations

enum  dwCodecCapability {
  DW_CODEC_CAPABILITY_HARDWARE = 0 ,
  DW_CODEC_CAPABILITY_SOFTWARE = 1 ,
  DW_CODEC_CAPABILITY_UNSUPPORTED = 2
}
 Codec Capability. More...
 
enum  dwCodecMaxLengths {
  DW_MAX_CODEC_MIME_TYPE_LENGTH = 64 ,
  DW_MAX_RAW_SIPL_HEADER_LENGTH = 7002
}
 
enum  dwCodecType {
  DW_CODEC_TYPE_INVALID = -1 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0 ,
  DW_CODEC_TYPE_USE_CODEC_MIME_TYPE = 64 ,
  DW_DEPRECATED_ENUM =("dwCodecType deprecated") = 0
}
 Codec Type. More...
 
enum  dwEncoderRateControlMode {
  DW_ENCODER_RATE_CONTROL_MODE_CONSTQP = 0 ,
  DW_ENCODER_RATE_CONTROL_MODE_CBR = 1 ,
  DW_ENCODER_RATE_CONTROL_MODE_VBR = 2
}
 Encoder Rate Control Mode. More...
 
enum  dwMediaType {
  DW_MEDIA_TYPE_VIDEO = 0 ,
  DW_MEDIA_TYPE_LIDAR = 1 ,
  DW_MEDIA_TYPE_RADAR = 2 ,
  DW_MEDIA_TYPE_IMU = 3 ,
  DW_MEDIA_TYPE_GPS = 4 ,
  DW_MEDIA_TYPE_CAN = 5 ,
  DW_MEDIA_TYPE_DATA = 6 ,
  DW_MEDIA_TYPE_TIME = 7 ,
  DW_MEDIA_TYPE_ROADCAST = 8 ,
  DW_MEDIA_TYPE_ULTRASONIC = 9 ,
  DW_MEDIA_TYPE_COUNT = 10
}
 Media Type for Codec. More...
 

Variables

dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_CAN_DW_BINARY
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_DATA_DW_BINARY
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_CUSTOM
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_DATASPEED
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_DW_BINARY
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_IDC6
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NMEA
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NOVATEL
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NOVATEL_ASCII
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NOVATEL_BINARY
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NV_SIM
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_UBLOX
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_XSENS_BINARY
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_BOSCH
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_CAN
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_CONTINENTAL
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_CUSTOM
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_DATASPEED
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_IDC6
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_NOVATEL_ASCII
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_NOVATEL_BINARY
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_NV_SIM
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_XSENS_BINARY
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_XSENS_CAN
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_XSENS_NMEA
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_ION
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_CUSTOM
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_CUSTOM_EX
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_HESAI_P128
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_HESAI_P128_V4P5
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_H
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_IRIS_2129
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_IRIS_2142
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_SLIMV2
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_OUSTER_OS1
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_OUSTER_OS2_128
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_POINT_CLOUD_COMPRESSED
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_HDL32E
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_HDL64E
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP16
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP16HR
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP32C
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLS128
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430CAN
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430RDI
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430RDI_V2
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CUSTOM
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CUSTOM_EX
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_DELPHI
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_HELLA_ADAS6
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_IDC6
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_ROADCAST_AVMESSAGE
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_TIMESENSOR_DW_BINARY
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_ULTRASONIC_VALEO_USV
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_ULTRASONIC_VALEO_USV_BSAMPLE
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_UNK
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_AV1
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_H264
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_H264_ANNEX_B
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_H265
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_H265_ANNEX_B
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_JPEG
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_LRAW
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_LRAW_V2
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_RAW
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_VP9
 
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_XRAW