mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-09-12 03:00:20 +08:00
Update SDK to 0912_v1.10.14
This commit is contained in:
@@ -157,6 +157,25 @@ void ob_load_license(const char *filePath, const char *key, ob_error **error);
|
||||
*/
|
||||
void ob_load_license_from_data(const char *data, uint32_t dataLen, const char *key, ob_error **error);
|
||||
|
||||
/**
|
||||
* @brief Set the UVC backend for the specified context
|
||||
* This function configures the Universal Video Class (UVC) backend for the given context, allowing the selection of a specific backend for
|
||||
* video capture operations.
|
||||
*
|
||||
* @attention This function is only supported on Linux (ARM) platforms.
|
||||
* Some devices, like the Dabai series, do not support V4L2. Therefore, the default backend is LIBUVC. Ensure that the device
|
||||
* supports V4L2 before setting it as the backend.
|
||||
*
|
||||
* @param[in] context Pointer to the context object
|
||||
* @param[in] uvc_backend Specifies the UVC backend to use:
|
||||
* - `UVC_BACKEND_AUTO`: Automatically selects between
|
||||
* V4L2 or libuvc based on metadata support.
|
||||
* - `UVC_BACKEND_LIBUVC`: Forces the use of libuvc.
|
||||
* - `UVC_BACKEND_V4L2`: Forces the use of V4L2.
|
||||
* @param[out] error Pointer to an error object that will be populated if an error occurs.
|
||||
*/
|
||||
void ob_set_uvc_backend(ob_context *context, ob_uvc_backend uvc_backend, ob_error **error);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
@@ -206,6 +206,7 @@ typedef enum {
|
||||
OB_FRAME_IR_LEFT = 8, /**< Left IR frame */
|
||||
OB_FRAME_IR_RIGHT = 9, /**< Right IR frame */
|
||||
OB_FRAME_RAW_PHASE = 10, /**< Rawphase frame*/
|
||||
OB_FRAME_TYPE_COUNT, /**< The total number of frame types, is not a valid frame type */
|
||||
} OBFrameType,
|
||||
ob_frame_type;
|
||||
|
||||
@@ -1440,13 +1441,19 @@ typedef struct {
|
||||
int16_t y1_bottom;
|
||||
} AE_ROI, ob_region_of_interest, OBRegionOfInterest;
|
||||
|
||||
typedef struct {
|
||||
uint8_t enable;
|
||||
uint8_t offset0;
|
||||
uint8_t offset1;
|
||||
uint8_t reserved;
|
||||
} DISP_OFFSET_CONFIG, ob_disp_offset_config, OBDispOffsetConfig;
|
||||
|
||||
typedef struct{
|
||||
uint8_t enable;
|
||||
uint8_t offset0;
|
||||
uint8_t offset1;
|
||||
uint8_t reserved;
|
||||
}DISP_OFFSET_CONFIG,ob_disp_offset_config,OBDispOffsetConfig;
|
||||
typedef enum {
|
||||
UVC_BACKEND_AUTO = 0,
|
||||
UVC_BACKEND_LIBUVC = 1,
|
||||
UVC_BACKEND_V4L2 = 2,
|
||||
} UVC_BACKEND,
|
||||
ob_uvc_backend, OBUvcBackend;
|
||||
|
||||
/**
|
||||
* @brief Frame metadata types
|
||||
|
||||
@@ -143,5 +143,22 @@ public:
|
||||
* @param key The decryption key.
|
||||
*/
|
||||
static void loadLicenseFromData(const char *data, uint32_t dataLen, const char *key = OB_DEFAULT_DECRYPT_KEY);
|
||||
|
||||
/**
|
||||
* @brief Set the UVC backend for the specified context
|
||||
* This function configures the Universal Video Class (UVC) backend for the given context, allowing the selection of a specific backend for
|
||||
* video capture operations.
|
||||
*
|
||||
* @attention This function is only supported on Linux (ARM) platforms.
|
||||
* Some devices, like the Dabai series, do not support V4L2. Therefore, the default backend is LIBUVC. Ensure that the device
|
||||
* supports V4L2 before setting it as the backend.
|
||||
*
|
||||
* @param[in] uvcBackend Specifies the UVC backend to use:
|
||||
* - `UVC_BACKEND_AUTO`: Automatically selects between
|
||||
* V4L2 or libuvc based on metadata support.
|
||||
* - `UVC_BACKEND_LIBUVC`: Forces the use of libuvc.
|
||||
* - `UVC_BACKEND_V4L2`: Forces the use of V4L2.
|
||||
*/
|
||||
void setUVCBackend(OBUvcBackend uvcBackend);
|
||||
};
|
||||
} // namespace ob
|
||||
|
||||
@@ -1 +1 @@
|
||||
libOrbbecSDK.so.1.10.12
|
||||
libOrbbecSDK.so.1.10.14
|
||||
BIN
Binary file not shown.
@@ -1 +1 @@
|
||||
libOrbbecSDK.so.1.10.12
|
||||
libOrbbecSDK.so.1.10.14
|
||||
BIN
Binary file not shown.
@@ -1 +1 @@
|
||||
libOrbbecSDK.so.1.10.12
|
||||
libOrbbecSDK.so.1.10.14
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user