[SDK]Restore the SDK version to v2.0.21

This commit is contained in:
jj
2024-12-03 10:16:41 +08:00
parent 6466fc84cb
commit b0945f9682
15 changed files with 11 additions and 32 deletions
@@ -245,16 +245,6 @@ OB_EXPORT uint32_t ob_filter_config_schema_list_get_count(const ob_filter_config
OB_EXPORT ob_filter_config_schema_item ob_filter_config_schema_list_get_item(const ob_filter_config_schema_list *config_schema_list, uint32_t index,
ob_error **error);
/**
* @brief Set the align to stream profile for the align filter.
* @breif It is useful when the align target stream dose not started (without any frame to get intrinsics and extrinsics).
*
* @param filter A filter object.
* @param align_to_stream_profile The align target stream profile.
* @param error Pointer to an error object that will be set if an error occurs.
*/
OB_EXPORT void ob_align_filter_set_align_to_stream_profile(ob_filter *filter, const ob_stream_profile *align_to_stream_profile, ob_error **error);
// The following interfaces are deprecated and are retained here for compatibility purposes.
#define ob_get_filter ob_filter_list_get_filter
#define ob_get_filter_name ob_filter_get_name
@@ -1,6 +1,9 @@
// Copyright (c) Orbbec Inc. All Rights Reserved.
// Licensed under the MIT License.
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2020 Orbbec Corporation. All Rights Reserved.
/**
* @file ObTypes.h
* @brief Provide structs commonly used in the SDK, enumerating constant definitions.
@@ -97,7 +97,7 @@ typedef enum {
/**
* @brief Software filter switch
*/
OB_PROP_DEPTH_NOISE_REMOVAL_FILTER_BOOL = 24,
OB_PROP_DEPTH_SOFT_FILTER_BOOL = 24,
/**
* @brief LDP status
@@ -105,14 +105,14 @@ typedef enum {
OB_PROP_LDP_STATUS_BOOL = 32,
/**
* @brief maxdiff for depth noise removal filter
* @brief soft filter maxdiff param
*/
OB_PROP_DEPTH_NOISE_REMOVAL_FILTER_MAX_DIFF_INT = 40,
OB_PROP_DEPTH_MAX_DIFF_INT = 40,
/**
* @brief maxSpeckleSize for depth noise removal filter
* @brief soft filter maxSpeckleSize
*/
OB_PROP_DEPTH_NOISE_REMOVAL_FILTER_MAX_SPECKLE_SIZE_INT = 41,
OB_PROP_DEPTH_MAX_SPECKLE_SIZE_INT = 41,
/**
* @brief Hardware d2c is on
@@ -759,9 +759,7 @@ typedef enum {
#define OB_PROP_LASER_ENERGY_LEVEL_INT OB_PROP_LASER_POWER_LEVEL_CONTROL_INT
#define OB_PROP_LASER_HW_ENERGY_LEVEL_INT OB_PROP_LASER_POWER_ACTUAL_LEVEL_INT
#define OB_PROP_DEVICE_USB3_REPEAT_IDENTIFY_BOOL OB_PROP_DEVICE_USB2_REPEAT_IDENTIFY_BOOL
#define OB_PROP_DEPTH_SOFT_FILTER_BOOL OB_PROP_DEPTH_NOISE_REMOVAL_FILTER_BOOL
#define OB_PROP_DEPTH_MAX_DIFF_INT OB_PROP_DEPTH_NOISE_REMOVAL_FILTER_MAX_DIFF_INT
#define OB_PROP_DEPTH_MAX_SPECKLE_SIZE_INT OB_PROP_DEPTH_NOISE_REMOVAL_FILTER_MAX_SPECKLE_SIZE_INT
#define OB_PROP_DEPTH_NOISE_REMOVAL_FILTER_BOOL OB_PROP_DEPTH_SOFT_FILTER_BOOL
/**
* @brief The data type used to describe all property settings