replace SDK to v1.4.3

This commit is contained in:
Joe Dong
2022-11-10 14:54:12 +08:00
parent d1996a6016
commit ca92f8cd79
19 changed files with 64 additions and 12 deletions
@@ -465,16 +465,23 @@ typedef enum {
FORMAT_I420_TO_RGB888, /**< \if English I420 to RGB888 \else I420转换为RGB888 \endif */
FORMAT_NV21_TO_RGB888, /**< \if English NV21 to RGB888 \else NV21转换为RGB888 \endif */
FORMAT_NV12_TO_RGB888, /**< \if English NV12 to RGB888 \else NV12转换为RGB888 \endif */
FORMAT_MJPEG_TO_I420, /**< \if English MJPG to I420 \else MJPG转换为I420\endif */
FORMAT_MJPG_TO_I420, /**< \if English MJPG to I420 \else MJPG转换为I420\endif */
FORMAT_RGB888_TO_BGR, /**< \if English RGB888 to BGR \else RGB888转换为BGR \endif */
FORMAT_MJPEG_TO_NV21, /**< \if English MJPG to NV21 \else MJPG转换为NV21 \endif */
FORMAT_MJPEG_TO_RGB888, /**< \if English MJPG to RGB888 \else MJPG转换为RGB888 \endif */
FORMAT_MJPEG_TO_BGR888, /**< \if English MJPG to BGR888 \else MJPG转换为BGR888 \endif */
FORMAT_MJPEG_TO_BGRA, /**< \if English MJPG to BGRA \else MJPG转换为BGRA \endif */
FORMAT_MJPG_TO_NV21, /**< \if English MJPG to NV21 \else MJPG转换为NV21 \endif */
FORMAT_MJPG_TO_RGB888, /**< \if English MJPG to RGB888 \else MJPG转换为RGB888 \endif */
FORMAT_MJPG_TO_BGR888, /**< \if English MJPG to BGR888 \else MJPG转换为BGR888 \endif */
FORMAT_MJPG_TO_BGRA, /**< \if English MJPG to BGRA \else MJPG转换为BGRA \endif */
FORMAT_UYVY_TO_RGB888, /**< \if English UYVY to RGB888 \else MJPG转换为RGB888 \endif */
} OBConvertFormat,
ob_convert_format;
// DEPRECATED: 仅用于旧版本程序兼容,会在后续迭代版本彻底删除
#define FORMAT_MJPEG_TO_I420 FORMAT_MJPG_TO_I420
#define FORMAT_MJPEG_TO_NV21 FORMAT_MJPG_TO_NV21
#define FORMAT_MJPEG_TO_RGB888 FORMAT_MJPG_TO_RGB888
#define FORMAT_MJPEG_TO_BGR888 FORMAT_MJPG_TO_BGR888
#define FORMAT_MJPEG_TO_BGRA FORMAT_MJPG_TO_BGRA
/**
* \if English
* @brief Enumeration of IMU sample rate values ​​(gyroscope or accelerometer)
@@ -171,8 +171,8 @@ ob_gyro_sample_rate ob_gyro_stream_profile_sample_rate(ob_stream_profile *profil
/**
* \if English
* @brief Match the corresponding ob_stream_profile through the passed parameters. If there are multiple matches, the first one in the list will be returned by
* default.
* @brief Match the corresponding ob_stream_profile through the passed parameters. If there are multiple matches,
* the first one in the list will be returned by default. If no matched profile found, will return error!
*
* @param profile_list Resolution list
* @param width Width, if you don't need to add matching conditions, you can pass 0
@@ -182,7 +182,7 @@ ob_gyro_sample_rate ob_gyro_stream_profile_sample_rate(ob_stream_profile *profil
* @param[out] error Log error messages
* @return ob_stream_profile* returns the matching profile
* \else
* @brief 通过传入的参数进行匹配对应的ob_stream_profile,若有多个匹配项默认返回列表中的第一个
* @brief 通过传入的参数进行匹配对应的ob_stream_profile。若有多个匹配项默认返回列表中的第一个, 若未找打匹配的项,则返回错误。
*
* @param profile_list 分辨率列表
* @param width 宽度, 如不要求加入匹配条件,可传0