NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
Codec.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
28 #ifndef DW_SENSORS_CODECS_CODEC_H_
29 #define DW_SENSORS_CODECS_CODEC_H_
30 
31 #include <dw/core/base/Types.h>
32 #include <dw/image/Image.h>
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
41 #define DW_CODEC_COMPLETE_PICTURE_FLAG (1 << 0)
42 
44 #define DW_CODEC_PKT_VIDEO_IS_KEYFRAME_FLAG (1 << 0)
45 
47 typedef enum {
61 } dwMediaType;
62 
64 typedef enum {
66  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
67  DW_CODEC_TYPE_VIDEO_H264 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 0,
68  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
69  DW_CODEC_TYPE_VIDEO_H265 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 1,
70  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
71  DW_CODEC_TYPE_VIDEO_VP9 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 2,
72  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
73  DW_CODEC_TYPE_VIDEO_AV1 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 3,
74  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
75  DW_CODEC_TYPE_VIDEO_LRAW DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 4,
76  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
77  DW_CODEC_TYPE_VIDEO_LRAW_V2 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 5,
78  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
79  DW_CODEC_TYPE_VIDEO_XRAW DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 6,
80  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
81  DW_CODEC_TYPE_VIDEO_RAW DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 7,
82  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
83  DW_CODEC_TYPE_LIDAR_CUSTOM DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 8,
84  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
85  DW_CODEC_TYPE_LIDAR_HESAI_P128 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 9,
86  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
87  DW_CODEC_TYPE_LIDAR_HESAI_P128_V4P5 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 10,
88  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
89  DW_CODEC_TYPE_LIDAR_LUMINAR_H DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 11,
90  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
91  DW_CODEC_TYPE_LIDAR_OUSTER_OS1 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 12,
92  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
93  DW_CODEC_TYPE_LIDAR_OUSTER_OS2_128 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 13,
94  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
95  DW_CODEC_TYPE_LIDAR_VELODYNE_HDL32E DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 14,
96  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
97  DW_CODEC_TYPE_LIDAR_VELODYNE_HDL64E DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 15,
98  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
99  DW_CODEC_TYPE_LIDAR_VELODYNE_VLP16 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 16,
100  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
101  DW_CODEC_TYPE_LIDAR_VELODYNE_VLP16HR DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 17,
102  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
103  DW_CODEC_TYPE_LIDAR_VELODYNE_VLP32C DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 18,
104  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
105  DW_CODEC_TYPE_LIDAR_VELODYNE_VLS128 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 19,
106  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
107  DW_CODEC_TYPE_RADAR_CONTINENTAL_ARS430 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 20,
108  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
109  DW_CODEC_TYPE_RADAR_CONTINENTAL_ARS430CAN DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 21,
110  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
111  DW_CODEC_TYPE_RADAR_CONTINENTAL_ARS430RDI DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 22,
112  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
113  DW_CODEC_TYPE_RADAR_CONTINENTAL_ARS430RDI_V2 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 23,
114  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
115  DW_CODEC_TYPE_RADAR_CUSTOM DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 24,
116  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
117  DW_CODEC_TYPE_RADAR_DELPHI DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 25,
118  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
119  DW_CODEC_TYPE_IMU_BOSCH DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 26,
120  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
121  DW_CODEC_TYPE_IMU_CAN DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 27,
122  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
123  DW_CODEC_TYPE_IMU_CONTINENTAL DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 28,
124  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
125  DW_CODEC_TYPE_IMU_CUSTOM DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 29,
126  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
127  DW_CODEC_TYPE_IMU_DATASPEED DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 30,
128  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
129  DW_CODEC_TYPE_IMU_NOVATEL_ASCII DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 31,
130  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
131  DW_CODEC_TYPE_IMU_NOVATEL_BINARY DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 32,
132  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
133  DW_CODEC_TYPE_IMU_NV_SIM DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 33,
134  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
135  DW_CODEC_TYPE_IMU_XSENS_BINARY DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 34,
136  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
137  DW_CODEC_TYPE_IMU_XSENS_CAN DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 35,
138  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
139  DW_CODEC_TYPE_IMU_XSENS_NMEA DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 36,
140  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
141  DW_CODEC_TYPE_GPS_CUSTOM DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 37,
142  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
143  DW_CODEC_TYPE_GPS_DATASPEED DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 38,
144  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
145  DW_CODEC_TYPE_GPS_DW_BINARY DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 39,
146  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
147  DW_CODEC_TYPE_GPS_NMEA DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 40,
148  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
149  DW_CODEC_TYPE_GPS_NOVATEL DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 41,
150  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
151  DW_CODEC_TYPE_GPS_NOVATEL_BINARY DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 42,
152  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
153  DW_CODEC_TYPE_GPS_NOVATEL_ASCII DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 43,
154  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
155  DW_CODEC_TYPE_GPS_NV_SIM DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 44,
156  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
157  DW_CODEC_TYPE_GPS_UBLOX DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 45,
158  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
159  DW_CODEC_TYPE_GPS_XSENS_BINARY DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 46,
160  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
161  DW_CODEC_TYPE_CAN_DW_BINARY DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 47,
162  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
163  DW_CODEC_TYPE_TIMESENSOR_DW_BINARY DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 48,
164  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
165  DW_CODEC_TYPE_DATA_DW_BINARY DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 49,
166  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
167  DW_CODEC_TYPE_ION DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 50,
168  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
169  DW_CODEC_TYPE_ULTRASONIC_VALEO_USV DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 51,
170  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
171  DW_CODEC_TYPE_RADAR_CUSTOM_EX DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 52,
172  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
173  DW_CODEC_TYPE_LIDAR_CUSTOM_EX DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 53,
174  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
175  DW_CODEC_TYPE_RADAR_HELLA_ADAS6 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 54,
176  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
177  DW_CODEC_TYPE_LIDAR_LUMINAR_IRIS_2129 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 55,
178  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
179  DW_CODEC_TYPE_LIDAR_LUMINAR_IRIS_2142 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 56,
180  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
181  DW_CODEC_TYPE_VIDEO_JPEG DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 57,
182  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
183  DW_CODEC_TYPE_LIDAR_POINT_CLOUD_COMPRESSED DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 58,
184  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
185  DW_CODEC_TYPE_RADAR_IDC6 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 59,
186  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
187  DW_CODEC_TYPE_IMU_IDC6 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 60,
188  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
189  DW_CODEC_TYPE_GPS_IDC6 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 61,
190  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
191  DW_CODEC_TYPE_ROADCAST_AVMESSAGE DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 62,
192  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
193  DW_CODEC_TYPE_LIDAR_LUMINAR_SLIMV2 DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 63,
195  // coverity[misra_c_2012_directive_4_9_violation] Deviation Record: AV-NDAS-SWSADR-008
196  DW_CODEC_TYPE_COUNT DW_DEPRECATED_ENUMERATOR("dwCodecType deprecated") = 65,
197 } dwCodecType;
198 
200 typedef enum {
204 
206 typedef struct dwCodecMimeType
207 {
211 
214 
292 
294 typedef enum {
299 
301 typedef enum {
306 
313 typedef struct dwCodecPacket
314 {
316  uint64_t flags;
317 
320 
323 
325  uint8_t* data;
326 
328  uint64_t dataSizeBytes;
329 
330  void* reserved[4];
331 
344 } dwCodecPacket;
345 
351 {
352  uint32_t gopSize;
353  uint32_t bFrames;
354  uint32_t pFrames;
355  uint32_t quality;
356  uint32_t profile;
357  uint32_t level;
358  uint64_t averageBitRate;
359  uint64_t maxBitRate;
362 
368 {
369  uint8_t encoderInstance;
372 
377 typedef struct dwEncoderConfig
378 {
382 
383 #ifdef __cplusplus
384 }
385 #endif
386 
388 #endif // DW_SENSORS_CODECS_CODEC_H_
dwEncoderConfigRateControl
Encoder rate control parameters.
Definition: Codec.h:350
DW_MEDIA_TYPE_GPS
@ DW_MEDIA_TYPE_GPS
type of GPS
Definition: Codec.h:53
DW_CODEC_MIME_TYPE_IMU_NOVATEL_BINARY
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_NOVATEL_BINARY
DW_CODEC_CAPABILITY_UNSUPPORTED
@ DW_CODEC_CAPABILITY_UNSUPPORTED
unsupported Codec Capability
Definition: Codec.h:297
dwEncoderConfigNVMedia
struct dwEncoderConfigNVMedia dwEncoderConfigNVMedia
NVMedia encoder configs.
dwEncoderConfigRateControl
struct dwEncoderConfigRateControl dwEncoderConfigRateControl
Encoder rate control parameters.
dwEncoderConfigNVMedia::h265UltraFastEncodeEnable
uint8_t h265UltraFastEncodeEnable
flag used to represente whether fast encoded is enable for h265 ultra.
Definition: Codec.h:370
dwEncoderConfig
struct dwEncoderConfig dwEncoderConfig
Encoder specific configs.
DW_DEVBLK_CDI_MAX_EXPOSURES
#define DW_DEVBLK_CDI_MAX_EXPOSURES
Maximum number of HDR exposures per pixel row.
Definition: image/Image.h:300
DW_CODEC_MIME_TYPE_ULTRASONIC_VALEO_USV_BSAMPLE
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_ULTRASONIC_VALEO_USV_BSAMPLE
DW_CODEC_MIME_TYPE_IMU_CONTINENTAL
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_CONTINENTAL
dwEncoderConfigRateControl::maxBitRate
uint64_t maxBitRate
max bitrate for VBR mode
Definition: Codec.h:359
DW_CODEC_MIME_TYPE_VIDEO_H264_ANNEX_B
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_H264_ANNEX_B
DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP16
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP16
DW_CODEC_MIME_TYPE_RADAR_HELLA_ADAS6
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_RADAR_HELLA_ADAS6
DW_CODEC_MIME_TYPE_VIDEO_VP9
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_VP9
DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP16HR
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP16HR
dwCodecPacket
struct dwCodecPacket dwCodecPacket
Generic struct storing data output from codec.
Types.h
dwCodecPacket::exposureDurationUs
dwExposureDuration exposureDurationUs
Stores the exposure duration in microseconds.
Definition: Codec.h:339
DW_CODEC_MIME_TYPE_VIDEO_AV1
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_AV1
dwEncoderConfigRateControl::bFrames
uint32_t bFrames
Number of bFrames between two reference frames.
Definition: Codec.h:353
DW_CODEC_MIME_TYPE_GPS_NOVATEL_BINARY
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_NOVATEL_BINARY
DW_MEDIA_TYPE_DATA
@ DW_MEDIA_TYPE_DATA
type of data
Definition: Codec.h:55
DW_CODEC_MIME_TYPE_ROADCAST_AVMESSAGE
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_ROADCAST_AVMESSAGE
DW_CODEC_MIME_TYPE_IMU_CUSTOM
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_CUSTOM
dwCodecPacket::sofTimestampUs
dwTime_t sofTimestampUs
Stores the start of frame timestamp in microseconds.
Definition: Codec.h:333
DW_CODEC_MIME_TYPE_LIDAR_HESAI_P128_V4P5
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_HESAI_P128_V4P5
DW_MEDIA_TYPE_COUNT
@ DW_MEDIA_TYPE_COUNT
type of count
Definition: Codec.h:60
dwEncoderConfigNVMedia
NVMedia encoder configs.
Definition: Codec.h:367
Image.h
DW_CODEC_MIME_TYPE_IMU_XSENS_CAN
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_XSENS_CAN
DW_CODEC_MIME_TYPE_RADAR_CUSTOM_EX
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_RADAR_CUSTOM_EX
DW_MEDIA_TYPE_CAN
@ DW_MEDIA_TYPE_CAN
type of CAN
Definition: Codec.h:54
DW_CODEC_MIME_TYPE_GPS_NMEA
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_NMEA
DW_CODEC_MIME_TYPE_LIDAR_POINT_CLOUD_COMPRESSED
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_POINT_CLOUD_COMPRESSED
DW_ENCODER_RATE_CONTROL_MODE_VBR
@ DW_ENCODER_RATE_CONTROL_MODE_VBR
Variable Bitrate mode; aim for target (average) bitrate, but variates bitrate depending on local data...
Definition: Codec.h:304
DW_MEDIA_TYPE_IMU
@ DW_MEDIA_TYPE_IMU
type of IMU
Definition: Codec.h:52
DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_IRIS_2142
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_IRIS_2142
DW_CODEC_MIME_TYPE_GPS_CUSTOM
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_CUSTOM
DW_CODEC_TYPE_USE_CODEC_MIME_TYPE
@ DW_CODEC_TYPE_USE_CODEC_MIME_TYPE
Definition: Codec.h:194
dwEncoderConfigRateControl::averageBitRate
uint64_t averageBitRate
target bitrate for VBR and CBR modes
Definition: Codec.h:358
DW_MEDIA_TYPE_TIME
@ DW_MEDIA_TYPE_TIME
type of time
Definition: Codec.h:56
dwCodecPacket::dataSizeBytes
uint64_t dataSizeBytes
Size of the data pointer in bytes.
Definition: Codec.h:328
DW_CODEC_MIME_TYPE_IMU_XSENS_NMEA
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_XSENS_NMEA
DW_CODEC_MIME_TYPE_CAN_DW_BINARY
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_CAN_DW_BINARY
DW_CODEC_MIME_TYPE_IMU_DATASPEED
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_DATASPEED
dwCodecMaxLengths
dwCodecMaxLengths
Maximum length constants used by the codec subsystem.
Definition: Codec.h:200
DW_CODEC_MIME_TYPE_IMU_NV_SIM
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_NV_SIM
dwCodecPacket::moeTimestampUs
dwTime_t moeTimestampUs
Stores the middle of exposure timestamp in microseconds.
Definition: Codec.h:337
DW_ENCODER_RATE_CONTROL_MODE_CBR
@ DW_ENCODER_RATE_CONTROL_MODE_CBR
Constant Bitrate mode; constant bitrate throughout all data independently of data complexity.
Definition: Codec.h:303
dwCodecMimeType
Holds codec MIME type string.
Definition: Codec.h:206
dwEncoderConfig::nvMedia
dwEncoderConfigNVMedia nvMedia
config for nvmedia
Definition: Codec.h:380
DW_CODEC_MIME_TYPE_IMU_CAN
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_CAN
dwEncoderConfig
Encoder specific configs.
Definition: Codec.h:377
DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430RDI
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430RDI
DW_MEDIA_TYPE_METADATA
@ DW_MEDIA_TYPE_METADATA
type of metadata
Definition: Codec.h:59
dwCodecMimeType
struct dwCodecMimeType dwCodecMimeType
Holds codec MIME type string.
DW_MAX_CODEC_MIME_TYPE_LENGTH
@ DW_MAX_CODEC_MIME_TYPE_LENGTH
Maximum length of a codec MIME type string in bytes.
Definition: Codec.h:201
DW_CODEC_MIME_TYPE_UNK
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_UNK
DW_DEPRECATED_ENUMERATOR
@ DW_DEPRECATED_ENUMERATOR
Invalid means the IMU alignment is not yet valid, and the output data is not accurate.
Definition: Codec.h:67
DW_CODEC_MIME_TYPE_KINECT_DEPTH
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_KINECT_DEPTH
DW_CODEC_MIME_TYPE_TIMESENSOR_DW_BINARY
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_TIMESENSOR_DW_BINARY
DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_H
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_H
DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP32C
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLP32C
dwMediaType
dwMediaType
Media Type for Codec.
Definition: Codec.h:47
dwEncoderConfigRateControl::gopSize
uint32_t gopSize
number of pictures in one GOP(Group Of Pictures)
Definition: Codec.h:352
dwTime_t
int64_t dwTime_t
Definition: core/base/BasicTypes.h:65
DW_MEDIA_TYPE_RADAR
@ DW_MEDIA_TYPE_RADAR
type of radar
Definition: Codec.h:51
float32_t
float float32_t
Definition: core/base/BasicTypes.h:43
DW_MEDIA_TYPE_ULTRASONIC
@ DW_MEDIA_TYPE_ULTRASONIC
type of ultrasonic
Definition: Codec.h:58
DW_CODEC_MIME_TYPE_GPS_DW_BINARY
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_DW_BINARY
dwEncoderConfigRateControl::profile
uint32_t profile
MPEG-4 encoding Profile.
Definition: Codec.h:356
dwEncoderConfigRateControl::mode
dwEncoderRateControlMode mode
rate control mode
Definition: Codec.h:360
DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430
DW_MEDIA_TYPE_ROADCAST
@ DW_MEDIA_TYPE_ROADCAST
type of roadcast
Definition: Codec.h:57
DW_CODEC_MIME_TYPE_GPS_XSENS_BINARY
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_XSENS_BINARY
DW_CODEC_MIME_TYPE_VIDEO_LRAW
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_LRAW
char8_t
char char8_t
Definition: core/base/BasicTypes.h:55
DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLS128
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_VLS128
DW_CODEC_MIME_TYPE_DATA_DW_BINARY
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_DATA_DW_BINARY
dwEncoderConfigRateControl::pFrames
uint32_t pFrames
whether there should be p frames; boolean value
Definition: Codec.h:354
DW_CODEC_MIME_TYPE_RADAR_DELPHI
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_RADAR_DELPHI
DW_CODEC_TYPE_INVALID
@ DW_CODEC_TYPE_INVALID
Definition: Codec.h:65
DW_MAX_RAW_SIPL_HEADER_LENGTH
@ DW_MAX_RAW_SIPL_HEADER_LENGTH
Maximum length of a raw SIPL header in bytes.
Definition: Codec.h:202
DW_CODEC_CAPABILITY_SOFTWARE
@ DW_CODEC_CAPABILITY_SOFTWARE
Codec Capability for software.
Definition: Codec.h:296
DW_CODEC_MIME_TYPE_GPS_DATASPEED
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_DATASPEED
DW_CODEC_MIME_TYPE_ULTRASONIC_CONTI_CUS3_OBJECT
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_ULTRASONIC_CONTI_CUS3_OBJECT
DW_CODEC_MIME_TYPE_VIDEO_JPEG
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_JPEG
DW_CODEC_MIME_TYPE_VIDEO_H265_ANNEX_B
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_H265_ANNEX_B
DW_CODEC_MIME_TYPE_GPS_NOVATEL_ASCII
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_NOVATEL_ASCII
dwEncoderConfigRateControl::level
uint32_t level
MPEG-4 encoding Level range (1 - 6.2)
Definition: Codec.h:357
DW_ENCODER_RATE_CONTROL_MODE_CONSTQP
@ DW_ENCODER_RATE_CONTROL_MODE_CONSTQP
Constant QP mode.
Definition: Codec.h:302
dwCodecPacket::eofTimestampUs
dwTime_t eofTimestampUs
Stores the end of frame timestamp in microseconds.
Definition: Codec.h:335
dwCodecType
dwCodecType
Codec Type.
Definition: Codec.h:64
dwCodecPacket::data
uint8_t * data
Encoded data.
Definition: Codec.h:325
DW_CODEC_MIME_TYPE_IMU_BOSCH
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_BOSCH
dwCodecPacket::sensorTempCelsius
float32_t sensorTempCelsius
Stores the temperature in Celsius.
Definition: Codec.h:343
DW_CODEC_MIME_TYPE_VIDEO_H265
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_H265
DW_CODEC_MIME_TYPE_RADAR_IDC6
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_RADAR_IDC6
dwEncoderRateControlMode
dwEncoderRateControlMode
Encoder Rate Control Mode.
Definition: Codec.h:301
dwCodecPacket::pts
dwTime_t pts
Presentation time stamp, in microseconds.
Definition: Codec.h:319
dwCodecCapability
dwCodecCapability
Codec Capability.
Definition: Codec.h:294
DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_HDL32E
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_HDL32E
DW_MEDIA_TYPE_VIDEO
@ DW_MEDIA_TYPE_VIDEO
type of video
Definition: Codec.h:49
DW_CODEC_MIME_TYPE_GPS_UBLOX
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_UBLOX
dwCodecMimeType::mime
char8_t mime[DW_MAX_CODEC_MIME_TYPE_LENGTH]
Codec MIME type.
Definition: Codec.h:209
DW_CODEC_MIME_TYPE_ULTRASONIC_CONTI_CUS3_FSI_OBJECT
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_ULTRASONIC_CONTI_CUS3_FSI_OBJECT
DW_CODEC_MIME_TYPE_LIDAR_CUSTOM_EX
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_CUSTOM_EX
dwEncoderConfigRateControl::quality
uint32_t quality
Target quality, range(0 - 51); used for CONSTQP mode.
Definition: Codec.h:355
DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430CAN
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430CAN
DW_MEDIA_TYPE_UNKNOWN
@ DW_MEDIA_TYPE_UNKNOWN
invalid type
Definition: Codec.h:48
DW_CODEC_MIME_TYPE_VIDEO_XRAW
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_XRAW
DW_CODEC_MIME_TYPE_VIDEO_LRAW_V2
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_LRAW_V2
dwCodecPacket::reserved
void * reserved[4]
Definition: Codec.h:330
DW_CODEC_MIME_TYPE_KINECT_IR
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_KINECT_IR
dwCodecMimeTypeConst_t
dwCodecMimeType dwCodecMimeTypeConst_t
Constant MIME type.
Definition: Codec.h:213
DW_CODEC_MIME_TYPE_GPS_NOVATEL
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_NOVATEL
DW_CODEC_MIME_TYPE_LIDAR_OUSTER_OS2_128
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_OUSTER_OS2_128
DW_CODEC_MIME_TYPE_GPS_NV_SIM
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_NV_SIM
DW_CODEC_MIME_TYPE_IMU_NOVATEL_ASCII
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_NOVATEL_ASCII
DW_CODEC_MIME_TYPE_VIDEO_RAW
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_RAW
DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430RDI_V2
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_RADAR_CONTINENTAL_ARS430RDI_V2
DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_IRIS_2129
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_IRIS_2129
dwEncoderConfig::rateControl
dwEncoderConfigRateControl rateControl
config for rate control
Definition: Codec.h:379
DW_MEDIA_TYPE_LIDAR
@ DW_MEDIA_TYPE_LIDAR
type of lidar
Definition: Codec.h:50
dwExposureDuration
Per-row HDR exposure durations for the captured image.
Definition: image/Image.h:304
DW_CODEC_MIME_TYPE_LIDAR_CUSTOM
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_CUSTOM
DW_CODEC_MIME_TYPE_ION
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_ION
DW_CODEC_MIME_TYPE_IMU_XSENS_BINARY
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_XSENS_BINARY
dwCodecPacket::subExposureStartTimestampsUs
dwTime_t subExposureStartTimestampsUs[DW_DEVBLK_CDI_MAX_EXPOSURES]
Array to store the sub exposure start timestamp in microseconds.
Definition: Codec.h:341
DW_CODEC_MIME_TYPE_VIDEO_H264
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_VIDEO_H264
DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_SLIMV2
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_LUMINAR_SLIMV2
dwCodecPacket::dts
dwTime_t dts
Decoding time stamp, in microseconds.
Definition: Codec.h:322
DW_CODEC_MIME_TYPE_IMU_IDC6
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_IMU_IDC6
DW_CODEC_CAPABILITY_HARDWARE
@ DW_CODEC_CAPABILITY_HARDWARE
Codec Capability for hardware.
Definition: Codec.h:295
dwCodecPacket
Generic struct storing data output from codec.
Definition: Codec.h:313
DW_CODEC_MIME_TYPE_LIDAR_HESAI_P128
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_HESAI_P128
DW_CODEC_MIME_TYPE_LIDAR_OUSTER_OS1
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_OUSTER_OS1
DW_CODEC_MIME_TYPE_ULTRASONIC_VALEO_USV
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_ULTRASONIC_VALEO_USV
dwEncoderConfigNVMedia::encoderInstance
uint8_t encoderInstance
NVMedia-only.
Definition: Codec.h:369
DW_CODEC_MIME_TYPE_RADAR_CUSTOM
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_RADAR_CUSTOM
DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_HDL64E
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_LIDAR_VELODYNE_HDL64E
DW_CODEC_MIME_TYPE_GPS_IDC6
const dwCodecMimeTypeConst_t DW_CODEC_MIME_TYPE_GPS_IDC6
dwCodecPacket::flags
uint64_t flags
Any flags necessary for the frame.
Definition: Codec.h:316