OrbbecSDK 2.10.6
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
ObTypes.h
Go to the documentation of this file.
1// Copyright (c) Orbbec Inc. All Rights Reserved.
2// Licensed under the MIT License.
3
8
9#pragma once
10
11#include "Export.h"
12
13#include <stdbool.h>
14#include <stdint.h>
15
16#pragma pack(push, 1) // struct 1-byte align
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22typedef struct ob_context_t ob_context;
23typedef struct ob_device_t ob_device;
24typedef struct ob_device_info_t ob_device_info;
25typedef struct ob_device_list_t ob_device_list;
26typedef struct ob_record_device_t ob_record_device;
27typedef struct ob_playback_device_t ob_playback_device;
28typedef struct ob_camera_param_list_t ob_camera_param_list;
29typedef struct ob_sensor_t ob_sensor;
30typedef struct ob_sensor_list_t ob_sensor_list;
31typedef struct ob_stream_profile_t ob_stream_profile;
32typedef struct ob_stream_profile_list_t ob_stream_profile_list;
33typedef struct ob_frame_t ob_frame;
34typedef struct ob_filter_t ob_filter;
35typedef struct ob_filter_list_t ob_filter_list;
36typedef struct ob_pipeline_t ob_pipeline;
37typedef struct ob_config_t ob_config;
38typedef struct ob_application_config_t ob_application_config;
39typedef struct ob_depth_work_mode_list_t ob_depth_work_mode_list;
40typedef struct ob_device_preset_list_t ob_device_preset_list;
41typedef struct ob_filter_config_schema_list_t ob_filter_config_schema_list;
42typedef struct ob_device_frame_interleave_list_t ob_device_frame_interleave_list;
43typedef struct ob_preset_resolution_config_list_t ob_preset_resolution_config_list;
44typedef struct ob_color_preset_list_t ob_color_preset_list;
45
46#define OB_WIDTH_ANY 0
47#define OB_HEIGHT_ANY 0
48#define OB_FPS_ANY 0
49#define OB_FORMAT_ANY OB_FORMAT_UNKNOWN
50#define OB_PROFILE_DEFAULT 0
51#define OB_DEFAULT_STRIDE_BYTES 0
52#define OB_ACCEL_FULL_SCALE_RANGE_ANY OB_ACCEL_FS_UNKNOWN
53#define OB_ACCEL_SAMPLE_RATE_ANY OB_SAMPLE_RATE_UNKNOWN
54#define OB_GYRO_FULL_SCALE_RANGE_ANY OB_GYRO_FS_UNKNOWN
55#define OB_GYRO_SAMPLE_RATE_ANY OB_SAMPLE_RATE_UNKNOWN
56#define OB_LIDAR_SCAN_ANY OB_LIDAR_SCAN_UNKNOWN
57
61#define OB_PATH_MAX (1024)
62
74
119
132#define OB_LOG_SEVERITY_NONE OB_LOG_SEVERITY_OFF
133
158
169
178
199
221
245
250typedef enum {
251 OB_PIXEL_UNKNOWN = -1, // Unknown pixel type, or undefined pixel type for current frame
252 OB_PIXEL_DEPTH = 0, // Depth pixel type, the value of the pixel is the distance from the camera to the object
253 OB_PIXEL_DISPARITY = 2, // Disparity for structured light camera
254 OB_PIXEL_RAW_PHASE = 3, // Raw phase for tof camera
255 OB_PIXEL_TOF_DEPTH = 4, // Depth for tof camera
258
304
305#define OB_FORMAT_RGB888 OB_FORMAT_RGB // Alias of OB_FORMAT_RGB for compatibility
306#define OB_FORMAT_MJPEG OB_FORMAT_MJPG // Alias of OB_FORMAT_MJPG for compatibility
307
308// Check if the format is a fixed data size format
309#define IS_FIXED_SIZE_FORMAT(format) \
310 (format != OB_FORMAT_MJPG && format != OB_FORMAT_H264 && format != OB_FORMAT_H265 && format != OB_FORMAT_HEVC && format != OB_FORMAT_RLE \
311 && format != OB_FORMAT_RVL)
312
313// Check if the format is a packed format, which means the data of pixels is not continuous or bytes aligned in memory
314#define IS_PACKED_FORMAT(format) \
315 (format == OB_FORMAT_Y10 || format == OB_FORMAT_Y11 || format == OB_FORMAT_Y12 || format == OB_FORMAT_Y14 || format == OB_FORMAT_RLE)
316
344
360
377
381typedef struct {
382 uint8_t *data;
383 uint32_t size;
384 uint32_t offset;
385 uint32_t fullDataSize;
387
391typedef struct {
392 const uint8_t *data;
393 uint32_t dataSize;
395
399typedef struct {
400 int32_t cur;
401 int32_t max;
402 int32_t min;
403 int32_t step;
404 int32_t def;
406
410typedef struct {
411 float cur;
412 float max;
413 float min;
414 float step;
415 float def;
417
421typedef struct {
422 uint16_t cur;
423 uint16_t max;
424 uint16_t min;
425 uint16_t step;
426 uint16_t def;
428
432typedef struct {
433 uint8_t cur;
434 uint8_t max;
435 uint8_t min;
436 uint8_t step;
437 uint8_t def;
439
443typedef struct {
444 bool cur;
445 bool max;
446 bool min;
447 bool step;
448 bool def;
450
462
466typedef struct {
467 float fx;
468 float fy;
469 float cx;
470 float cy;
471 int16_t width;
472 int16_t height;
474
478typedef struct {
480 double randomWalk;
482 double bias[3];
483 double gravity[3];
485 double tempSlope[9];
487
499
503typedef struct {
504 float k1;
505 float k2;
506 float k3;
507 float k4;
508 float k5;
509 float k6;
510 float p1;
511 float p2;
514
522
534
541
552
565
580
591
600
604typedef struct {
605 uint32_t x;
606 uint32_t y;
607 uint32_t width;
608 uint32_t height;
610
639
640// DEPRECATED: Only used for old version program compatibility, will be completely deleted in subsequent iterative versions
641#define FORMAT_MJPEG_TO_I420 FORMAT_MJPG_TO_I420
642#define FORMAT_MJPEG_TO_NV21 FORMAT_MJPG_TO_NV21
643#define FORMAT_MJPEG_TO_BGRA FORMAT_MJPG_TO_BGRA
644#define FORMAT_YUYV_TO_RGB888 FORMAT_YUYV_TO_RGB
645#define FORMAT_I420_TO_RGB888 FORMAT_I420_TO_RGB
646#define FORMAT_NV21_TO_RGB888 FORMAT_NV21_TO_RGB
647#define FORMAT_NV12_TO_RGB888 FORMAT_NV12_TO_RGB
648#define FORMAT_UYVY_TO_RGB888 FORMAT_UYVY_TO_RGB
649#define FORMAT_MJPG_TO_RGB888 FORMAT_MJPG_TO_RGB
650#define FORMAT_MJPG_TO_BGR888 FORMAT_MJPG_TO_BGR
651#define FORMAT_MJPEG_TO_RGB888 FORMAT_MJPG_TO_RGB
652#define FORMAT_MJPEG_TO_BGR888 FORMAT_MJPG_TO_BGR
653#define FORMAT_RGB888_TO_BGR FORMAT_RGB_TO_BGR
654
679
697
713
722
737
742
754
758#define OB_SDK_STATUS_FRAME_DROP_DATA (1ULL << 0)
759#define OB_SDK_STATUS_FRAME_DROP_TIMESTAMP (1ULL << 1)
760#define OB_SDK_STATUS_FRAME_DROP_MATCH (1ULL << 2)
761#define OB_SDK_STATUS_FRAME_QUEUE_OVERFLOW (1ULL << 3)
762#define OB_SDK_STATUS_FRAME_WAIT_TIMEOUT (1ULL << 4)
763#define OB_SDK_STATUS_STREAM_NO_FRAME (1ULL << 5)
764
775
792
802
813
833
844
862
867typedef struct {
868 double zpd; // the distance to calib plane
869 double zpps; // zpps=z0/fx
870 float baseline; // baseline length, for monocular camera,it means the distance of laser to the center of IR-CMOS
871 double fx; // focus
872 uint8_t bitSize; // disparity bit size (raw disp bit size, for example: MX6000 is 12, MX6600 is 14)
873 float unit; // reference units: unit=10 denote 1cm; unit=1 denote 1mm; unit=0.5 denote 0.5mm; and so on
874 float minDisparity; // dual disparity coefficient
875 uint8_t packMode; // data pack mode
876 float dispOffset; // disparity offset, actual disp=chip disp + disp_offset
877 int32_t invalidDisp; // invalid disparity, usually is 0, dual IR add a auxiliary value.
878 int32_t dispIntPlace; // disp integer digits, default is 8, Gemini2 XL is 10
879 uint8_t isDualCamera; // 0 monocular camera, 1 dual camera
881
895typedef struct {
896 float x;
897 float y;
898 float z;
900
904typedef struct {
905 float x;
906 float y;
908
909typedef struct {
910 float *xTable;
911 float *yTable;
912 int width;
913 int height;
915
919typedef struct {
920 float x;
921 float y;
922 float z;
923 float r;
924 float g;
925 float b;
927
936
940typedef struct {
941 float x;
942 float y;
943 float z;
944 uint8_t reflectivity;
945 uint8_t tag;
947
951typedef struct {
952 float distance;
953 float theta;
954 float phi;
955 uint8_t reflectivity;
956 uint8_t tag;
958
967
977
985
1065
1123
1132
1152
1160
1164typedef enum {
1166 OB_HOLE_FILL_NEAREST = 1, // "max" means farest for depth, and nearest for disparity; FILL_NEAREST
1167 OB_HOLE_FILL_FAREST = 2, // FILL_FAREST
1170
1174
1175typedef struct {
1176 uint8_t radius; // window_size
1177 uint8_t magnitude; // magnitude
1178 uint16_t disp_diff; // smooth_delta
1180
1181typedef struct {
1182 uint8_t magnitude; // magnitude
1183 float alpha; // smooth_alpha
1184 uint16_t disp_diff; // smooth_delta
1185 uint16_t radius; // hole_fill
1187
1195
1204
1210
1220
1235
1245
1249typedef struct {
1253 uint8_t major;
1254
1258 uint8_t minor;
1259
1263 uint8_t patch;
1265
1269typedef enum {
1270 OB_CMD_VERSION_V0 = (uint16_t)0,
1271 OB_CMD_VERSION_V1 = (uint16_t)1,
1272 OB_CMD_VERSION_V2 = (uint16_t)2,
1273 OB_CMD_VERSION_V3 = (uint16_t)3,
1274
1275 OB_CMD_VERSION_NOVERSION = (uint16_t)0xfffe,
1276 OB_CMD_VERSION_INVALID = (uint16_t)0xffff,
1279
1303typedef struct {
1309 uint16_t dhcp;
1310
1314 uint8_t address[4];
1315
1319 uint8_t mask[4];
1320
1324 uint8_t gateway[4];
1326
1327#define OBDeviceIpAddrConfig OBNetIpConfig
1328#define ob_device_ip_addr_config OBNetIpConfig
1329
1330// IP bit masks
1331#define OB_NET_IP_FLAG_DHCP (0x01u)
1332#define OB_NET_IP_FLAG_PERSISTENT (0x02u)
1333
1352typedef struct {
1353 uint16_t flags;
1357 uint8_t address[4];
1358 uint8_t mask[4];
1359 uint8_t gateway[4];
1361
1365typedef enum {
1370
1381
1390
1401
1411
1443#define OB_FRAME_AGGREGATE_OUTPUT_FULL_FRAME_REQUIRE OB_FRAME_AGGREGATE_OUTPUT_ALL_TYPE_FRAME_REQUIRE
1444
1453
1469
1473typedef enum {
1479
1488
1589
1652
1680
1694
1698typedef struct {
1699
1707 uint8_t enable;
1709 uint32_t exposure_1;
1710 uint32_t gain_1;
1711 uint32_t exposure_2;
1712 uint32_t gain_2;
1714
1724
1744
1756
1763
1773
1782
1786typedef struct {
1787 uint16_t rGain;
1788 uint16_t bGain;
1789 uint16_t gGain;
1791
1796typedef enum {
1803
1811
1816
1822
1829
1836
1842
1847
1852
1857
1862
1867
1872
1877
1882
1888
1895
1900
1906
1911
1916
1921
1926
1931
1936
1941
1946
1951
1958
1963
1969
1974
1979
1984
1992
2022
2034
2044
2045// For compatibility
2046#define OB_FRAME_METADATA_TYPE_LASER_POWER_MODE OB_FRAME_METADATA_TYPE_LASER_POWER_LEVEL
2047#define OB_FRAME_METADATA_TYPE_EMITTER_MODE OB_FRAME_METADATA_TYPE_LASER_STATUS
2048#define START_OF_EXPOSURE OB_START_OF_EXPOSURE
2049#define MIDDLE_OF_EXPOSURE OB_MIDDLE_OF_EXPOSURE
2050#define END_OF_EXPOSURE OB_END_OF_EXPOSURE
2051
2063
2077
2085
2094
2103typedef void (*ob_file_send_callback)(ob_file_tran_state state, const char *message, uint8_t percent, void *user_data);
2104
2113typedef void (*ob_device_fw_update_callback)(ob_fw_update_state state, const char *message, uint8_t percent, void *user_data);
2114
2122typedef void (*ob_device_state_callback)(ob_device_state state, const char *message, void *user_data);
2123
2131typedef void (*ob_set_data_callback)(ob_data_tran_state state, uint8_t percent, void *user_data);
2132
2140typedef void (*ob_get_data_callback)(ob_data_tran_state state, ob_data_chunk *dataChunk, void *user_data);
2141
2148typedef void (*ob_media_state_callback)(ob_media_state state, void *user_data);
2149
2157typedef void (*ob_device_changed_callback)(ob_device_list *removed, ob_device_list *added, void *user_data);
2158
2159// typedef void (*ob_net_device_added_callback)(const char *added, void *user_data);
2160// typedef void (*ob_net_device_removed_callback)(const char *removed, void *user_data);
2161
2168typedef void (*ob_frame_callback)(ob_frame *frame, void *user_data);
2169#define ob_filter_callback ob_frame_callback
2170#define ob_playback_callback ob_frame_callback
2171
2178typedef void (*ob_frameset_callback)(ob_frame *frameset, void *user_data);
2179
2186typedef void(ob_frame_destroy_callback)(uint8_t *buffer, void *user_data);
2187
2195typedef void(ob_log_callback)(ob_log_severity severity, const char *message, void *user_data);
2196
2203typedef void (*ob_playback_status_changed_callback)(ob_playback_status status, void *user_data);
2204
2211typedef void (*ob_pipeline_status_callback)(ob_pipeline_status status, void *user_data);
2212
2217#define INVALID_CALLBACK_ID (0)
2218
2225#define ob_is_video_sensor_type(sensor_type) \
2226 (sensor_type == OB_SENSOR_COLOR || sensor_type == OB_SENSOR_COLOR_LEFT || sensor_type == OB_SENSOR_COLOR_RIGHT || sensor_type == OB_SENSOR_DEPTH \
2227 || sensor_type == OB_SENSOR_IR || sensor_type == OB_SENSOR_IR_LEFT || sensor_type == OB_SENSOR_IR_RIGHT || sensor_type == OB_SENSOR_CONFIDENCE)
2228
2235#define ob_is_video_stream_type(stream_type) \
2236 (stream_type == OB_STREAM_COLOR || stream_type == OB_STREAM_COLOR_LEFT || stream_type == OB_STREAM_COLOR_RIGHT || stream_type == OB_STREAM_DEPTH \
2237 || stream_type == OB_STREAM_IR || stream_type == OB_STREAM_IR_LEFT || stream_type == OB_STREAM_IR_RIGHT || stream_type == OB_STREAM_VIDEO \
2238 || stream_type == OB_STREAM_CONFIDENCE)
2239
2246#define is_ir_sensor(sensor_type) (sensor_type == OB_SENSOR_IR || sensor_type == OB_SENSOR_IR_LEFT || sensor_type == OB_SENSOR_IR_RIGHT)
2247#define isIRSensor is_ir_sensor
2248
2255#define is_color_sensor(sensor_type) (sensor_type == OB_SENSOR_COLOR || sensor_type == OB_SENSOR_COLOR_LEFT || sensor_type == OB_SENSOR_COLOR_RIGHT)
2256#define isColorSensor is_color_sensor
2257
2264#define is_ir_stream(stream_type) (stream_type == OB_STREAM_IR || stream_type == OB_STREAM_IR_LEFT || stream_type == OB_STREAM_IR_RIGHT)
2265#define isIRStream is_ir_stream
2266
2273#define is_color_stream(stream_type) (stream_type == OB_STREAM_COLOR || stream_type == OB_STREAM_COLOR_LEFT || stream_type == OB_STREAM_COLOR_RIGHT)
2274#define isColorStream is_color_stream
2275
2282#define is_ir_frame(frame_type) (frame_type == OB_FRAME_IR || frame_type == OB_FRAME_IR_LEFT || frame_type == OB_FRAME_IR_RIGHT)
2283#define isIRFrame is_ir_frame
2284
2291#define is_color_frame(frame_type) (frame_type == OB_FRAME_COLOR || frame_type == OB_FRAME_COLOR_LEFT || frame_type == OB_FRAME_COLOR_RIGHT)
2292#define isColorFrame is_color_frame
2293
2297#define OB_DEFAULT_DECRYPT_KEY (nullptr)
2298
2299#ifdef __cplusplus
2300}
2301#endif
2302
2303#pragma pack(pop)
struct ob_filter_list_t ob_filter_list
Definition ObTypes.h:35
struct ob_sensor_t ob_sensor
Definition ObTypes.h:29
struct ob_frame_t ob_frame
Definition ObTypes.h:33
enum OBDepthPrecisionLevel OBDepthUnit
void(*) ob_pipeline_status_callback(ob_pipeline_status status, void *user_data)
Callback for pipeline status notification.
Definition ObTypes.h:2211
struct OBAccelValue OBGyroValue
struct OBDataView ob_data_view
struct OBD2CTransform ob_d2c_transform
enum OBFormat ob_format
enum OBMediaType ob_media_type
enum ob_power_line_freq_mode OBPowerLineFreqMode
struct OBPoint2f ob_point2f
struct OBCameraParam ob_camera_param
void(*) ob_media_state_callback(ob_media_state state, void *user_data)
Callback for media status (recording and playback).
Definition ObTypes.h:2148
enum OBPipelineIssue ob_pipeline_issue
OBLiDARScanRate
Data structures for LiDAR scan rate.
Definition ObTypes.h:726
@ OB_LIDAR_SCAN_25HZ
Definition ObTypes.h:732
@ OB_LIDAR_SCAN_20HZ
Definition ObTypes.h:731
@ OB_LIDAR_SCAN_30HZ
Definition ObTypes.h:733
@ OB_LIDAR_SCAN_10HZ
Definition ObTypes.h:729
@ OB_LIDAR_SCAN_UNKNOWN
Definition ObTypes.h:727
@ OB_LIDAR_SCAN_15HZ
Definition ObTypes.h:730
@ OB_LIDAR_SCAN_5HZ
Definition ObTypes.h:728
@ OB_LIDAR_SCAN_40HZ
Definition ObTypes.h:734
enum OBDepthPrecisionLevel ob_depth_unit
OBSensorType
Enumeration value describing the sensor type.
Definition ObTypes.h:182
@ OB_SENSOR_CONFIDENCE
Definition ObTypes.h:192
@ OB_SENSOR_IR_RIGHT
Definition ObTypes.h:190
@ OB_SENSOR_COLOR_RIGHT
Definition ObTypes.h:195
@ OB_SENSOR_GYRO
Definition ObTypes.h:188
@ OB_SENSOR_COLOR
Definition ObTypes.h:185
@ OB_SENSOR_TYPE_COUNT
Definition ObTypes.h:196
@ OB_SENSOR_LIDAR
Definition ObTypes.h:193
@ OB_SENSOR_UNKNOWN
Definition ObTypes.h:183
@ OB_SENSOR_IR
Definition ObTypes.h:184
@ OB_SENSOR_DEPTH
Definition ObTypes.h:186
@ OB_SENSOR_IR_LEFT
Definition ObTypes.h:189
@ OB_SENSOR_ACCEL
Definition ObTypes.h:187
@ OB_SENSOR_RAW_PHASE
Definition ObTypes.h:191
@ OB_SENSOR_COLOR_LEFT
Definition ObTypes.h:194
enum OBSyncMode ob_sync_mode
enum OBUpgradeState ob_upgrade_state
struct OBAccelValue ob_float_3d
OBIMUSampleRate
Enumeration of IMU sample rate values (gyroscope or accelerometer).
Definition ObTypes.h:658
@ OB_SAMPLE_RATE_100_HZ
Definition ObTypes.h:666
@ OB_SAMPLE_RATE_4_KHZ
Definition ObTypes.h:671
@ OB_SAMPLE_RATE_800_HZ
Definition ObTypes.h:676
@ OB_SAMPLE_RATE_3_125_HZ
Definition ObTypes.h:661
@ OB_SAMPLE_RATE_6_25_HZ
Definition ObTypes.h:662
@ OB_SAMPLE_RATE_UNKNOWN
Definition ObTypes.h:659
@ OB_SAMPLE_RATE_500_HZ
Definition ObTypes.h:668
@ OB_SAMPLE_RATE_32_KHZ
Definition ObTypes.h:674
@ OB_SAMPLE_RATE_50_HZ
Definition ObTypes.h:665
@ OB_SAMPLE_RATE_1_5625_HZ
Definition ObTypes.h:660
@ OB_SAMPLE_RATE_12_5_HZ
Definition ObTypes.h:663
@ OB_SAMPLE_RATE_400_HZ
Definition ObTypes.h:675
@ OB_SAMPLE_RATE_1_KHZ
Definition ObTypes.h:669
@ OB_SAMPLE_RATE_200_HZ
Definition ObTypes.h:667
@ OB_SAMPLE_RATE_2_KHZ
Definition ObTypes.h:670
@ OB_SAMPLE_RATE_25_HZ
Definition ObTypes.h:664
@ OB_SAMPLE_RATE_16_KHZ
Definition ObTypes.h:673
@ OB_SAMPLE_RATE_8_KHZ
Definition ObTypes.h:672
struct OBDeviceSerialNumber ob_device_serial_number
struct OBPresetResolutionConfig ob_preset_resolution_ratio_config
struct OBSequenceIdItem ob_sequence_id_item
enum OBDCPowerState ob_dc_power_state
struct ob_camera_param_list_t ob_camera_param_list
Definition ObTypes.h:28
struct OBColorPoint ob_color_point
struct OBDeviceSyncConfig OB_DEVICE_SYNC_CONFIG
struct OBPoint OBPoint3f
OBStatus
error code
Definition ObTypes.h:78
@ OB_ERROR_DEVICE_RESPONSE_CHANNEL_FAILURE
Definition ObTypes.h:115
@ OB_ERROR_DEVICE_CONNECT_FAILED
Definition ObTypes.h:94
@ OB_ERROR_DEVICE_DISCONNECTED
Definition ObTypes.h:96
@ OB_ERROR_BUFFER_TOO_SMALL
Definition ObTypes.h:87
@ OB_ERROR_INVALID_DATA_LEN
Definition ObTypes.h:86
@ OB_ERROR_DEVICE_RESPONSE_WARNING
Definition ObTypes.h:114
@ OB_ERROR_DEVICE_ACCESS_DENIED
Definition ObTypes.h:95
@ OB_ERROR_DEVICE_UNKNOWN
Definition ObTypes.h:108
@ OB_ERROR_DEVICE_RESPONSE_WRONG_ID
Definition ObTypes.h:110
@ OB_ERROR_IO_FAILURE
Definition ObTypes.h:99
@ OB_ERROR_DEVICE_RESPONSE_WRONG_OPCODE
Definition ObTypes.h:111
@ OB_ERROR_INVALID_PARAMETER
Definition ObTypes.h:84
@ OB_ERROR_FRAME_DATA
Definition ObTypes.h:104
@ OB_ERROR_DEVICE_RESPONSE_ERROR
Definition ObTypes.h:113
@ OB_ERROR_RESOURCE_BUSY
Definition ObTypes.h:100
@ OB_ERROR_INVALID_DATA
Definition ObTypes.h:85
@ OB_ERROR_NOT_IMPLEMENTED
Definition ObTypes.h:90
@ OB_ERROR_MEMORY
Definition ObTypes.h:88
@ OB_ERROR_FRAME_DATA_LEN
Definition ObTypes.h:105
@ OB_ERROR_WRONG_API_CALL_SEQUENCE
Definition ObTypes.h:92
@ OB_ERROR_ITEM_NOT_FOUND
Definition ObTypes.h:98
@ OB_ERROR_WAIT_TIMEOUT
Definition ObTypes.h:89
@ OB_STATUS_OK
Definition ObTypes.h:79
@ OB_ERROR_FRAME_QUEUE_OVERFLOW
Definition ObTypes.h:103
@ OB_ERROR_UNSUPPORTED_OPERATION
Definition ObTypes.h:91
@ OB_ERROR_NO_DEVICE
Definition ObTypes.h:93
@ OB_STATUS_ERROR
Definition ObTypes.h:80
@ OB_ERROR_UNKNOWN
Definition ObTypes.h:81
@ OB_ERROR_DEVICE_RESPONSE_BAD_MAGIC
Definition ObTypes.h:109
@ OB_ERROR_DEVICE_UNAVAILABLE
Definition ObTypes.h:97
@ OB_ERROR_DEVICE_RESPONSE_WRONG_DATA_SIZE
Definition ObTypes.h:112
struct OBLiDARPoint ob_lidar_point
ob_device_access_mode
Device access mode for GVCP device.
Definition ObTypes.h:2055
@ OB_DEVICE_DEFAULT_ACCESS
Default access: control access for capable devices, ignored otherwise.
Definition ObTypes.h:2060
@ OB_DEVICE_MONITOR_ACCESS
Monitor access: read-only; no write or control privileges.
Definition ObTypes.h:2059
@ OB_DEVICE_ACCESS_DENIED
No access. This value is only used as a return value.
Definition ObTypes.h:2056
@ OB_DEVICE_EXCLUSIVE_ACCESS
Exclusive access: full read/write, no other application allowed; can preempt existing monitor access.
Definition ObTypes.h:2057
@ OB_DEVICE_CONTROL_ACCESS
Control access: read/write allowed; other applications permitted read-only monitor access.
Definition ObTypes.h:2058
void(*) ob_device_state_callback(ob_device_state state, const char *message, void *user_data)
Callback for device status.
Definition ObTypes.h:2122
struct ob_device_info_t ob_device_info
Definition ObTypes.h:24
struct OBHardwareDecimationConfig ob_hardware_decimation_config
enum OB_DDO_NOISE_REMOVAL_TYPE ob_ddo_noise_removal_type
OBGyroFullScaleRange
Enumeration of gyroscope ranges.
Definition ObTypes.h:683
@ OB_GYRO_FS_800dps
Definition ObTypes.h:694
@ OB_GYRO_FS_UNKNOWN
Definition ObTypes.h:684
@ OB_GYRO_FS_500dps
Definition ObTypes.h:690
@ OB_GYRO_FS_250dps
Definition ObTypes.h:689
@ OB_GYRO_FS_62dps
Definition ObTypes.h:687
@ OB_GYRO_FS_16dps
Definition ObTypes.h:685
@ OB_GYRO_FS_125dps
Definition ObTypes.h:688
@ OB_GYRO_FS_400dps
Definition ObTypes.h:693
@ OB_GYRO_FS_1000dps
Definition ObTypes.h:691
@ OB_GYRO_FS_31dps
Definition ObTypes.h:686
@ OB_GYRO_FS_2000dps
Definition ObTypes.h:692
struct BASELINE_CALIBRATION_PARAM ob_baseline_calibration_param
enum OB_EDGE_NOISE_REMOVAL_TYPE OBEdgeNoiseRemovalType
struct ob_context_t ob_context
Definition ObTypes.h:22
enum OBLogSeverity OBDeviceLogSeverityLevel
enum OBIMUSampleRate OB_SAMPLE_RATE
struct ob_stream_profile_t ob_stream_profile
Definition ObTypes.h:31
struct OBXYTables ob_xy_tables
uint64_t OBDeviceState
Device state.
Definition ObTypes.h:741
struct OBDeviceTemperature DEVICE_TEMPERATURE
void(*) ob_frame_callback(ob_frame *frame, void *user_data)
Callback for frame.
Definition ObTypes.h:2168
enum OBExceptionType ob_exception_type
enum OB_FRAME_AGGREGATE_OUTPUT_MODE ob_frame_aggregate_output_mode
ob_power_line_freq_mode
Power line frequency mode, for color camera anti-flicker configuration.
Definition ObTypes.h:1405
@ OB_POWER_LINE_FREQ_MODE_60HZ
60Hz
Definition ObTypes.h:1408
@ OB_POWER_LINE_FREQ_MODE_50HZ
50Hz
Definition ObTypes.h:1407
@ OB_POWER_LINE_FREQ_MODE_CLOSE
Close.
Definition ObTypes.h:1406
OBGvcpPortScheme
GVCP port scheme.
Definition ObTypes.h:173
@ OB_GVCP_PORT_SCHEME_STANDARD
Definition ObTypes.h:174
@ OB_GVCP_PORT_SCHEME_B
Definition ObTypes.h:175
OBMediaState
Enumeration for record playback status.
Definition ObTypes.h:837
@ OB_MEDIA_BEGIN
Definition ObTypes.h:838
@ OB_MEDIA_RESUME
Definition ObTypes.h:840
@ OB_MEDIA_END
Definition ObTypes.h:841
@ OB_MEDIA_PAUSE
Definition ObTypes.h:839
OBFormat
Enumeration value describing the pixel format.
Definition ObTypes.h:262
@ OB_FORMAT_YUYV
Definition ObTypes.h:264
@ OB_FORMAT_Y11
Definition ObTypes.h:275
@ OB_FORMAT_ACCEL
Definition ObTypes.h:280
@ OB_FORMAT_Y12C4
Definition ObTypes.h:297
@ OB_FORMAT_Y16
Definition ObTypes.h:272
@ OB_FORMAT_RGB_POINT
Definition ObTypes.h:283
@ OB_FORMAT_BA81
Definition ObTypes.h:293
@ OB_FORMAT_YV12
Definition ObTypes.h:292
@ OB_FORMAT_RGBA
Definition ObTypes.h:294
@ OB_FORMAT_BGR
Definition ObTypes.h:286
@ OB_FORMAT_Z16
Definition ObTypes.h:291
@ OB_FORMAT_Y12
Definition ObTypes.h:276
@ OB_FORMAT_BGRA
Definition ObTypes.h:288
@ OB_FORMAT_LIDAR_CALIBRATION
Definition ObTypes.h:301
@ OB_FORMAT_NV21
Definition ObTypes.h:268
@ OB_FORMAT_RGB
Definition ObTypes.h:285
@ OB_FORMAT_UNKNOWN
Definition ObTypes.h:263
@ OB_FORMAT_Y10
Definition ObTypes.h:274
@ OB_FORMAT_H265
Definition ObTypes.h:271
@ OB_FORMAT_UYVY
Definition ObTypes.h:266
@ OB_FORMAT_Y14
Definition ObTypes.h:287
@ OB_FORMAT_I420
Definition ObTypes.h:279
@ OB_FORMAT_YUY2
Definition ObTypes.h:265
@ OB_FORMAT_BYR2
Definition ObTypes.h:295
@ OB_FORMAT_RLE
Definition ObTypes.h:284
@ OB_FORMAT_MJPG
Definition ObTypes.h:269
@ OB_FORMAT_LIDAR_POINT
Definition ObTypes.h:298
@ OB_FORMAT_COMPRESSED
Definition ObTypes.h:289
@ OB_FORMAT_GRAY
Definition ObTypes.h:277
@ OB_FORMAT_H264
Definition ObTypes.h:270
@ OB_FORMAT_POINT
Definition ObTypes.h:282
@ OB_FORMAT_RVL
Definition ObTypes.h:290
@ OB_FORMAT_RW16
Definition ObTypes.h:296
@ OB_FORMAT_LIDAR_SCAN
Definition ObTypes.h:300
@ OB_FORMAT_GYRO
Definition ObTypes.h:281
@ OB_FORMAT_Y8
Definition ObTypes.h:273
@ OB_FORMAT_NV12
Definition ObTypes.h:267
@ OB_FORMAT_HEVC
Definition ObTypes.h:278
@ OB_FORMAT_LIDAR_SPHERE_POINT
Definition ObTypes.h:299
struct OBRect ob_rect
OBCameraDistortionModel
Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
Definition ObTypes.h:452
@ OB_DISTORTION_INVERSE_BROWN_CONRADY
Definition ObTypes.h:456
@ OB_DISTORTION_BROWN_CONRADY
Definition ObTypes.h:457
@ OB_DISTORTION_KANNALA_BRANDT4
Definition ObTypes.h:459
@ OB_DISTORTION_BROWN_CONRADY_K6
Definition ObTypes.h:458
@ OB_DISTORTION_MODIFIED_BROWN_CONRADY
Definition ObTypes.h:454
@ OB_DISTORTION_NONE
Definition ObTypes.h:453
struct OBNoiseRemovalFilterParams ob_noise_removal_filter_params
enum OBGyroFullScaleRange ob_gyro_full_scale_range
struct OBDeviceSerialNumber ob_serial_number
enum OBColorPreset ob_color_preset
enum OBUpgradeState OBFwUpdateState
OBDataTranState
Enumeration value describing the data transfer status.
Definition ObTypes.h:364
@ DATA_TRAN_ERR_TRAN_FAILED
Definition ObTypes.h:372
@ DATA_TRAN_STAT_VERIFYING
Definition ObTypes.h:368
@ DATA_TRAN_STAT_TRANSFERRING
Definition ObTypes.h:369
@ DATA_TRAN_ERR_OTHER
Definition ObTypes.h:374
@ DATA_TRAN_ERR_VERIFY_FAILED
Definition ObTypes.h:373
@ DATA_TRAN_ERR_UNSUPPORTED
Definition ObTypes.h:371
@ DATA_TRAN_STAT_DONE
Definition ObTypes.h:367
@ DATA_TRAN_ERR_BUSY
Definition ObTypes.h:370
@ DATA_TRAN_STAT_VERIFY_DONE
Definition ObTypes.h:365
@ DATA_TRAN_STAT_STOPPED
Definition ObTypes.h:366
enum OBClockType ob_clock_type
struct ob_stream_profile_list_t ob_stream_profile_list
Definition ObTypes.h:32
struct HDR_CONFIG OBHdrConfig
enum OBDepthCroppingMode OB_DEPTH_CROPPING_MODE
struct OBAccelIntrinsic ob_accel_intrinsic
struct ob_priv_filter_activate_options OBPrivFilterActivateOptions
Extensible options for activating a private filter instance.
OBTofFilterRange
Enumeration for TOF filter scene ranges.
Definition ObTypes.h:885
@ OB_TOF_FILTER_RANGE_LONG
Definition ObTypes.h:888
@ OB_TOF_FILTER_RANGE_CLOSE
Definition ObTypes.h:886
@ OB_TOF_FILTER_RANGE_MIDDLE
Definition ObTypes.h:887
@ OB_TOF_FILTER_RANGE_DEBUG
Definition ObTypes.h:889
void(*) ob_set_data_callback(ob_data_tran_state state, uint8_t percent, void *user_data)
Callback for writing data.
Definition ObTypes.h:2131
enum ob_multi_device_sync_mode OBMultiDeviceSyncMode
enum ob_frame_metadata_type OBFrameMetadataType
OBFrameType
Enumeration value describing the type of frame.
Definition ObTypes.h:225
@ OB_FRAME_IR_RIGHT
Definition ObTypes.h:236
@ OB_FRAME_ACCEL
Definition ObTypes.h:231
@ OB_FRAME_COLOR_RIGHT
Definition ObTypes.h:241
@ OB_FRAME_GYRO
Definition ObTypes.h:234
@ OB_FRAME_IR_LEFT
Definition ObTypes.h:235
@ OB_FRAME_LIDAR_POINTS
Definition ObTypes.h:239
@ OB_FRAME_COLOR_LEFT
Definition ObTypes.h:240
@ OB_FRAME_TYPE_COUNT
Definition ObTypes.h:242
@ OB_FRAME_VIDEO
Definition ObTypes.h:227
@ OB_FRAME_COLOR
Definition ObTypes.h:229
@ OB_FRAME_UNKNOWN
Definition ObTypes.h:226
@ OB_FRAME_RAW_PHASE
Definition ObTypes.h:237
@ OB_FRAME_SET
Definition ObTypes.h:232
@ OB_FRAME_CONFIDENCE
Definition ObTypes.h:238
@ OB_FRAME_POINTS
Definition ObTypes.h:233
@ OB_FRAME_IR
Definition ObTypes.h:228
@ OB_FRAME_DEPTH
Definition ObTypes.h:230
OBStreamType
Enumeration value describing the type of data stream.
Definition ObTypes.h:203
@ OB_STREAM_CONFIDENCE
Definition ObTypes.h:214
@ OB_STREAM_RAW_PHASE
Definition ObTypes.h:213
@ OB_STREAM_GYRO
Definition ObTypes.h:210
@ OB_STREAM_UNKNOWN
Definition ObTypes.h:204
@ OB_STREAM_IR
Definition ObTypes.h:206
@ OB_STREAM_TYPE_COUNT
Definition ObTypes.h:218
@ OB_STREAM_DEPTH
Definition ObTypes.h:208
@ OB_STREAM_COLOR_RIGHT
Definition ObTypes.h:217
@ OB_STREAM_IR_RIGHT
Definition ObTypes.h:212
@ OB_STREAM_IR_LEFT
Definition ObTypes.h:211
@ OB_STREAM_VIDEO
Definition ObTypes.h:205
@ OB_STREAM_COLOR_LEFT
Definition ObTypes.h:216
@ OB_STREAM_ACCEL
Definition ObTypes.h:209
@ OB_STREAM_LIDAR
Definition ObTypes.h:215
@ OB_STREAM_COLOR
Definition ObTypes.h:207
ob_uvc_backend_type
For Linux, there are two ways to access the UVC device, libuvc and v4l2. The backend type is used to ...
Definition ObTypes.h:1997
@ OB_UVC_BACKEND_TYPE_MSMF
Use MSMF backend to access the UVC device.
Definition ObTypes.h:2019
@ OB_UVC_BACKEND_TYPE_V4L2
Use v4l2 backend to access the UVC device.
Definition ObTypes.h:2014
@ OB_UVC_BACKEND_TYPE_LIBUVC
Use libuvc backend to access the UVC device.
Definition ObTypes.h:2008
@ OB_UVC_BACKEND_TYPE_AUTO
Auto detect system capabilities and device hint to select backend.
Definition ObTypes.h:2002
enum ob_device_access_state OBDeviceAccessState
enum OBCompressionMode ob_compression_mode
OBDeviceType
Enumeration for device types.
Definition ObTypes.h:806
@ OB_STRUCTURED_LIGHT_MONOCULAR_CAMERA
Definition ObTypes.h:808
@ OB_DEVICE_TYPE_UNKNOWN
Definition ObTypes.h:807
@ OB_TOF_CAMERA
Definition ObTypes.h:810
@ OB_STRUCTURED_LIGHT_BINOCULAR_CAMERA
Definition ObTypes.h:809
enum OBDeviceType ob_device_type
enum OB_DEVICE_DEVELOPMENT_MODE ob_device_development_mode
struct BASELINE_CALIBRATION_PARAM OBBaselineCalibrationParam
struct OBCompressionParams OB_COMPRESSION_PARAMS
struct OBNetIpConfigV2 ob_net_ip_config_v2
enum OB_CMD_VERSION ob_cmd_version
struct OBDisparityParam ob_disparity_param
struct ob_playback_device_t ob_playback_device
Definition ObTypes.h:27
struct OBDeviceSerialNumber OBSerialNumber
enum OBAccelFullScaleRange OB_ACCEL_FULL_SCALE_RANGE
struct ob_device_t ob_device
Definition ObTypes.h:23
enum OBDepthPrecisionLevel OB_DEPTH_PRECISION_LEVEL
struct AE_ROI ob_region_of_interest
enum OBStatus ob_error_code
OBDepthCroppingMode
Enumeration for depth crop modes.
Definition ObTypes.h:796
@ DEPTH_CROPPING_MODE_AUTO
Definition ObTypes.h:797
@ DEPTH_CROPPING_MODE_OPEN
Definition ObTypes.h:799
@ DEPTH_CROPPING_MODE_CLOSE
Definition ObTypes.h:798
struct OBEdgeNoiseRemovalFilterParams ob_edge_noise_removal_filter_params
enum OBCameraPerformanceMode ob_camera_performance_mode
struct OBCameraDistortion ob_camera_distortion
enum OBHoleFillingMode ob_hole_filling_mode
enum OB_DDO_NOISE_REMOVAL_TYPE OBDDONoiseRemovalType
Denoising method.
enum OBIMUSampleRate OBGyroSampleRate
enum OBTofFilterRange TOF_FILTER_RANGE
struct OBNetIpConfig ob_net_ip_config
struct ob_config_t ob_config
Definition ObTypes.h:37
enum OBLogSeverity ob_log_severity
OBExceptionType
The exception types in the SDK, through the exception type, you can easily determine the specific typ...
Definition ObTypes.h:138
@ OB_EXCEPTION_TYPE_PLATFORM
Definition ObTypes.h:142
@ OB_EXCEPTION_TYPE_UNKNOWN
Definition ObTypes.h:139
@ OB_EXCEPTION_TYPE_NOT_IMPLEMENTED
Definition ObTypes.h:146
@ OB_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE
Definition ObTypes.h:145
@ OB_EXCEPTION_TYPE_INVALID_VALUE
Definition ObTypes.h:144
@ OB_EXCEPTION_TYPE_UNSUPPORTED_OPERATION
Definition ObTypes.h:149
@ OB_EXCEPTION_TYPE_IO
Definition ObTypes.h:147
@ OB_EXCEPTION_TYPE_RESOURCE_BUSY
Definition ObTypes.h:154
@ OB_EXCEPTION_TYPE_INVALID_DATA
Definition ObTypes.h:152
@ OB_EXCEPTION_TYPE_NOT_FOUND
Definition ObTypes.h:153
@ OB_EXCEPTION_TYPE_DEVICE_UNAVAILABLE
Definition ObTypes.h:151
@ OB_EXCEPTION_TYPE_ACCESS_DENIED
Definition ObTypes.h:150
@ OB_EXCEPTION_TYPE_MEMORY
Definition ObTypes.h:148
@ OB_EXCEPTION_STD_EXCEPTION
Definition ObTypes.h:140
@ OB_EXCEPTION_TYPE_LICENSE_VERIFY_FAILED
Definition ObTypes.h:155
@ OB_EXCEPTION_TYPE_CAMERA_DISCONNECTED
Definition ObTypes.h:141
struct OBAccelValue ob_accel_value
struct OBCompressionParams ob_compression_params
void(*) ob_device_changed_callback(ob_device_list *removed, ob_device_list *added, void *user_data)
Callback for device change.
Definition ObTypes.h:2157
enum OBAlignMode ob_align_mode
void(*) ob_playback_status_changed_callback(ob_playback_status status, void *user_data)
Callback for playback status notification.
Definition ObTypes.h:2203
struct ob_filter_t ob_filter
Definition ObTypes.h:34
struct OBLiDARScanPoint ob_lidar_scan_point
OBAccelFullScaleRange
Enumeration of accelerometer ranges.
Definition ObTypes.h:701
@ OB_ACCEL_FS_4g
Definition ObTypes.h:704
@ OB_ACCEL_FS_16g
Definition ObTypes.h:706
@ OB_ACCEL_FS_2g
Definition ObTypes.h:703
@ OB_ACCEL_FS_8g
Definition ObTypes.h:705
@ OB_ACCEL_FS_12g
Definition ObTypes.h:709
@ OB_ACCEL_FS_UNKNOWN
Definition ObTypes.h:702
@ OB_ACCEL_FS_6g
Definition ObTypes.h:708
@ OB_ACCEL_FS_3g
Definition ObTypes.h:707
@ OB_ACCEL_FS_24g
Definition ObTypes.h:710
struct ob_margin_filter_config OBMarginFilterConfig
enum OB_COORDINATE_SYSTEM_TYPE ob_coordinate_system_type
enum OBLiDARScanRate OB_LIDAR_SCAN_RATE
struct OBCalibrationParam ob_calibration_param
void ob_log_callback(ob_log_severity severity, const char *message, void *user_data)
Callback for receiving log.
Definition ObTypes.h:2195
enum OBLogSeverity ob_device_log_severity_level
struct ob_depth_work_mode_list_t ob_depth_work_mode_list
Definition ObTypes.h:39
enum OBFileTranState ob_file_tran_state
OB_CMD_VERSION
Command version associated with property id.
Definition ObTypes.h:1269
@ OB_CMD_VERSION_NOVERSION
Definition ObTypes.h:1275
@ OB_CMD_VERSION_V0
Version 1.0.
Definition ObTypes.h:1270
@ OB_CMD_VERSION_V1
Version 2.0.
Definition ObTypes.h:1271
@ OB_CMD_VERSION_INVALID
Invalid version.
Definition ObTypes.h:1276
@ OB_CMD_VERSION_V3
Version 4.0.
Definition ObTypes.h:1273
@ OB_CMD_VERSION_V2
Version 3.0.
Definition ObTypes.h:1272
enum OBCommunicationType ob_communication_type
OBFileTranState
Enumeration value describing the file transfer status.
Definition ObTypes.h:348
@ FILE_TRAN_ERR_DDR
Definition ObTypes.h:352
@ FILE_TRAN_STAT_DONE
Definition ObTypes.h:350
@ FILE_TRAN_ERR_MD5_ERROR
Definition ObTypes.h:355
@ FILE_TRAN_ERR_NOT_ENOUGH_SPACE
Definition ObTypes.h:353
@ FILE_TRAN_ERR_WRITE_FLASH_ERROR
Definition ObTypes.h:356
@ FILE_TRAN_ERR_PATH_NOT_WRITABLE
Definition ObTypes.h:354
@ FILE_TRAN_ERR_TIMEOUT
Definition ObTypes.h:357
@ FILE_TRAN_STAT_PREPAR
Definition ObTypes.h:351
@ FILE_TRAN_STAT_TRANSFER
Definition ObTypes.h:349
OBCommunicationType
Device communication mode.
Definition ObTypes.h:1365
@ OB_COMM_NET
Ethernet.
Definition ObTypes.h:1367
@ OB_COMM_USB
USB.
Definition ObTypes.h:1366
enum OBUSBPowerState ob_usb_power_state
enum OBIMUSampleRate ob_accel_sample_rate
OBColorPreset
Color camera preset.
Definition ObTypes.h:1473
@ OB_WARM_BIASED_AWB
Warm Biased AWB for mixed lighting is designed for mixed illumination combining standard white light ...
Definition ObTypes.h:1485
@ OB_DEFAULT
Suitable for standard single-color-temperature lighting environments (e.g., typical indoor white LED ...
Definition ObTypes.h:1478
enum OBTofFilterRange ob_tof_filter_range
struct OBDeviceTemperature ob_device_temperature
void(*) ob_get_data_callback(ob_data_tran_state state, ob_data_chunk *dataChunk, void *user_data)
Callback for reading data.
Definition ObTypes.h:2140
struct OBDataChunk ob_data_chunk
enum ob_ip_source_type OBIpSourceType
struct OBUint8PropertyRange ob_uint8_property_range
enum OBConvertFormat ob_convert_format
enum OBStatus OBErrorCode
enum OBIMUSampleRate OBAccelSampleRate
enum OBStreamType ob_stream_type
enum OBDataTranState ob_data_tran_state
enum OBLiDARScanRate ob_lidar_scan_rate
OBSyncMode
Sync mode.
Definition ObTypes.h:990
@ OB_SYNC_MODE_STANDALONE
Standalone synchronize mode.
Definition ObTypes.h:1003
@ OB_SYNC_MODE_CLOSE
Close synchronize mode.
Definition ObTypes.h:996
@ OB_SYNC_MODE_PRIMARY
Primary synchronize mode.
Definition ObTypes.h:1010
@ OB_SYNC_MODE_PRIMARY_MCU_TRIGGER
MCU Primary synchronize mode.
Definition ObTypes.h:1027
@ OB_SYNC_MODE_SECONDARY
Secondary synchronize mode.
Definition ObTypes.h:1020
@ OB_SYNC_MODE_IR_IMU_SYNC
IR and IMU sync signal.
Definition ObTypes.h:1056
@ OB_SYNC_MODE_PRIMARY_SOFT_TRIGGER
Software trigger synchronize mode.
Definition ObTypes.h:1043
@ OB_SYNC_MODE_PRIMARY_IR_TRIGGER
IR Primary synchronize mode.
Definition ObTypes.h:1034
@ OB_SYNC_MODE_UNKNOWN
Unknown type.
Definition ObTypes.h:1061
@ OB_SYNC_MODE_SECONDARY_SOFT_TRIGGER
Software trigger synchronize mode as secondary device.
Definition ObTypes.h:1051
struct OBAccelValue ob_gyro_value
enum OB_DEVICE_DEVELOPMENT_MODE OBDeviceDevelopmentMode
enum OBUpgradeState ob_fw_update_state
struct OBPoint ob_point
struct ob_filter_config_schema_list_t ob_filter_config_schema_list
Definition ObTypes.h:41
ob_playback_status
The playback status of the media.
Definition ObTypes.h:2026
@ OB_PLAYBACK_UNKNOWN
Definition ObTypes.h:2027
@ OB_PLAYBACK_COUNT
Definition ObTypes.h:2031
@ OB_PLAYBACK_PLAYING
Definition ObTypes.h:2028
@ OB_PLAYBACK_STOPPED
Definition ObTypes.h:2030
@ OB_PLAYBACK_PAUSED
Definition ObTypes.h:2029
struct OBSpatialAdvancedFilterParams ob_spatial_advanced_filter_params
struct OBTofExposureThresholdControl ob_tof_exposure_threshold_control
struct OBDepthWorkMode ob_depth_work_mode
ob_device_access_state
Device access state queried from GVCP CCP without opening the device.
Definition ObTypes.h:2067
@ OB_DEVICE_ACCESS_STATE_CONTROLLED
The device has a controller; monitor access may still be available.
Definition ObTypes.h:2071
@ OB_DEVICE_ACCESS_STATE_UNREACHABLE
The device did not respond or the network path is unreachable.
Definition ObTypes.h:2073
@ OB_DEVICE_ACCESS_STATE_UNSUPPORTED
The device or current build does not support access-state query.
Definition ObTypes.h:2069
@ OB_DEVICE_ACCESS_STATE_FW_NOT_SUPPORTED
The device supports CCP, but the firmware version is too old.
Definition ObTypes.h:2074
@ OB_DEVICE_ACCESS_STATE_EXCLUSIVE
The device is held exclusively and cannot be accessed.
Definition ObTypes.h:2072
@ OB_DEVICE_ACCESS_STATE_UNKNOWN
The access state cannot be determined.
Definition ObTypes.h:2068
@ OB_DEVICE_ACCESS_STATE_AVAILABLE
The device is available for control access.
Definition ObTypes.h:2070
struct ob_device_timestamp_reset_config OBDeviceTimestampResetConfig
struct ob_application_config_t ob_application_config
Definition ObTypes.h:38
enum OB_COORDINATE_SYSTEM_TYPE OBCoordinateSystemType
enum OBCompressionMode OB_COMPRESSION_MODE
struct HDR_CONFIG ob_hdr_config
struct OBD2CTransform OBExtrinsic
enum OBMediaState OB_MEDIA_STATE_EM
struct OBLutNoiseRemovalFilterParams ob_lut_noise_removal_filter_params
OBClockType
Host-side timestamp clock type for device.
Definition ObTypes.h:2089
@ OB_CLOCK_TYPE_MONOTONIC
Definition ObTypes.h:2091
@ OB_CLOCK_TYPE_REALTIME
Definition ObTypes.h:2090
struct OBFloatPropertyRange ob_float_property_range
enum OB_FRAME_AGGREGATE_OUTPUT_MODE OBFrameAggregateOutputMode
OBDepthWorkModeTag
Preset tag.
Definition ObTypes.h:1127
@ OB_DEVICE_DEPTH_WORK_MODE
Definition ObTypes.h:1128
@ OB_CUSTOM_DEPTH_WORK_MODE
Definition ObTypes.h:1129
struct OBPipelineStatus ob_pipeline_status
OB_FRAME_AGGREGATE_OUTPUT_MODE
Frame aggregate output mode.
Definition ObTypes.h:1415
@ OB_FRAME_AGGREGATE_OUTPUT_COLOR_FRAME_REQUIRE
Color Frame Require output mode.
Definition ObTypes.h:1427
@ OB_FRAME_AGGREGATE_OUTPUT_ANY_SITUATION
FrameSet for any case will be output.
Definition ObTypes.h:1434
@ OB_FRAME_AGGREGATE_OUTPUT_DISABLE
Disable Frame Aggreate.
Definition ObTypes.h:1440
@ OB_FRAME_AGGREGATE_OUTPUT_ALL_TYPE_FRAME_REQUIRE
Only FrameSet that contains all types of data frames will be output.
Definition ObTypes.h:1419
struct OBFilterConfigSchemaItem ob_filter_config_schema_item
enum OBFilterConfigValueType ob_filter_config_value_type
OB_EDGE_NOISE_REMOVAL_TYPE
Definition ObTypes.h:1188
@ OB_MGA_FILTER
Definition ObTypes.h:1191
@ OB_MGC_FILTER
Definition ObTypes.h:1192
@ OB_MGH_FILTER
Definition ObTypes.h:1190
@ OB_MG_FILTER
Definition ObTypes.h:1189
struct OBBoolPropertyRange ob_bool_property_range
OB_DEVICE_DEVELOPMENT_MODE
Enumeration of device development modes.
Definition ObTypes.h:1457
@ OB_USER_MODE
User mode (default mode), which provides full camera device functionality.
Definition ObTypes.h:1461
@ OB_DEVELOPER_MODE
Developer mode, which allows developers to access the operating system and software/hardware resource...
Definition ObTypes.h:1466
struct OBDeviceSyncConfig ob_device_sync_config
enum ob_intra_camera_sync_reference OBIntraCameraSyncReference
struct ob_multi_device_sync_config OBMultiDeviceSyncConfig
enum OB_EDGE_NOISE_REMOVAL_TYPE ob_edge_noise_removal_type
OB_DDO_NOISE_REMOVAL_TYPE
Denoising method.
Definition ObTypes.h:1199
@ OB_NR_OVERALL
Definition ObTypes.h:1201
@ OB_NR_LUT
Definition ObTypes.h:1200
uint64_t ob_callback_id
Definition ObTypes.h:2216
enum OBDepthWorkModeTag ob_depth_work_mode_tag
enum ob_device_access_mode OBDeviceAccessMode
ob_multi_device_sync_mode
The synchronization mode of the device.
Definition ObTypes.h:1492
@ OB_MULTI_DEVICE_SYNC_MODE_IR_IMU_SYNC
IR and IMU sync mode.
Definition ObTypes.h:1575
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY
secondary mode
Definition ObTypes.h:1528
@ OB_MULTI_DEVICE_SYNC_MODE_SOFTWARE_TRIGGERING
software triggering mode
Definition ObTypes.h:1554
@ OB_MULTI_DEVICE_SYNC_MODE_HARDWARE_TRIGGERING
hardware triggering mode
Definition ObTypes.h:1570
@ OB_MULTI_DEVICE_SYNC_MODE_GROUP_ACTIONS
Group actions trigger mode.
Definition ObTypes.h:1586
@ OB_MULTI_DEVICE_SYNC_MODE_STANDALONE
standalone mode
Definition ObTypes.h:1506
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY_SYNCED
secondary synced mode
Definition ObTypes.h:1541
@ OB_MULTI_DEVICE_SYNC_MODE_PRIMARY
primary mode
Definition ObTypes.h:1515
@ OB_MULTI_DEVICE_SYNC_MODE_SOFTWARE_SYNCED
The device captures data in software synchronization mode, starting acquisition based on the system t...
Definition ObTypes.h:1580
@ OB_MULTI_DEVICE_SYNC_MODE_FREE_RUN
free run mode
Definition ObTypes.h:1499
OBPermissionType
the permission type of api or property
Definition ObTypes.h:66
@ OB_PERMISSION_DENY
Definition ObTypes.h:67
@ OB_PERMISSION_ANY
Definition ObTypes.h:71
@ OB_PERMISSION_READ
Definition ObTypes.h:68
@ OB_PERMISSION_READ_WRITE
Definition ObTypes.h:70
@ OB_PERMISSION_WRITE
Definition ObTypes.h:69
struct OBSpatialModerateFilterParams ob_spatial_moderate_filter_params
enum OBIMUSampleRate ob_gyro_sample_rate
struct AE_ROI OBRegionOfInterest
OBCompressionMode
Compression mode.
Definition ObTypes.h:962
@ OB_COMPRESSION_LOSSY
Definition ObTypes.h:964
@ OB_COMPRESSION_LOSSLESS
Definition ObTypes.h:963
OBDCPowerState
DC power status.
Definition ObTypes.h:1385
@ OB_DC_POWER_PLUGIN
Plugin.
Definition ObTypes.h:1387
@ OB_DC_POWER_NO_PLUGIN
No plugin.
Definition ObTypes.h:1386
enum OBGvcpPortScheme ob_gvcp_port_scheme
ob_intra_camera_sync_reference
Intra-camera Sync Reference based on the exposure start time, the exposure middle time,...
Definition ObTypes.h:2038
@ OB_MIDDLE_OF_EXPOSURE
Definition ObTypes.h:2040
@ OB_END_OF_EXPOSURE
Definition ObTypes.h:2041
@ OB_START_OF_EXPOSURE
Definition ObTypes.h:2039
enum OBAccelFullScaleRange ob_accel_full_scale_range
void ob_frame_destroy_callback(uint8_t *buffer, void *user_data)
Customize the delete callback.
Definition ObTypes.h:2186
struct OBNetIpConfig DEVICE_IP_ADDR_CONFIG
struct OBIntPropertyRange ob_int_property_range
struct OBGyroIntrinsic ob_gyro_intrinsic
enum ob_uvc_backend_type OBUvcBackendType
struct ob_device_frame_interleave_list_t ob_device_frame_interleave_list
Definition ObTypes.h:42
struct OBD2CTransform ob_transform
OBUpgradeState
Enumeration value describing the firmware upgrade status.
Definition ObTypes.h:320
@ ERR_TRANSFER
Definition ObTypes.h:341
@ ERR_DDR
Definition ObTypes.h:335
@ STAT_DONE
Definition ObTypes.h:325
@ ERR_IMAGE_SIZE
Definition ObTypes.h:333
@ STAT_IN_PROGRESS
Definition ObTypes.h:326
@ ERR_OTHER
Definition ObTypes.h:334
@ STAT_VERIFY_IMAGE
Definition ObTypes.h:328
@ ERR_FLASH_TYPE
Definition ObTypes.h:332
@ ERR_FILE_READ
Definition ObTypes.h:340
@ ERR_VERIFY
Definition ObTypes.h:329
@ ERR_ERASE
Definition ObTypes.h:331
@ STAT_VERIFY_SUCCESS
Definition ObTypes.h:323
@ ERR_MISMATCH
Definition ObTypes.h:337
@ ERR_UNSUPPORT_DEV
Definition ObTypes.h:338
@ STAT_DONE_REBOOT_AND_REUPDATE
Definition ObTypes.h:321
@ STAT_START
Definition ObTypes.h:327
@ ERR_INVALID_COUNT
Definition ObTypes.h:339
@ ERR_TIMEOUT
Definition ObTypes.h:336
@ STAT_FILE_TRANSFER
Definition ObTypes.h:324
@ STAT_DONE_WITH_DUPLICATES
Definition ObTypes.h:322
@ ERR_PROGRAM
Definition ObTypes.h:330
OBUSBPowerState
USB power status.
Definition ObTypes.h:1374
@ OB_USB_POWER_5V_1A5
5V/1.5A
Definition ObTypes.h:1377
@ OB_USB_POWER_5V_3A0
5V/3.0A
Definition ObTypes.h:1378
@ OB_USB_POWER_5V_0A9
5V/0.9A
Definition ObTypes.h:1376
@ OB_USB_POWER_NO_PLUGIN
No plugin.
Definition ObTypes.h:1375
enum OB_CMD_VERSION OBCmdVersion
struct OBD2CTransform OBTransform
enum OBSyncMode OB_SYNC_MODE
struct ob_device_list_t ob_device_list
Definition ObTypes.h:25
struct OBAccelValue OBFloat3D
OBPixelType
Enumeration value describing the pixel type of frame (usually used for depth frame).
Definition ObTypes.h:250
@ OB_PIXEL_DISPARITY
Definition ObTypes.h:253
@ OB_PIXEL_UNKNOWN
Definition ObTypes.h:251
@ OB_PIXEL_DEPTH
Definition ObTypes.h:252
@ OB_PIXEL_TOF_DEPTH
Definition ObTypes.h:255
@ OB_PIXEL_RAW_PHASE
Definition ObTypes.h:254
struct ob_device_preset_list_t ob_device_preset_list
Definition ObTypes.h:40
enum OBFrameType ob_frame_type
struct OBSpatialFastFilterParams ob_spatial_fast_filter_params
struct ob_preset_resolution_config_list_t ob_preset_resolution_config_list
Definition ObTypes.h:43
enum ob_playback_status OBPlaybackStatus
enum OBCameraDistortionModel ob_camera_distortion_model
void(*) ob_device_fw_update_callback(ob_fw_update_state state, const char *message, uint8_t percent, void *user_data)
Callback for firmware upgrade.
Definition ObTypes.h:2113
enum OBDeviceType OB_DEVICE_TYPE
uint64_t OBCallbackId
Callback Id.
Definition ObTypes.h:2216
uint64_t ob_device_state
Definition ObTypes.h:741
ob_ip_source_type
Definition ObTypes.h:2078
@ OB_IP_SOURCE_PERSISTENT
Persistent IP (Static IP stored in memory).
Definition ObTypes.h:2082
@ OB_IP_SOURCE_NONE
No IP configuration active (e.g. USB device).
Definition ObTypes.h:2079
@ OB_IP_SOURCE_LLA
LLA (Link-Local Address / Auto IP).
Definition ObTypes.h:2080
@ OB_IP_SOURCE_DHCP
DHCP (Dynamic Host Configuration Protocol).
Definition ObTypes.h:2081
OBHoleFillingMode
Hole fillig mode.
Definition ObTypes.h:1164
@ OB_HOLE_FILL_FAREST
Definition ObTypes.h:1167
@ OB_HOLE_FILL_NEAREST
Definition ObTypes.h:1166
@ OB_HOLE_FILL_TOP
Definition ObTypes.h:1165
enum OBSensorType ob_sensor_type
enum OBDepthPrecisionLevel ob_depth_precision_level
OBCameraPerformanceMode
Camera performance mode.
Definition ObTypes.h:595
@ HIGH_PERFORMANCE_MODE
Definition ObTypes.h:597
@ ADAPTIVE_PERFORMANCE_MODE
Definition ObTypes.h:596
struct OBD2CTransform ob_extrinsic
struct OBLiDARSpherePoint ob_lidar_sphere_point
struct OBDispOffsetConfig ob_disp_offset_config
struct ob_color_preset_list_t ob_color_preset_list
Definition ObTypes.h:44
struct ob_sensor_list_t ob_sensor_list
Definition ObTypes.h:30
struct OBProtocolVersion ob_protocol_version
void(*) ob_frameset_callback(ob_frame *frameset, void *user_data)
Callback for frameset.
Definition ObTypes.h:2178
enum ob_rotate_degree_type OBRotateDegreeType
struct ob_pipeline_t ob_pipeline
Definition ObTypes.h:36
enum OBGyroFullScaleRange OB_GYRO_FULL_SCALE_RANGE
enum OBMediaState ob_media_state
OBAlignMode
Alignment mode.
Definition ObTypes.h:584
@ ALIGN_D2C_HW_MODE
Definition ObTypes.h:586
@ ALIGN_C2D_SW_MODE
Definition ObTypes.h:588
@ ALIGN_DISABLE
Definition ObTypes.h:585
@ ALIGN_D2C_SW_MODE
Definition ObTypes.h:587
enum OBMediaType OB_MEDIA_TYPE
struct OBTofExposureThresholdControl TOF_EXPOSURE_THRESHOLD_CONTROL
struct OBPoint ob_point3f
ob_frame_metadata_type
Frame metadata types.
Definition ObTypes.h:1796
@ OB_FRAME_METADATA_TYPE_POWER_LINE_FREQUENCY
Power line frequency.
Definition ObTypes.h:1887
@ OB_FRAME_METADATA_TYPE_SATURATION
Saturation.
Definition ObTypes.h:1861
@ OB_FRAME_METADATA_TYPE_AE_ROI_TOP
Top region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1920
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_SIZE
HDR sequence size.
Definition ObTypes.h:1945
@ OB_FRAME_METADATA_TYPE_FRAME_NUMBER
The number of current frame.
Definition ObTypes.h:1815
@ OB_FRAME_METADATA_TYPE_SHARPNESS
Sharpness.
Definition ObTypes.h:1866
@ OB_FRAME_METADATA_TYPE_MANUAL_WHITE_BALANCE
Manual white balance setting.
Definition ObTypes.h:1899
@ OB_FRAME_METADATA_TYPE_AE_ROI_LEFT
Left region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1915
@ OB_FRAME_METADATA_TYPE_SENSOR_TIMESTAMP
Timestamp in the middle of the capture.
Definition ObTypes.h:1810
@ OB_FRAME_METADATA_TYPE_COUNT
The number of frame metadata types, using for types iterating.
Definition ObTypes.h:1989
@ OB_FRAME_METADATA_TYPE_BRIGHTNESS
Brightness.
Definition ObTypes.h:1851
@ OB_FRAME_METADATA_TYPE_CONTRAST
Contrast.
Definition ObTypes.h:1856
@ OB_FRAME_METADATA_TYPE_HUE
Hue.
Definition ObTypes.h:1876
@ OB_FRAME_METADATA_TYPE_AE_ROI_BOTTOM
Bottom region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1930
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_INDEX
HDR sequence index.
Definition ObTypes.h:1950
@ OB_FRAME_METADATA_TYPE_LASER_STATUS
Laser status.
Definition ObTypes.h:1968
@ OB_FRAME_METADATA_TYPE_WHITE_BALANCE
White balance.
Definition ObTypes.h:1846
@ OB_FRAME_METADATA_TYPE_AE_ROI_RIGHT
Right region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1925
@ OB_FRAME_METADATA_TYPE_DISPARITY_SEARCH_RANGE
disparity search range
Definition ObTypes.h:1983
@ OB_FRAME_METADATA_TYPE_GAIN
Gain.
Definition ObTypes.h:1835
@ OB_FRAME_METADATA_TYPE_LASER_POWER_LEVEL
Laser power level.
Definition ObTypes.h:1962
@ OB_FRAME_METADATA_TYPE_GPIO_INPUT_DATA
GPIO input data.
Definition ObTypes.h:1973
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_NAME
HDR sequence name.
Definition ObTypes.h:1940
@ OB_FRAME_METADATA_TYPE_EXPOSURE_PRIORITY
Exposure priority.
Definition ObTypes.h:1935
@ OB_FRAME_METADATA_TYPE_AUTO_WHITE_BALANCE
Auto white balance status.
Definition ObTypes.h:1841
@ OB_FRAME_METADATA_TYPE_BACKLIGHT_COMPENSATION
Backlight compensation.
Definition ObTypes.h:1871
@ OB_FRAME_METADATA_TYPE_TIMESTAMP
Timestamp when the frame is captured.
Definition ObTypes.h:1802
@ OB_FRAME_METADATA_TYPE_ACTUAL_FRAME_RATE
Actual frame rate.
Definition ObTypes.h:1905
@ OB_FRAME_METADATA_TYPE_LOW_LIGHT_COMPENSATION
Low light compensation.
Definition ObTypes.h:1894
@ OB_FRAME_METADATA_TYPE_LASER_POWER
Laser power value in mW.
Definition ObTypes.h:1957
@ OB_FRAME_METADATA_TYPE_FRAME_RATE
Frame rate.
Definition ObTypes.h:1910
@ OB_FRAME_METADATA_TYPE_DISPARITY_SEARCH_OFFSET
disparity search offset value
Definition ObTypes.h:1978
@ OB_FRAME_METADATA_TYPE_EXPOSURE
Exposure time.
Definition ObTypes.h:1828
@ OB_FRAME_METADATA_TYPE_GAMMA
Gamma.
Definition ObTypes.h:1881
@ OB_FRAME_METADATA_TYPE_AUTO_EXPOSURE
Auto exposure status.
Definition ObTypes.h:1821
OBDepthPrecisionLevel
Enumeration for depth precision levels.
Definition ObTypes.h:850
@ OB_PRECISION_0MM05
Definition ObTypes.h:857
@ OB_PRECISION_UNKNOWN
Definition ObTypes.h:858
@ OB_PRECISION_0MM8
Definition ObTypes.h:852
@ OB_PRECISION_0MM5
Definition ObTypes.h:856
@ OB_PRECISION_1MM
Definition ObTypes.h:851
@ OB_PRECISION_COUNT
Definition ObTypes.h:859
@ OB_PRECISION_0MM4
Definition ObTypes.h:853
@ OB_PRECISION_0MM2
Definition ObTypes.h:855
@ OB_PRECISION_0MM1
Definition ObTypes.h:854
ob_rotate_degree_type
Rotate degree.
Definition ObTypes.h:1394
@ OB_ROTATE_DEGREE_0
Rotate 0.
Definition ObTypes.h:1395
@ OB_ROTATE_DEGREE_90
Rotate 90.
Definition ObTypes.h:1396
@ OB_ROTATE_DEGREE_180
Rotate 180.
Definition ObTypes.h:1397
@ OB_ROTATE_DEGREE_270
Rotate 270.
Definition ObTypes.h:1398
void(*) ob_file_send_callback(ob_file_tran_state state, const char *message, uint8_t percent, void *user_data)
Callback for file transfer.
Definition ObTypes.h:2103
enum OBStatus ob_status
struct ob_record_device_t ob_record_device
Definition ObTypes.h:26
OBConvertFormat
Enumeration of format conversion types.
Definition ObTypes.h:614
@ FORMAT_MJPG_TO_NV21
Definition ObTypes.h:621
@ FORMAT_NV12_TO_RGB
Definition ObTypes.h:618
@ FORMAT_BGRA_TO_BGR
Definition ObTypes.h:634
@ FORMAT_YUYV_TO_Y8
Definition ObTypes.h:632
@ FORMAT_YUYV_TO_RGBA
Definition ObTypes.h:629
@ FORMAT_UYVY_TO_RGB
Definition ObTypes.h:625
@ FORMAT_MJPG_TO_BGR
Definition ObTypes.h:623
@ FORMAT_NV21_TO_RGB
Definition ObTypes.h:617
@ FORMAT_Y16_TO_RGB
Definition ObTypes.h:635
@ FORMAT_RGB_TO_BGR
Definition ObTypes.h:620
@ FORMAT_BGR_TO_RGB
Definition ObTypes.h:626
@ FORMAT_MJPG_TO_BGRA
Definition ObTypes.h:624
@ FORMAT_MJPG_TO_I420
Definition ObTypes.h:619
@ FORMAT_YUYV_TO_RGB
Definition ObTypes.h:615
@ FORMAT_YUYV_TO_BGR
Definition ObTypes.h:628
@ FORMAT_MJPG_TO_NV12
Definition ObTypes.h:627
@ FORMAT_YUYV_TO_Y16
Definition ObTypes.h:631
@ FORMAT_I420_TO_RGB
Definition ObTypes.h:616
@ FORMAT_MJPG_TO_RGB
Definition ObTypes.h:622
@ FORMAT_YUYV_TO_BGRA
Definition ObTypes.h:630
@ FORMAT_Y8_TO_RGB
Definition ObTypes.h:636
@ FORMAT_RGBA_TO_RGB
Definition ObTypes.h:633
enum OBCommunicationType OB_COMMUNICATION_TYPE
enum OBLogSeverity DEVICE_LOG_SEVERITY_LEVEL
struct OBUint16PropertyRange ob_uint16_property_range
struct OBAwbGainParams ob_awb_gain_params
OBMediaType
Enumeration for types of media to record or playback.
Definition ObTypes.h:817
@ OB_MEDIA_STREAM_INFO
Definition ObTypes.h:825
@ OB_MEDIA_IR_LEFT_STREAM
Definition ObTypes.h:826
@ OB_MEDIA_ALL
Definition ObTypes.h:829
@ OB_MEDIA_IR_RIGHT_STREAM
Definition ObTypes.h:827
@ OB_MEDIA_DEPTH_STREAM
Definition ObTypes.h:819
@ OB_MEDIA_IR_STREAM
Definition ObTypes.h:820
@ OB_MEDIA_CAMERA_PARAM
Definition ObTypes.h:823
@ OB_MEDIA_GYRO_STREAM
Definition ObTypes.h:821
@ OB_MEDIA_DEVICE_INFO
Definition ObTypes.h:824
@ OB_MEDIA_ACCEL_STREAM
Definition ObTypes.h:822
@ OB_MEDIA_COLOR_STREAM
Definition ObTypes.h:818
enum OBDepthCroppingMode ob_depth_cropping_mode
enum OBPermissionType ob_permission_type
struct OBNetIpConfigV2 DEVICE_IP_ADDR_CONFIG_V2
OBLogSeverity
log level, the higher the level, the stronger the log filter
Definition ObTypes.h:123
@ OB_LOG_SEVERITY_DEBUG
Definition ObTypes.h:124
@ OB_LOG_SEVERITY_ERROR
Definition ObTypes.h:127
@ OB_LOG_SEVERITY_INFO
Definition ObTypes.h:125
@ OB_LOG_SEVERITY_OFF
Definition ObTypes.h:129
@ OB_LOG_SEVERITY_WARN
Definition ObTypes.h:126
@ OB_LOG_SEVERITY_FATAL
Definition ObTypes.h:128
OBPipelineIssue
Pipeline issue location flags observed during streaming.
Definition ObTypes.h:746
@ OB_PIPELINE_ISSUE_NONE
Definition ObTypes.h:747
@ OB_PIPELINE_ISSUE_FW
Definition ObTypes.h:750
@ OB_PIPELINE_ISSUE_SDK
Definition ObTypes.h:748
@ OB_PIPELINE_ISSUE_HW
Definition ObTypes.h:751
@ OB_PIPELINE_ISSUE_DRIVER
Definition ObTypes.h:749
enum OBPixelType ob_pixel_type
struct OBMgcNoiseRemovalFilterParams ob_mgc_noise_removal_filter_params
OBFilterConfigValueType
Definition ObTypes.h:1725
@ OB_FILTER_CONFIG_VALUE_TYPE_FLOAT
Definition ObTypes.h:1728
@ OB_FILTER_CONFIG_VALUE_TYPE_INT
Definition ObTypes.h:1727
@ OB_FILTER_CONFIG_VALUE_TYPE_BOOLEAN
Definition ObTypes.h:1729
@ OB_FILTER_CONFIG_VALUE_TYPE_INVALID
Definition ObTypes.h:1726
OB_COORDINATE_SYSTEM_TYPE
Enumeration of point cloud coordinate system types.
Definition ObTypes.h:1448
@ OB_RIGHT_HAND_COORDINATE_SYSTEM
Definition ObTypes.h:1450
@ OB_LEFT_HAND_COORDINATE_SYSTEM
Definition ObTypes.h:1449
struct OBMGCFilterConfig ob_mgc_filter_config
struct OBCameraIntrinsic ob_camera_intrinsic
The rect of the region of interest.
Definition ObTypes.h:1718
int16_t y0_top
Definition ObTypes.h:1720
int16_t x1_right
Definition ObTypes.h:1721
int16_t y1_bottom
Definition ObTypes.h:1722
int16_t x0_left
Definition ObTypes.h:1719
Baseline calibration parameters.
Definition ObTypes.h:1684
float zpd
Calibration distance.
Definition ObTypes.h:1692
float baseline
Baseline length.
Definition ObTypes.h:1688
HDR Configuration.
Definition ObTypes.h:1698
uint32_t gain_1
Gain 1.
Definition ObTypes.h:1710
uint32_t exposure_1
Exposure time 1.
Definition ObTypes.h:1709
uint32_t exposure_2
Exposure time 2.
Definition ObTypes.h:1711
uint8_t enable
Enable/disable HDR, after enabling HDR, the exposure_1 and gain_1 will be used as the first exposure ...
Definition ObTypes.h:1707
uint8_t sequence_name
Sequence name.
Definition ObTypes.h:1708
uint32_t gain_2
Gain 2.
Definition ObTypes.h:1712
Structure for accelerometer intrinsic parameters.
Definition ObTypes.h:478
double gravity[3]
gravity direction for x, y, z axis
Definition ObTypes.h:483
double bias[3]
bias for x, y, z axis
Definition ObTypes.h:482
double scaleMisalignment[9]
scale factor and three-axis non-orthogonal error
Definition ObTypes.h:484
double randomWalk
random walk
Definition ObTypes.h:480
double noiseDensity
In-run bias instability.
Definition ObTypes.h:479
double referenceTemp
reference temperature
Definition ObTypes.h:481
double tempSlope[9]
linear temperature drift coefficient
Definition ObTypes.h:485
Data structures for accelerometers and gyroscopes.
Definition ObTypes.h:717
float z
Z-direction component.
Definition ObTypes.h:720
float x
X-direction component.
Definition ObTypes.h:718
float y
Y-direction component.
Definition ObTypes.h:719
uint16_t rGain
Red Channel Gain.
Definition ObTypes.h:1787
uint16_t bGain
Blue Channel Gain.
Definition ObTypes.h:1788
uint16_t gGain
Green Channel Gain.
Definition ObTypes.h:1789
Structure for boolean range.
Definition ObTypes.h:443
bool def
Default value.
Definition ObTypes.h:448
bool min
Minimum value.
Definition ObTypes.h:446
bool cur
Current value.
Definition ObTypes.h:444
bool max
Maximum value.
Definition ObTypes.h:445
bool step
Step value.
Definition ObTypes.h:447
calibration parameters
Definition ObTypes.h:545
OBCameraDistortion distortion[OB_SENSOR_TYPE_COUNT]
Sensor distortion.
Definition ObTypes.h:547
OBExtrinsic extrinsics[OB_SENSOR_TYPE_COUNT][OB_SENSOR_TYPE_COUNT]
Definition ObTypes.h:549
OBCameraIntrinsic intrinsics[OB_SENSOR_TYPE_COUNT]
Sensor internal parameters.
Definition ObTypes.h:546
Structure for distortion parameters.
Definition ObTypes.h:503
float p1
Tangential distortion factor 1.
Definition ObTypes.h:510
float k6
Radial distortion factor 6.
Definition ObTypes.h:509
float k3
Radial distortion factor 3.
Definition ObTypes.h:506
float k1
Radial distortion factor 1.
Definition ObTypes.h:504
float k5
Radial distortion factor 5.
Definition ObTypes.h:508
OBCameraDistortionModel model
Definition ObTypes.h:512
float k4
Radial distortion factor 4.
Definition ObTypes.h:507
float p2
Tangential distortion factor 2.
Definition ObTypes.h:511
float k2
Radial distortion factor 2.
Definition ObTypes.h:505
Structure for camera intrinsic parameters.
Definition ObTypes.h:466
float fx
Focal length in x direction.
Definition ObTypes.h:467
float cx
Optical center abscissa.
Definition ObTypes.h:469
int16_t height
Image height.
Definition ObTypes.h:472
float cy
Optical center ordinate.
Definition ObTypes.h:470
int16_t width
Image width.
Definition ObTypes.h:471
float fy
Focal length in y direction.
Definition ObTypes.h:468
Structure for camera parameters.
Definition ObTypes.h:526
OBCameraDistortion rgbDistortion
Color camera distortion parameters.
Definition ObTypes.h:530
bool isMirrored
Whether the image frame corresponding to this group of parameters is mirrored.
Definition ObTypes.h:532
OBCameraIntrinsic rgbIntrinsic
Color camera internal parameters.
Definition ObTypes.h:528
OBCameraIntrinsic depthIntrinsic
Depth camera internal parameters.
Definition ObTypes.h:527
OBCameraDistortion depthDistortion
Depth camera distortion parameters.
Definition ObTypes.h:529
OBD2CTransform transform
Rotation/transformation matrix.
Definition ObTypes.h:531
3D point structure with color information
Definition ObTypes.h:919
float z
Z coordinate.
Definition ObTypes.h:922
float g
Green channel component.
Definition ObTypes.h:924
float b
Blue channel component.
Definition ObTypes.h:925
float x
X coordinate.
Definition ObTypes.h:920
float y
Y coordinate.
Definition ObTypes.h:921
float r
Red channel component.
Definition ObTypes.h:923
Structure for rotation/transformation.
Definition ObTypes.h:518
float trans[3]
Transformation matrix in millimeters.
Definition ObTypes.h:520
float rot[9]
Rotation matrix.
Definition ObTypes.h:519
Structure for transmitting data blocks.
Definition ObTypes.h:381
uint8_t * data
Pointer to current block data.
Definition ObTypes.h:382
uint32_t offset
Offset of current data block relative to complete data.
Definition ObTypes.h:384
uint32_t fullDataSize
Size of full data.
Definition ObTypes.h:385
uint32_t size
Length of current block data.
Definition ObTypes.h:383
A read-only, non-owning view over a byte buffer (a data pointer plus its size).
Definition ObTypes.h:391
const uint8_t * data
Pointer to the data.
Definition ObTypes.h:392
uint32_t dataSize
Size of the data in bytes.
Definition ObTypes.h:393
Depth work mode.
Definition ObTypes.h:1136
OBDepthWorkModeTag tag
Preset tag.
Definition ObTypes.h:1149
uint8_t checksum[16]
Checksum of work mode.
Definition ObTypes.h:1140
char name[32]
Name of work mode.
Definition ObTypes.h:1145
struct of serial number
Definition ObTypes.h:1760
Device synchronization configuration.
Definition ObTypes.h:1070
uint16_t rgbTriggerSignalInDelay
RGB trigger signal input delay is used to configure the delay from the time when an RGB Sensor receiv...
Definition ObTypes.h:1090
OBSyncMode syncMode
Device synchronize mode.
Definition ObTypes.h:1074
uint16_t deviceTriggerSignalOutPolarity
The device trigger signal output polarity is used to control the polarity configuration of the trigge...
Definition ObTypes.h:1107
uint16_t deviceId
Device number. Users can mark the device with this number.
Definition ObTypes.h:1120
uint16_t irTriggerSignalInDelay
IR Trigger signal input delay: Used to configure the delay between the IR/Depth/TOF Sensor receiving ...
Definition ObTypes.h:1082
uint16_t deviceTriggerSignalOutDelay
Device trigger signal output delay, used to control the delay configuration of the host device to out...
Definition ObTypes.h:1098
uint16_t mcuTriggerFrequency
MCU trigger frequency, used to configure the output frequency of MCU trigger signal in MCU master mod...
Definition ObTypes.h:1115
Temperature parameters of the device (unit: Celsius).
Definition ObTypes.h:779
float tecTemp
TEC temperature.
Definition ObTypes.h:784
float irRightTemp
Right IR temperature.
Definition ObTypes.h:788
float imuTemp
IMU temperature.
Definition ObTypes.h:785
float mainBoardTemp
Motherboard temperature.
Definition ObTypes.h:783
float irTemp
IR temperature.
Definition ObTypes.h:781
float chipBottomTemp
MX6600 bottom temperature.
Definition ObTypes.h:790
float irLeftTemp
Left IR temperature.
Definition ObTypes.h:787
float ldmTemp
Laser temperature.
Definition ObTypes.h:782
float rgbTemp
RGB temperature.
Definition ObTypes.h:786
float chipTopTemp
MX6600 top temperature.
Definition ObTypes.h:789
float cpuTemp
CPU temperature.
Definition ObTypes.h:780
Disparity offset interleaving configuration.
Definition ObTypes.h:1767
disparity parameters for disparity based camera
Definition ObTypes.h:867
float minDisparity
Definition ObTypes.h:874
uint8_t bitSize
Definition ObTypes.h:872
int32_t invalidDisp
Definition ObTypes.h:877
uint8_t packMode
Definition ObTypes.h:875
uint8_t isDualCamera
Definition ObTypes.h:879
int32_t dispIntPlace
Definition ObTypes.h:878
int limit_y_th
Maximum vertical threshold.
Definition ObTypes.h:1215
int margin_x_th
Horizontal threshold settings.
Definition ObTypes.h:1212
uint32_t height
Image height.
Definition ObTypes.h:1217
uint32_t width
Image width.
Definition ObTypes.h:1216
bool enable_direction
Set to true for horizontal and vertical, false for horizontal only.
Definition ObTypes.h:1218
int limit_x_th
Maximum horizontal threshold.
Definition ObTypes.h:1214
int margin_y_th
Vertical threshold settings.
Definition ObTypes.h:1213
Configuration Item for the filter.
Definition ObTypes.h:1735
double min
Minimum value casted to double.
Definition ObTypes.h:1738
OBFilterConfigValueType type
Value type of the configuration item.
Definition ObTypes.h:1737
double max
Maximum value casted to double.
Definition ObTypes.h:1739
const char * name
Name of the configuration item.
Definition ObTypes.h:1736
double def
Default value casted to double.
Definition ObTypes.h:1741
double step
Step value casted to double.
Definition ObTypes.h:1740
const char * desc
Description of the configuration item.
Definition ObTypes.h:1742
Structure for float range.
Definition ObTypes.h:410
float cur
Current value.
Definition ObTypes.h:411
float min
Minimum value.
Definition ObTypes.h:413
float max
Maximum value.
Definition ObTypes.h:412
float def
Default value.
Definition ObTypes.h:415
float step
Step value.
Definition ObTypes.h:414
Structure for gyroscope intrinsic parameters.
Definition ObTypes.h:491
double randomWalk
random walk
Definition ObTypes.h:493
double scaleMisalignment[9]
scale factor and three-axis non-orthogonal error
Definition ObTypes.h:496
double bias[3]
bias for x, y, z axis
Definition ObTypes.h:495
double noiseDensity
In-run bias instability.
Definition ObTypes.h:492
double tempSlope[9]
linear temperature drift coefficient
Definition ObTypes.h:497
double referenceTemp
reference temperature
Definition ObTypes.h:494
uint32_t factor
Decimation factor.
Definition ObTypes.h:1780
uint32_t originHeight
Origin height.
Definition ObTypes.h:1779
uint32_t originWidth
Origin width.
Definition ObTypes.h:1778
Structure for integer range.
Definition ObTypes.h:399
int32_t step
Step value.
Definition ObTypes.h:403
int32_t def
Default value.
Definition ObTypes.h:404
int32_t max
Maximum value.
Definition ObTypes.h:401
int32_t min
Minimum value.
Definition ObTypes.h:402
int32_t cur
Current value.
Definition ObTypes.h:400
3D point structure with LiDAR information
Definition ObTypes.h:940
float z
Z coordinate, unit mm.
Definition ObTypes.h:943
uint8_t tag
point state
Definition ObTypes.h:945
float y
Y coordinate, unit mm.
Definition ObTypes.h:942
float x
X coordinate, unit mm.
Definition ObTypes.h:941
uint8_t reflectivity
reflectivity
Definition ObTypes.h:944
3D point structure with LiDAR information
Definition ObTypes.h:931
float angle
angle, unit: degrees
Definition ObTypes.h:932
uint16_t intensity
intensity, 0~2000
Definition ObTypes.h:934
float distance
distance, unit: mm
Definition ObTypes.h:933
3D point structure with LiDAR information
Definition ObTypes.h:951
uint8_t tag
tag
Definition ObTypes.h:956
float distance
distance, unit: mm
Definition ObTypes.h:952
float phi
zenith angle, unit: degrees
Definition ObTypes.h:954
float theta
azimuth angle, unit: degrees
Definition ObTypes.h:953
uint8_t reflectivity
reflectivity
Definition ObTypes.h:955
Configuration parameters for the LUT noise removal filter.
Definition ObTypes.h:1239
uint32_t width
Depth map width the above parameters correspond to.
Definition ObTypes.h:1242
uint32_t height
Depth map height the above parameters correspond to.
Definition ObTypes.h:1243
uint16_t max_lut[16]
LUT max size of noise pixels (4x4 LUT, 16 entries total).
Definition ObTypes.h:1240
uint16_t min_diff
Difference threshold between neighbor pixels.
Definition ObTypes.h:1241
Configuration for mgc filter.
Definition ObTypes.h:569
uint32_t width
Definition ObTypes.h:570
uint32_t height
Definition ObTypes.h:571
Configuration parameters for the MGC noise removal filter.
Definition ObTypes.h:1224
int limit_y_th
Maximum vertical threshold.
Definition ObTypes.h:1231
int limit_x_th
Maximum horizontal threshold.
Definition ObTypes.h:1230
int max_radius
Chamfer radius threshold settings.
Definition ObTypes.h:1227
int max_width_right
Right chamfer threshold settings.
Definition ObTypes.h:1226
int margin_y_th
Vertical threshold settings.
Definition ObTypes.h:1229
uint32_t height
Depth map height the above parameters correspond to.
Definition ObTypes.h:1233
uint32_t width
Depth map width the above parameters correspond to.
Definition ObTypes.h:1232
int max_width_left
Left chamfer threshold settings.
Definition ObTypes.h:1225
int margin_x_th
Horizontal threshold settings.
Definition ObTypes.h:1228
IP address configuration v2 for network devices (IPv4), used with property OB_STRUCT_DEVICE_IP_ADDR_C...
Definition ObTypes.h:1352
uint8_t address[4]
IP address (IPv4, big-endian, e.g. 192.168.1.1 -> address[0]=192).
Definition ObTypes.h:1357
uint8_t mask[4]
Subnet mask (big-endian).
Definition ObTypes.h:1358
uint16_t flags
Definition ObTypes.h:1353
uint8_t gateway[4]
Gateway (big-endian).
Definition ObTypes.h:1359
IP address configuration for network devices (IPv4), used with property OB_STRUCT_DEVICE_IP_ADDR_CONF...
Definition ObTypes.h:1303
uint8_t gateway[4]
Gateway (big endian).
Definition ObTypes.h:1324
uint16_t dhcp
DHCP status.
Definition ObTypes.h:1309
uint8_t mask[4]
Subnet mask (big endian).
Definition ObTypes.h:1319
uint8_t address[4]
IP address (IPv4, big endian: 192.168.1.10, address[0] = 192, address[1] = 168, address[2] = 1,...
Definition ObTypes.h:1314
OBDDONoiseRemovalType type
Definition ObTypes.h:1208
Pipeline status observed during streaming.
Definition ObTypes.h:768
uint64_t reserved[3]
Definition ObTypes.h:773
uint64_t sdkStatus
Definition ObTypes.h:770
uint64_t drvStatus
Definition ObTypes.h:772
uint64_t devStatus
Definition ObTypes.h:771
OBPipelineIssue issue
Definition ObTypes.h:769
2D point structure in the SDK
Definition ObTypes.h:904
float x
X coordinate.
Definition ObTypes.h:905
float y
Y coordinate.
Definition ObTypes.h:906
3D point structure in the SDK
Definition ObTypes.h:895
float y
Y coordinate.
Definition ObTypes.h:897
float z
Z coordinate.
Definition ObTypes.h:898
float x
X coordinate.
Definition ObTypes.h:896
int depthDecimationFactor
depth decimation factor
Definition ObTypes.h:539
int irDecimationFactor
ir decimation factor
Definition ObTypes.h:538
int16_t height
height
Definition ObTypes.h:537
Control command protocol version number.
Definition ObTypes.h:1249
uint8_t major
Major version number.
Definition ObTypes.h:1253
uint8_t minor
Minor version number.
Definition ObTypes.h:1258
uint8_t patch
Patch version number.
Definition ObTypes.h:1263
Rectangle.
Definition ObTypes.h:604
uint32_t height
Rectangle height.
Definition ObTypes.h:608
uint32_t y
Origin coordinate y.
Definition ObTypes.h:606
uint32_t x
Origin coordinate x.
Definition ObTypes.h:605
uint32_t width
Rectangle width.
Definition ObTypes.h:607
SequenceId fliter list item.
Definition ObTypes.h:1156
TOF Exposure Threshold.
Definition ObTypes.h:981
int32_t lower
Lower threshold, unit: ms.
Definition ObTypes.h:983
int32_t upper
Upper threshold, unit: ms.
Definition ObTypes.h:982
Structure for float range.
Definition ObTypes.h:421
uint16_t min
Minimum value.
Definition ObTypes.h:424
uint16_t cur
Current value.
Definition ObTypes.h:422
uint16_t step
Step value.
Definition ObTypes.h:425
uint16_t max
Maximum value.
Definition ObTypes.h:423
uint16_t def
Default value.
Definition ObTypes.h:426
Structure for float range.
Definition ObTypes.h:432
uint8_t min
Minimum value.
Definition ObTypes.h:435
uint8_t def
Default value.
Definition ObTypes.h:437
uint8_t cur
Current value.
Definition ObTypes.h:433
uint8_t step
Step value.
Definition ObTypes.h:436
uint8_t max
Maximum value.
Definition ObTypes.h:434
int width
width of x and y tables
Definition ObTypes.h:912
float * xTable
table used to compute X coordinate
Definition ObTypes.h:910
int height
height of x and y tables
Definition ObTypes.h:913
float * yTable
table used to compute Y coordinate
Definition ObTypes.h:911
The timestamp reset configuration of the device.
Definition ObTypes.h:1657
int timestamp_reset_delay_us
The delay time of executing the timestamp reset function after receiving the command or signal in mic...
Definition ObTypes.h:1671
bool enable
Whether to enable the timestamp reset function.
Definition ObTypes.h:1666
bool timestamp_reset_signal_output_enable
the timestamp reset signal output enable flag.
Definition ObTypes.h:1678
The error class exposed by the SDK, users can get detailed error information according to the error.
Definition ObTypes.h:162
char function[256]
Describe the name of the function where the error occurred.
Definition ObTypes.h:165
char args[256]
Describes the parameters passed to the function when an error occurs. Used to check whether the param...
Definition ObTypes.h:166
char message[256]
Describe the detailed error log.
Definition ObTypes.h:164
ob_exception_type exception_type
The description is the specific error type of the SDK.
Definition ObTypes.h:167
ob_status status
Describe the status code of the error, as compatible with previous customer status code requirements.
Definition ObTypes.h:163
Configuration for depth margin filter.
Definition ObTypes.h:556
bool enable_direction
Set to true for horizontal and vertical, false for horizontal only.
Definition ObTypes.h:563
int limit_y_th
Maximum vertical threshold.
Definition ObTypes.h:560
int limit_x_th
Maximum horizontal threshold.
Definition ObTypes.h:559
uint32_t height
Image height.
Definition ObTypes.h:562
int margin_y_th
Vertical threshold settings.
Definition ObTypes.h:558
uint32_t width
Image width.
Definition ObTypes.h:561
int margin_x_th
Horizontal threshold settings.
Definition ObTypes.h:557
The synchronization configuration of the device.
Definition ObTypes.h:1593
int depthDelayUs
The delay time of the depth image capture after receiving the capture command or trigger signal in mi...
Definition ObTypes.h:1604
int framesPerTrigger
The frame number of each stream after each trigger in triggering mode.
Definition ObTypes.h:1650
int trigger2ImageDelayUs
The delay time of the image capture after receiving the capture command or trigger signal in microsec...
Definition ObTypes.h:1621
OBMultiDeviceSyncMode syncMode
The sync mode of the device.
Definition ObTypes.h:1597
int triggerOutDelayUs
The delay time of the trigger signal output after receiving the capture command or trigger signal in ...
Definition ObTypes.h:1640
int colorDelayUs
The delay time of the color image capture after receiving the capture command or trigger signal in mi...
Definition ObTypes.h:1611
bool triggerOutEnable
Trigger signal output enable flag.
Definition ObTypes.h:1632
Extensible options for activating a private filter instance.
Definition ObTypes.h:1752
uint32_t struct_size
Size of this struct in bytes, set by the caller to sizeof(ob_priv_filter_activate_options).
Definition ObTypes.h:1753
const char * model_path
Path to the inference model file. NULL or empty selects the filter's default model.
Definition ObTypes.h:1754