45#ifndef DW_SENSORS_CODECS_CODEC_H_
46#define DW_SENSORS_CODECS_CODEC_H_
58#define DW_CODEC_COMPLETE_PICTURE_FLAG (1 << 0)
96 DW_CODEC_TYPE_LIDAR_VELODYNE_VLP16HR
DW_DEPRECATED_ENUM(
"dwCodecType deprecated") = 17,
99 DW_CODEC_TYPE_RADAR_CONTINENTAL_ARS430
DW_DEPRECATED_ENUM(
"dwCodecType deprecated") = 20,
100 DW_CODEC_TYPE_RADAR_CONTINENTAL_ARS430CAN
DW_DEPRECATED_ENUM(
"dwCodecType deprecated") = 21,
101 DW_CODEC_TYPE_RADAR_CONTINENTAL_ARS430RDI
DW_DEPRECATED_ENUM(
"dwCodecType deprecated") = 22,
102 DW_CODEC_TYPE_RADAR_CONTINENTAL_ARS430RDI_V2
DW_DEPRECATED_ENUM(
"dwCodecType deprecated") = 23,
134 DW_CODEC_TYPE_LIDAR_LUMINAR_IRIS_2129
DW_DEPRECATED_ENUM(
"dwCodecType deprecated") = 55,
135 DW_CODEC_TYPE_LIDAR_LUMINAR_IRIS_2142
DW_DEPRECATED_ENUM(
"dwCodecType deprecated") = 56,
137 DW_CODEC_TYPE_LIDAR_POINT_CLOUD_COMPRESSED
DW_DEPRECATED_ENUM(
"dwCodecType deprecated") = 58,
NVIDIA DriveWorks API: Core Types
float32_t sensorTempCelsius
Stores the temperature in Celsius.
uint32_t level
MPEG-4 encoding Level range (1 - 6.2)
dwTime_t pts
Presentation time stamp, in microseconds.
dwTime_t dts
Decoding time stamp, in microseconds.
uint32_t quality
Target quality, range(0 - 51); used for CONSTQP mode.
uint8_t encoderInstance
NVMedia-only.
uint32_t profile
MPEG-4 encoding Profile.
uint8_t * data
Encoded data.
uint64_t maxBitRate
max bitrate for VBR mode
dwEncoderRateControlMode mode
rate control mode
uint64_t flags
Any flags necessary for the frame.
dwEncoderConfigRateControl rateControl
config for rate control
uint8_t h265UltraFastEncodeEnable
flag used to represente whether fast encoded is enable for h265 ultra.
dwEncoderConfigNVMedia nvMedia
config for nvmedia
uint32_t bFrames
Number of bFrames between two reference frames.
uint32_t pFrames
whether there should be p frames; boolean value
uint32_t gopSize
number of pictures in one GOP(Group Of Pictures)
dwTime_t eofTimestampUs
Stores the end of frame timestamp in microseconds.
dwTime_t moeTimestampUs
Stores the middle of exposure timestamp in microseconds.
char8_t mime[DW_MAX_CODEC_MIME_TYPE_LENGTH]
Codec MIME type.
uint64_t dataSizeBytes
Size of the data pointer in bytes.
dwTime_t sofTimestampUs
Stores the start of frame timestamp in microseconds.
dwTime_t subExposureStartTimestampsUs[DW_DEVBLK_CDI_MAX_EXPOSURES]
Array to store the sub exposure start timestamp in microseconds.
uint64_t averageBitRate
target bitrate for VBR and CBR modes
dwExposureDuration exposureDurationUs
Stores the exposure duration in microseconds.
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_CUSTOM_EX
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_LRAW_V2
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_XRAW
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_UNK
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_AV1
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_CUSTOM
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_H264
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_XSENS_NMEA
dwCodecCapability
Codec Capability.
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_HESAI_P128_V4P5
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NOVATEL_BINARY
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_NV_SIM
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_OUSTER_OS1
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_ULTRASONIC_VALEO_USV
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_HESAI_P128
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_H265_ANNEX_B
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP16HR
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430CAN
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_IRIS_2142
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_LRAW
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_IDC6
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_BOSCH
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_HELLA_ADAS6
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NV_SIM
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_DATA_DW_BINARY
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_IDC6
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_DATASPEED
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_DATASPEED
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_CAN_DW_BINARY
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_IRIS_2129
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_ROADCAST_AVMESSAGE
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_CONTINENTAL
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_DELPHI
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP16
dwEncoderRateControlMode
Encoder Rate Control Mode.
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_ION
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NOVATEL
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_JPEG
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_CAN
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_ULTRASONIC_VALEO_USV_BSAMPLE
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_CUSTOM
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_NOVATEL_ASCII
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_IDC6
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_TIMESENSOR_DW_BINARY
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_H265
dwCodecMimeType dwCodecMimeTypeConst_t
Constant MIME type.
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430RDI
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLS128
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_XSENS_BINARY
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_POINT_CLOUD_COMPRESSED
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430RDI_V2
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NMEA
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_KINECT
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_CUSTOM
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_H
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_SLIMV2
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_VP9
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_OUSTER_OS2_128
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_DW_BINARY
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_RAW
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_UBLOX
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_XSENS_BINARY
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_VIDEO_H264_ANNEX_B
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_GPS_NOVATEL_ASCII
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP32C
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_HDL32E
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_NOVATEL_BINARY
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_ULTRASONIC_CONTI_CUS3_OBJECT
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CUSTOM_EX
dwMediaType
Media Type for Codec.
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_HDL64E
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_RADAR_CUSTOM
dwCodecMimeTypeConst_t const DW_CODEC_MIME_TYPE_IMU_XSENS_CAN
@ DW_CODEC_CAPABILITY_SOFTWARE
Codec Capability for software.
@ DW_CODEC_CAPABILITY_HARDWARE
Codec Capability for hardware.
@ DW_CODEC_CAPABILITY_UNSUPPORTED
unsupported Codec Capability
@ DW_MAX_RAW_SIPL_HEADER_LENGTH
@ DW_MAX_CODEC_MIME_TYPE_LENGTH
@ DW_ENCODER_RATE_CONTROL_MODE_CONSTQP
@ DW_ENCODER_RATE_CONTROL_MODE_CBR
@ DW_ENCODER_RATE_CONTROL_MODE_VBR
@ DW_CODEC_TYPE_USE_CODEC_MIME_TYPE
@ DW_MEDIA_TYPE_VIDEO
type of video
@ DW_MEDIA_TYPE_LIDAR
type of lidar
@ DW_MEDIA_TYPE_RADAR
type of radar
@ DW_MEDIA_TYPE_METADATA
type of metadata
@ DW_MEDIA_TYPE_ROADCAST
type of roadcast
@ DW_MEDIA_TYPE_TIME
type of time
@ DW_MEDIA_TYPE_CAN
type of CAN
@ DW_MEDIA_TYPE_ULTRASONIC
type of ultrasonic
@ DW_MEDIA_TYPE_IMU
type of IMU
@ DW_MEDIA_TYPE_GPS
type of GPS
@ DW_MEDIA_TYPE_COUNT
type of count
@ DW_MEDIA_TYPE_DATA
type of data
Holds codec MIME type string.
Generic struct storing data output from codec.
Encoder specific configs.
Encoder rate control parameters.
float float32_t
Specifies POD types.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
#define DW_DEVBLK_CDI_MAX_EXPOSURES
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality