Defines the codec types.
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... | |
struct dwCodecMimeType |
Data Fields | ||
---|---|---|
char8_t | mime[DW_MAX_CODEC_MIME_TYPE_LENGTH] | Codec MIME type. |
struct dwCodecPacket |
Data Fields | ||
---|---|---|
uint8_t * | data | Encoded data. |
uint64_t | dataSizeBytes | Size of the data pointer in bytes. |
dwTime_t | dts | Decoding time stamp, in microseconds. |
dwTime_t | eofTimestampUs | Stores the end of frame timestamp in microseconds. |
dwExposureDuration | exposureDurationUs | Stores the exposure duration in microseconds. |
uint64_t | flags | Any flags necessary for the frame. |
dwTime_t | moeTimestampUs | Stores the middle of exposure timestamp in microseconds. |
dwTime_t | pts | Presentation time stamp, in microseconds. |
void * | reserved[4] | |
float32_t | sensorTempCelsius | Stores the temperature in Celsius. |
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. |
struct dwEncoderConfig |
Data Fields | ||
---|---|---|
dwEncoderConfigNVMedia | nvMedia | config for nvmedia |
dwEncoderConfigRateControl | rateControl | config for rate control |
struct dwEncoderConfigNVMedia |
struct dwEncoderConfigRateControl |
Data Fields | ||
---|---|---|
uint64_t | averageBitRate | target bitrate for VBR and CBR modes |
uint32_t | bFrames | Number of bFrames between two reference frames. |
uint32_t | gopSize | number of pictures in one GOP(Group Of Pictures) |
uint32_t | level | MPEG-4 encoding Level range (1 - 6.2) |
uint64_t | maxBitRate | max bitrate for VBR mode |
dwEncoderRateControlMode | mode | rate control mode |
uint32_t | pFrames | whether there should be p frames; boolean value |
uint32_t | profile | MPEG-4 encoding Profile. |
uint32_t | quality | Target quality, range(0 - 51); used for CONSTQP mode. |
#define DW_CODEC_COMPLETE_PICTURE_FLAG (1 << 0) |
enum dwCodecCapability |
enum dwCodecMaxLengths |
enum dwCodecType |
Codec Type.
enum dwMediaType |
Media Type for Codec.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |