Update OrbbecSDK to v1.8.1

This commit is contained in:
lixiaobin
2023-10-11 09:39:26 +08:00
parent 1d0d78ceac
commit 897205b17d
32 changed files with 45 additions and 40 deletions
@@ -1,4 +1,4 @@
/**
/**
* @file Context.hpp
* @brief The SDK context class, which serves as the entry point to the underlying SDK. It is used to query device lists, handle device callbacks, and set the
* log level.
@@ -1,4 +1,4 @@
/**
/**
* @file Device.hpp
* @brief Device related types, including operations such as getting and creating a device, setting and obtaining device attributes, and obtaining sensors
*
@@ -1,4 +1,4 @@
/**
/**
* @file Error.hpp
* @brief This file defines the Error class, which describes abnormal errors within the SDK.
* Detailed information about the exception can be obtained through this class.
@@ -1,4 +1,4 @@
/**
/**
* @file Filter.hpp
* @brief This file contains the Filter class, which is the processing unit of the SDK that can perform point cloud generation, format conversion, and other
* functions.
@@ -1,4 +1,4 @@
/**
/**
* @file Frame.hpp
* @brief Frame related type, which is mainly used to obtain frame data and frame information.
*
@@ -1,4 +1,4 @@
/**
/**
* @file Pipeline.hpp
* @brief The SDK's advanced API type can quickly implement switching streaming and frame synchronization
* operations.
@@ -1,4 +1,4 @@
/**
/**
* @file RecordPlayback.hpp
* @brief Header file for recording and playback functions.
*/
@@ -1,4 +1,4 @@
/**
/**
* @file Sensor.hpp
* @brief Defines types related to sensors, which are used to obtain stream configurations, open and close streams, and set and get sensor properties.
*/
@@ -1,4 +1,4 @@
/**
/**
* @file StreamProfile.hpp
* @brief The stream profile related type is used to get information such as the width, height, frame rate, and format of the stream.
*/
@@ -200,13 +200,14 @@ public:
* @brief Match the corresponding video stream profile based on the passed-in parameters. If multiple Match are found, the first one in the list is
* returned by default. Throws an exception if no matching profile is found.
*
* @param width The width of the stream. Pass 0 if no matching condition is required.
* @param height The height of the stream. Pass 0 if no matching condition is required.
* @param format The type of the stream. Pass OB_FORMAT_UNKNOWN if no matching condition is required.
* @param fps The frame rate of the stream. Pass 0 if no matching condition is required.
* @param width The width of the stream. Pass OB_WIDTH_ANY if no matching condition is required.
* @param height The height of the stream. Pass OB_HEIGHT_ANY if no matching condition is required.
* @param format The type of the stream. Pass OB_FORMAT_ANY if no matching condition is required.
* @param fps The frame rate of the stream. Pass OB_FPS_ANY if no matching condition is required.
* @return std::shared_ptr<VideoStreamProfile> Return the matching resolution.
*/
const std::shared_ptr<VideoStreamProfile> getVideoStreamProfile(int width = 0, int height = 0, OBFormat format = OB_FORMAT_UNKNOWN, int fps = 0);
const std::shared_ptr<VideoStreamProfile> getVideoStreamProfile(int width = OB_WIDTH_ANY, int height = OB_HEIGHT_ANY, OBFormat format = OB_FORMAT_ANY,
int fps = OB_FPS_ANY);
/**
* @brief Match the corresponding accelerometer stream profile based on the passed-in parameters. If multiple Match are found, the first one in the list
@@ -1,4 +1,4 @@
/**
/**
* @file Types.hpp
* @brief Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes.h).
*/
@@ -1,4 +1,4 @@
/**
/**
* @file Version.hpp
* @brief Provides functions to retrieve version information of the SDK.
*/