OrbbecSDK 2.5.5
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_depth_work_mode_list_t ob_depth_work_mode_list;
39typedef struct ob_device_preset_list_t ob_device_preset_list;
40typedef struct ob_filter_config_schema_list_t ob_filter_config_schema_list;
41typedef struct ob_device_frame_interleave_list_t ob_device_frame_interleave_list;
42typedef struct ob_preset_resolution_config_list_t ob_preset_resolution_config_list;
43
44#define OB_WIDTH_ANY 0
45#define OB_HEIGHT_ANY 0
46#define OB_FPS_ANY 0
47#define OB_FORMAT_ANY OB_FORMAT_UNKNOWN
48#define OB_PROFILE_DEFAULT 0
49#define OB_DEFAULT_STRIDE_BYTES 0
50#define OB_ACCEL_FULL_SCALE_RANGE_ANY OB_ACCEL_FS_UNKNOWN
51#define OB_ACCEL_SAMPLE_RATE_ANY OB_SAMPLE_RATE_UNKNOWN
52#define OB_GYRO_FULL_SCALE_RANGE_ANY OB_GYRO_FS_UNKNOWN
53#define OB_GYRO_SAMPLE_RATE_ANY OB_SAMPLE_RATE_UNKNOWN
54
58#define OB_PATH_MAX (1024)
59
71
75typedef enum {
78} OBStatus,
80
93#define OB_LOG_SEVERITY_NONE OB_LOG_SEVERITY_OFF
94
113
124
142
161
182
187typedef enum {
188 OB_PIXEL_UNKNOWN = -1, // Unknown pixel type, or undefined pixel type for current frame
189 OB_PIXEL_DEPTH = 0, // Depth pixel type, the value of the pixel is the distance from the camera to the object
190 OB_PIXEL_DISPARITY = 2, // Disparity for structured light camera
191 OB_PIXEL_RAW_PHASE = 3, // Raw phase for tof camera
192 OB_PIXEL_TOF_DEPTH = 4, // Depth for tof camera
195
237
238#define OB_FORMAT_RGB888 OB_FORMAT_RGB // Alias of OB_FORMAT_RGB for compatibility
239#define OB_FORMAT_MJPEG OB_FORMAT_MJPG // Alias of OB_FORMAT_MJPG for compatibility
240
241// Check if the format is a fixed data size format
242#define IS_FIXED_SIZE_FORMAT(format) \
243 (format != OB_FORMAT_MJPG && format != OB_FORMAT_H264 && format != OB_FORMAT_H265 && format != OB_FORMAT_HEVC && format != OB_FORMAT_RLE \
244 && format != OB_FORMAT_RVL)
245
246// Check if the format is a packed format, which means the data of pixels is not continuous or bytes aligned in memory
247#define IS_PACKED_FORMAT(format) \
248 (format == OB_FORMAT_Y10 || format == OB_FORMAT_Y11 || format == OB_FORMAT_Y12 || format == OB_FORMAT_Y14 || format == OB_FORMAT_RLE)
249
274
290
307
311typedef struct {
312 uint8_t *data;
313 uint32_t size;
314 uint32_t offset;
315 uint32_t fullDataSize;
317
321typedef struct {
322 int32_t cur;
323 int32_t max;
324 int32_t min;
325 int32_t step;
326 int32_t def;
328
332typedef struct {
333 float cur;
334 float max;
335 float min;
336 float step;
337 float def;
339
343typedef struct {
344 uint16_t cur;
345 uint16_t max;
346 uint16_t min;
347 uint16_t step;
348 uint16_t def;
350
354typedef struct {
355 uint8_t cur;
356 uint8_t max;
357 uint8_t min;
358 uint8_t step;
359 uint8_t def;
361
365typedef struct {
366 bool cur;
367 bool max;
368 bool min;
369 bool step;
370 bool def;
372
384
388typedef struct {
389 float fx;
390 float fy;
391 float cx;
392 float cy;
393 int16_t width;
394 int16_t height;
396
400typedef struct {
402 double randomWalk;
404 double bias[3];
405 double gravity[3];
407 double tempSlope[9];
409
421
425typedef struct {
426 float k1;
427 float k2;
428 float k3;
429 float k4;
430 float k5;
431 float k6;
432 float p1;
433 float p2;
436
444
456
463
474
487
502
512
521
525typedef struct {
526 uint32_t x;
527 uint32_t y;
528 uint32_t width;
529 uint32_t height;
531
560
561// DEPRECATED: Only used for old version program compatibility, will be completely deleted in subsequent iterative versions
562#define FORMAT_MJPEG_TO_I420 FORMAT_MJPG_TO_I420
563#define FORMAT_MJPEG_TO_NV21 FORMAT_MJPG_TO_NV21
564#define FORMAT_MJPEG_TO_BGRA FORMAT_MJPG_TO_BGRA
565#define FORMAT_YUYV_TO_RGB888 FORMAT_YUYV_TO_RGB
566#define FORMAT_I420_TO_RGB888 FORMAT_I420_TO_RGB
567#define FORMAT_NV21_TO_RGB888 FORMAT_NV21_TO_RGB
568#define FORMAT_NV12_TO_RGB888 FORMAT_NV12_TO_RGB
569#define FORMAT_UYVY_TO_RGB888 FORMAT_UYVY_TO_RGB
570#define FORMAT_MJPG_TO_RGB888 FORMAT_MJPG_TO_RGB
571#define FORMAT_MJPG_TO_BGR888 FORMAT_MJPG_TO_BGR
572#define FORMAT_MJPEG_TO_RGB888 FORMAT_MJPG_TO_RGB
573#define FORMAT_MJPEG_TO_BGR888 FORMAT_MJPG_TO_BGR
574#define FORMAT_RGB888_TO_BGR FORMAT_RGB_TO_BGR
575
600
618
634
643
648
665
675
686
706
717
735
740typedef struct {
741 double zpd; // the distance to calib plane
742 double zpps; // zpps=z0/fx
743 float baseline; // baseline length, for monocular camera,it means the distance of laser to the center of IR-CMOS
744 double fx; // focus
745 uint8_t bitSize; // disparity bit size (raw disp bit size, for example: MX6000 is 12, MX6600 is 14)
746 float unit; // reference units: unit=10 denote 1cm; unit=1 denote 1mm; unit=0.5 denote 0.5mm; and so on
747 float minDisparity; // dual disparity coefficient
748 uint8_t packMode; // data pack mode
749 float dispOffset; // disparity offset, actual disp=chip disp + disp_offset
750 int32_t invalidDisp; // invalid disparity, usually is 0, dual IR add a auxiliary value.
751 int32_t dispIntPlace; // disp integer digits, default is 8, Gemini2 XL is 10
752 uint8_t isDualCamera; // 0 monocular camera, 1 dual camera
754
768typedef struct {
769 float x;
770 float y;
771 float z;
773
777typedef struct {
778 float x;
779 float y;
781
782typedef struct {
783 float *xTable;
784 float *yTable;
785 int width;
786 int height;
788
792typedef struct {
793 float x;
794 float y;
795 float z;
796 float r;
797 float g;
798 float b;
800
809
819
827
907
965
974
978typedef struct {
982 uint8_t checksum[16];
983
987 char name[32];
992
994
1002
1006typedef enum {
1008 OB_HOLE_FILL_NEAREST = 1, // "max" means farest for depth, and nearest for disparity; FILL_NEAREST
1009 OB_HOLE_FILL_FAREST = 2, // FILL_FAREST
1012
1016
1017typedef struct {
1018 uint8_t radius; // window_size
1019 uint8_t magnitude; // magnitude
1020 uint16_t disp_diff; // smooth_delta
1022
1023typedef struct {
1024 uint8_t magnitude; // magnitude
1025 float alpha; // smooth_alpha
1026 uint16_t disp_diff; // smooth_delta
1027 uint16_t radius; // hole_fill
1029
1037
1045
1054
1060
1064typedef struct {
1068 uint8_t major;
1069
1073 uint8_t minor;
1074
1078 uint8_t patch;
1080
1084typedef enum {
1085 OB_CMD_VERSION_V0 = (uint16_t)0,
1086 OB_CMD_VERSION_V1 = (uint16_t)1,
1087 OB_CMD_VERSION_V2 = (uint16_t)2,
1088 OB_CMD_VERSION_V3 = (uint16_t)3,
1089
1090 OB_CMD_VERSION_NOVERSION = (uint16_t)0xfffe,
1091 OB_CMD_VERSION_INVALID = (uint16_t)0xffff,
1094
1098typedef struct {
1104 uint16_t dhcp;
1105
1109 uint8_t address[4];
1110
1114 uint8_t mask[4];
1115
1119 uint8_t gateway[4];
1121
1122#define OBDeviceIpAddrConfig OBNetIpConfig
1123#define ob_device_ip_addr_config OBNetIpConfig
1124
1128typedef enum {
1133
1144
1153
1164
1174
1206#define OB_FRAME_AGGREGATE_OUTPUT_FULL_FRAME_REQUIRE OB_FRAME_AGGREGATE_OUTPUT_ALL_TYPE_FRAME_REQUIRE
1207
1216
1232
1323
1386
1414
1428
1432typedef struct {
1433
1441 uint8_t enable;
1443 uint32_t exposure_1;
1444 uint32_t gain_1;
1445 uint32_t exposure_2;
1446 uint32_t gain_2;
1448
1458
1478
1485
1495
1500typedef enum {
1507
1515
1520
1526
1533
1540
1546
1551
1556
1561
1566
1571
1576
1581
1586
1592
1599
1604
1610
1615
1620
1625
1630
1635
1640
1645
1650
1655
1662
1667
1673
1678
1683
1688
1696
1726
1738
1748
1749// For compatibility
1750#define OB_FRAME_METADATA_TYPE_LASER_POWER_MODE OB_FRAME_METADATA_TYPE_LASER_POWER_LEVEL
1751#define OB_FRAME_METADATA_TYPE_EMITTER_MODE OB_FRAME_METADATA_TYPE_LASER_STATUS
1752
1761typedef void (*ob_file_send_callback)(ob_file_tran_state state, const char *message, uint8_t percent, void *user_data);
1762
1771typedef void (*ob_device_fw_update_callback)(ob_fw_update_state state, const char *message, uint8_t percent, void *user_data);
1772
1780typedef void (*ob_device_state_callback)(ob_device_state state, const char *message, void *user_data);
1781
1789typedef void (*ob_set_data_callback)(ob_data_tran_state state, uint8_t percent, void *user_data);
1790
1798typedef void (*ob_get_data_callback)(ob_data_tran_state state, ob_data_chunk *dataChunk, void *user_data);
1799
1806typedef void (*ob_media_state_callback)(ob_media_state state, void *user_data);
1807
1815typedef void (*ob_device_changed_callback)(ob_device_list *removed, ob_device_list *added, void *user_data);
1816
1817// typedef void (*ob_net_device_added_callback)(const char *added, void *user_data);
1818// typedef void (*ob_net_device_removed_callback)(const char *removed, void *user_data);
1819
1826typedef void (*ob_frame_callback)(ob_frame *frame, void *user_data);
1827#define ob_filter_callback ob_frame_callback
1828#define ob_playback_callback ob_frame_callback
1829
1836typedef void (*ob_frameset_callback)(ob_frame *frameset, void *user_data);
1837
1844typedef void(ob_frame_destroy_callback)(uint8_t *buffer, void *user_data);
1845
1853typedef void(ob_log_callback)(ob_log_severity severity, const char *message, void *user_data);
1854
1855typedef void (*ob_playback_status_changed_callback)(ob_playback_status status, void *user_data);
1862#define ob_is_video_sensor_type(sensor_type) \
1863 (sensor_type == OB_SENSOR_COLOR || sensor_type == OB_SENSOR_DEPTH || sensor_type == OB_SENSOR_IR || sensor_type == OB_SENSOR_IR_LEFT \
1864 || sensor_type == OB_SENSOR_IR_RIGHT || sensor_type == OB_SENSOR_CONFIDENCE)
1865
1872#define ob_is_video_stream_type(stream_type) \
1873 (stream_type == OB_STREAM_COLOR || stream_type == OB_STREAM_DEPTH || stream_type == OB_STREAM_IR || stream_type == OB_STREAM_IR_LEFT \
1874 || stream_type == OB_STREAM_IR_RIGHT || stream_type == OB_STREAM_VIDEO || stream_type == OB_STREAM_CONFIDENCE)
1875
1882#define is_ir_sensor(sensor_type) (sensor_type == OB_SENSOR_IR || sensor_type == OB_SENSOR_IR_LEFT || sensor_type == OB_SENSOR_IR_RIGHT)
1883#define isIRSensor is_ir_sensor
1884
1891#define is_ir_stream(stream_type) (stream_type == OB_STREAM_IR || stream_type == OB_STREAM_IR_LEFT || stream_type == OB_STREAM_IR_RIGHT)
1892#define isIRStream is_ir_stream
1893
1900#define is_ir_frame(frame_type) (frame_type == OB_FRAME_IR || frame_type == OB_FRAME_IR_LEFT || frame_type == OB_FRAME_IR_RIGHT)
1901#define isIRFrame is_ir_frame
1902
1906#define OB_DEFAULT_DECRYPT_KEY (nullptr)
1907
1908#ifdef __cplusplus
1909}
1910#endif
1911
1912#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
struct OBAccelValue OBGyroValue
struct OBD2CTransform ob_d2c_transform
enum OBFormat ob_format
enum OBMediaType ob_media_type
void(* ob_get_data_callback)(ob_data_tran_state state, ob_data_chunk *dataChunk, void *user_data)
Callback for reading data.
Definition ObTypes.h:1798
enum ob_power_line_freq_mode OBPowerLineFreqMode
struct OBPoint2f ob_point2f
struct OBCameraParam ob_camera_param
enum OBDepthPrecisionLevel ob_depth_unit
OBSensorType
Enumeration value describing the sensor type.
Definition ObTypes.h:128
@ OB_SENSOR_CONFIDENCE
Definition ObTypes.h:138
@ OB_SENSOR_IR_RIGHT
Definition ObTypes.h:136
@ OB_SENSOR_GYRO
Definition ObTypes.h:134
@ OB_SENSOR_COLOR
Definition ObTypes.h:131
@ OB_SENSOR_TYPE_COUNT
Definition ObTypes.h:139
@ OB_SENSOR_UNKNOWN
Definition ObTypes.h:129
@ OB_SENSOR_IR
Definition ObTypes.h:130
@ OB_SENSOR_DEPTH
Definition ObTypes.h:132
@ OB_SENSOR_IR_LEFT
Definition ObTypes.h:135
@ OB_SENSOR_ACCEL
Definition ObTypes.h:133
@ OB_SENSOR_RAW_PHASE
Definition ObTypes.h:137
enum OBSyncMode ob_sync_mode
enum OBUpgradeState ob_upgrade_state
void(* ob_device_changed_callback)(ob_device_list *removed, ob_device_list *added, void *user_data)
Callback for device change.
Definition ObTypes.h:1815
struct OBAccelValue ob_float_3d
OBIMUSampleRate
Enumeration of IMU sample rate values (gyroscope or accelerometer)
Definition ObTypes.h:579
@ OB_SAMPLE_RATE_100_HZ
Definition ObTypes.h:587
@ OB_SAMPLE_RATE_4_KHZ
Definition ObTypes.h:592
@ OB_SAMPLE_RATE_800_HZ
Definition ObTypes.h:597
@ OB_SAMPLE_RATE_3_125_HZ
Definition ObTypes.h:582
@ OB_SAMPLE_RATE_6_25_HZ
Definition ObTypes.h:583
@ OB_SAMPLE_RATE_UNKNOWN
Definition ObTypes.h:580
@ OB_SAMPLE_RATE_500_HZ
Definition ObTypes.h:589
@ OB_SAMPLE_RATE_32_KHZ
Definition ObTypes.h:595
@ OB_SAMPLE_RATE_50_HZ
Definition ObTypes.h:586
@ OB_SAMPLE_RATE_1_5625_HZ
Definition ObTypes.h:581
@ OB_SAMPLE_RATE_12_5_HZ
Definition ObTypes.h:584
@ OB_SAMPLE_RATE_400_HZ
Definition ObTypes.h:596
@ OB_SAMPLE_RATE_1_KHZ
Definition ObTypes.h:590
@ OB_SAMPLE_RATE_200_HZ
Definition ObTypes.h:588
@ OB_SAMPLE_RATE_2_KHZ
Definition ObTypes.h:591
@ OB_SAMPLE_RATE_25_HZ
Definition ObTypes.h:585
@ OB_SAMPLE_RATE_16_KHZ
Definition ObTypes.h:594
@ OB_SAMPLE_RATE_8_KHZ
Definition ObTypes.h:593
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:75
@ OB_STATUS_OK
Definition ObTypes.h:76
@ OB_STATUS_ERROR
Definition ObTypes.h:77
struct ob_device_info_t ob_device_info
Definition ObTypes.h:24
enum OB_DDO_NOISE_REMOVAL_TYPE ob_ddo_noise_removal_type
OBGyroFullScaleRange
Enumeration of gyroscope ranges.
Definition ObTypes.h:604
@ OB_GYRO_FS_800dps
Definition ObTypes.h:615
@ OB_GYRO_FS_UNKNOWN
Definition ObTypes.h:605
@ OB_GYRO_FS_500dps
Definition ObTypes.h:611
@ OB_GYRO_FS_250dps
Definition ObTypes.h:610
@ OB_GYRO_FS_62dps
Definition ObTypes.h:608
@ OB_GYRO_FS_16dps
Definition ObTypes.h:606
@ OB_GYRO_FS_125dps
Definition ObTypes.h:609
@ OB_GYRO_FS_400dps
Definition ObTypes.h:614
@ OB_GYRO_FS_1000dps
Definition ObTypes.h:612
@ OB_GYRO_FS_31dps
Definition ObTypes.h:607
@ OB_GYRO_FS_2000dps
Definition ObTypes.h:613
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:647
struct OBDeviceTemperature DEVICE_TEMPERATURE
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:1168
@ OB_POWER_LINE_FREQ_MODE_60HZ
60Hz
Definition ObTypes.h:1171
@ OB_POWER_LINE_FREQ_MODE_50HZ
50Hz
Definition ObTypes.h:1170
@ OB_POWER_LINE_FREQ_MODE_CLOSE
Close.
Definition ObTypes.h:1169
OBMediaState
Enumeration for record playback status.
Definition ObTypes.h:710
@ OB_MEDIA_BEGIN
Definition ObTypes.h:711
@ OB_MEDIA_RESUME
Definition ObTypes.h:713
@ OB_MEDIA_END
Definition ObTypes.h:714
@ OB_MEDIA_PAUSE
Definition ObTypes.h:712
OBFormat
Enumeration value describing the pixel format.
Definition ObTypes.h:199
@ OB_FORMAT_YUYV
Definition ObTypes.h:201
@ OB_FORMAT_Y11
Definition ObTypes.h:212
@ OB_FORMAT_ACCEL
Definition ObTypes.h:217
@ OB_FORMAT_Y12C4
Definition ObTypes.h:234
@ OB_FORMAT_Y16
Definition ObTypes.h:209
@ OB_FORMAT_RGB_POINT
Definition ObTypes.h:220
@ OB_FORMAT_BA81
Definition ObTypes.h:230
@ OB_FORMAT_YV12
Definition ObTypes.h:229
@ OB_FORMAT_RGBA
Definition ObTypes.h:231
@ OB_FORMAT_BGR
Definition ObTypes.h:223
@ OB_FORMAT_Z16
Definition ObTypes.h:228
@ OB_FORMAT_Y12
Definition ObTypes.h:213
@ OB_FORMAT_BGRA
Definition ObTypes.h:225
@ OB_FORMAT_NV21
Definition ObTypes.h:205
@ OB_FORMAT_RGB
Definition ObTypes.h:222
@ OB_FORMAT_UNKNOWN
Definition ObTypes.h:200
@ OB_FORMAT_Y10
Definition ObTypes.h:211
@ OB_FORMAT_H265
Definition ObTypes.h:208
@ OB_FORMAT_UYVY
Definition ObTypes.h:203
@ OB_FORMAT_Y14
Definition ObTypes.h:224
@ OB_FORMAT_I420
Definition ObTypes.h:216
@ OB_FORMAT_YUY2
Definition ObTypes.h:202
@ OB_FORMAT_BYR2
Definition ObTypes.h:232
@ OB_FORMAT_RLE
Definition ObTypes.h:221
@ OB_FORMAT_MJPG
Definition ObTypes.h:206
@ OB_FORMAT_COMPRESSED
Definition ObTypes.h:226
@ OB_FORMAT_GRAY
Definition ObTypes.h:214
@ OB_FORMAT_H264
Definition ObTypes.h:207
@ OB_FORMAT_POINT
Definition ObTypes.h:219
@ OB_FORMAT_RVL
Definition ObTypes.h:227
@ OB_FORMAT_RW16
Definition ObTypes.h:233
@ OB_FORMAT_GYRO
Definition ObTypes.h:218
@ OB_FORMAT_Y8
Definition ObTypes.h:210
@ OB_FORMAT_NV12
Definition ObTypes.h:204
@ OB_FORMAT_HEVC
Definition ObTypes.h:215
struct OBRect ob_rect
OBCameraDistortionModel
Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
Definition ObTypes.h:374
@ OB_DISTORTION_INVERSE_BROWN_CONRADY
Definition ObTypes.h:378
@ OB_DISTORTION_BROWN_CONRADY
Definition ObTypes.h:379
@ OB_DISTORTION_KANNALA_BRANDT4
Definition ObTypes.h:381
@ OB_DISTORTION_BROWN_CONRADY_K6
Definition ObTypes.h:380
@ OB_DISTORTION_MODIFIED_BROWN_CONRADY
Definition ObTypes.h:376
@ OB_DISTORTION_NONE
Definition ObTypes.h:375
struct OBNoiseRemovalFilterParams ob_noise_removal_filter_params
enum OBGyroFullScaleRange ob_gyro_full_scale_range
struct OBDeviceSerialNumber ob_serial_number
enum OBUpgradeState OBFwUpdateState
OBDataTranState
Enumeration value describing the data transfer status.
Definition ObTypes.h:294
@ DATA_TRAN_ERR_TRAN_FAILED
Definition ObTypes.h:302
@ DATA_TRAN_STAT_VERIFYING
Definition ObTypes.h:298
@ DATA_TRAN_STAT_TRANSFERRING
Definition ObTypes.h:299
@ DATA_TRAN_ERR_OTHER
Definition ObTypes.h:304
@ DATA_TRAN_ERR_VERIFY_FAILED
Definition ObTypes.h:303
@ DATA_TRAN_ERR_UNSUPPORTED
Definition ObTypes.h:301
@ DATA_TRAN_STAT_DONE
Definition ObTypes.h:297
@ DATA_TRAN_ERR_BUSY
Definition ObTypes.h:300
@ DATA_TRAN_STAT_VERIFY_DONE
Definition ObTypes.h:295
@ DATA_TRAN_STAT_STOPPED
Definition ObTypes.h:296
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
OBTofFilterRange
Enumeration for TOF filter scene ranges.
Definition ObTypes.h:758
@ OB_TOF_FILTER_RANGE_LONG
Definition ObTypes.h:761
@ OB_TOF_FILTER_RANGE_CLOSE
Definition ObTypes.h:759
@ OB_TOF_FILTER_RANGE_MIDDLE
Definition ObTypes.h:760
@ OB_TOF_FILTER_RANGE_DEBUG
Definition ObTypes.h:762
enum ob_multi_device_sync_mode OBMultiDeviceSyncMode
enum ob_frame_metadata_type OBFrameMetadataType
OBFrameType
Enumeration value describing the type of frame.
Definition ObTypes.h:165
@ OB_FRAME_IR_RIGHT
Definition ObTypes.h:176
@ OB_FRAME_ACCEL
Definition ObTypes.h:171
@ OB_FRAME_GYRO
Definition ObTypes.h:174
@ OB_FRAME_IR_LEFT
Definition ObTypes.h:175
@ OB_FRAME_TYPE_COUNT
Definition ObTypes.h:179
@ OB_FRAME_VIDEO
Definition ObTypes.h:167
@ OB_FRAME_COLOR
Definition ObTypes.h:169
@ OB_FRAME_UNKNOWN
Definition ObTypes.h:166
@ OB_FRAME_RAW_PHASE
Definition ObTypes.h:177
@ OB_FRAME_SET
Definition ObTypes.h:172
@ OB_FRAME_CONFIDENCE
Definition ObTypes.h:178
@ OB_FRAME_POINTS
Definition ObTypes.h:173
@ OB_FRAME_IR
Definition ObTypes.h:168
@ OB_FRAME_DEPTH
Definition ObTypes.h:170
OBStreamType
Enumeration value describing the type of data stream.
Definition ObTypes.h:146
@ OB_STREAM_CONFIDENCE
Definition ObTypes.h:157
@ OB_STREAM_RAW_PHASE
Definition ObTypes.h:156
@ OB_STREAM_GYRO
Definition ObTypes.h:153
@ OB_STREAM_UNKNOWN
Definition ObTypes.h:147
@ OB_STREAM_IR
Definition ObTypes.h:149
@ OB_STREAM_TYPE_COUNT
Definition ObTypes.h:158
@ OB_STREAM_DEPTH
Definition ObTypes.h:151
@ OB_STREAM_IR_RIGHT
Definition ObTypes.h:155
@ OB_STREAM_IR_LEFT
Definition ObTypes.h:154
@ OB_STREAM_VIDEO
Definition ObTypes.h:148
@ OB_STREAM_ACCEL
Definition ObTypes.h:152
@ OB_STREAM_COLOR
Definition ObTypes.h:150
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:1701
@ OB_UVC_BACKEND_TYPE_MSMF
Use MSMF backend to access the UVC device.
Definition ObTypes.h:1723
@ OB_UVC_BACKEND_TYPE_V4L2
Use v4l2 backend to access the UVC device.
Definition ObTypes.h:1718
@ OB_UVC_BACKEND_TYPE_LIBUVC
Use libuvc backend to access the UVC device.
Definition ObTypes.h:1712
@ OB_UVC_BACKEND_TYPE_AUTO
Auto detect system capabilities and device hint to select backend.
Definition ObTypes.h:1706
enum OBCompressionMode ob_compression_mode
OBDeviceType
Enumeration for device types.
Definition ObTypes.h:679
@ OB_STRUCTURED_LIGHT_MONOCULAR_CAMERA
Definition ObTypes.h:681
@ OB_DEVICE_TYPE_UNKNOWN
Definition ObTypes.h:680
@ OB_TOF_CAMERA
Definition ObTypes.h:683
@ OB_STRUCTURED_LIGHT_BINOCULAR_CAMERA
Definition ObTypes.h:682
enum OBDeviceType ob_device_type
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:1761
enum OB_DEVICE_DEVELOPMENT_MODE ob_device_development_mode
struct BASELINE_CALIBRATION_PARAM OBBaselineCalibrationParam
struct OBCompressionParams OB_COMPRESSION_PARAMS
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
OBDepthCroppingMode
Enumeration for depth crop modes.
Definition ObTypes.h:669
@ DEPTH_CROPPING_MODE_AUTO
Definition ObTypes.h:670
@ DEPTH_CROPPING_MODE_OPEN
Definition ObTypes.h:672
@ DEPTH_CROPPING_MODE_CLOSE
Definition ObTypes.h:671
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:99
@ OB_EXCEPTION_TYPE_PLATFORM
Definition ObTypes.h:103
@ OB_EXCEPTION_TYPE_UNKNOWN
Definition ObTypes.h:100
@ OB_EXCEPTION_TYPE_NOT_IMPLEMENTED
Definition ObTypes.h:107
@ OB_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE
Definition ObTypes.h:106
@ OB_EXCEPTION_TYPE_INVALID_VALUE
Definition ObTypes.h:105
@ OB_EXCEPTION_TYPE_UNSUPPORTED_OPERATION
Definition ObTypes.h:110
@ OB_EXCEPTION_TYPE_IO
Definition ObTypes.h:108
@ OB_EXCEPTION_TYPE_MEMORY
Definition ObTypes.h:109
@ OB_EXCEPTION_STD_EXCEPTION
Definition ObTypes.h:101
@ OB_EXCEPTION_TYPE_CAMERA_DISCONNECTED
Definition ObTypes.h:102
struct OBAccelValue ob_accel_value
struct OBCompressionParams ob_compression_params
enum OBAlignMode ob_align_mode
struct ob_filter_t ob_filter
Definition ObTypes.h:34
OBAccelFullScaleRange
Enumeration of accelerometer ranges.
Definition ObTypes.h:622
@ OB_ACCEL_FS_4g
Definition ObTypes.h:625
@ OB_ACCEL_FS_16g
Definition ObTypes.h:627
@ OB_ACCEL_FS_2g
Definition ObTypes.h:624
@ OB_ACCEL_FS_8g
Definition ObTypes.h:626
@ OB_ACCEL_FS_12g
Definition ObTypes.h:630
@ OB_ACCEL_FS_UNKNOWN
Definition ObTypes.h:623
@ OB_ACCEL_FS_6g
Definition ObTypes.h:629
@ OB_ACCEL_FS_3g
Definition ObTypes.h:628
@ OB_ACCEL_FS_24g
Definition ObTypes.h:631
struct ob_margin_filter_config OBMarginFilterConfig
enum OB_COORDINATE_SYSTEM_TYPE ob_coordinate_system_type
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:1853
enum OBLogSeverity ob_device_log_severity_level
struct ob_depth_work_mode_list_t ob_depth_work_mode_list
Definition ObTypes.h:38
enum OBFileTranState ob_file_tran_state
OB_CMD_VERSION
Command version associated with property id.
Definition ObTypes.h:1084
@ OB_CMD_VERSION_NOVERSION
Definition ObTypes.h:1090
@ OB_CMD_VERSION_V0
Version 1.0.
Definition ObTypes.h:1085
@ OB_CMD_VERSION_V1
Version 2.0.
Definition ObTypes.h:1086
@ OB_CMD_VERSION_INVALID
Invalid version.
Definition ObTypes.h:1091
@ OB_CMD_VERSION_V3
Version 4.0.
Definition ObTypes.h:1088
@ OB_CMD_VERSION_V2
Version 3.0.
Definition ObTypes.h:1087
enum OBCommunicationType ob_communication_type
OBFileTranState
Enumeration value describing the file transfer status.
Definition ObTypes.h:278
@ FILE_TRAN_ERR_DDR
Definition ObTypes.h:282
@ FILE_TRAN_STAT_DONE
Definition ObTypes.h:280
@ FILE_TRAN_ERR_MD5_ERROR
Definition ObTypes.h:285
@ FILE_TRAN_ERR_NOT_ENOUGH_SPACE
Definition ObTypes.h:283
@ FILE_TRAN_ERR_WRITE_FLASH_ERROR
Definition ObTypes.h:286
@ FILE_TRAN_ERR_PATH_NOT_WRITABLE
Definition ObTypes.h:284
@ FILE_TRAN_ERR_TIMEOUT
Definition ObTypes.h:287
@ FILE_TRAN_STAT_PREPAR
Definition ObTypes.h:281
@ FILE_TRAN_STAT_TRANSFER
Definition ObTypes.h:279
OBCommunicationType
Device communication mode.
Definition ObTypes.h:1128
@ OB_COMM_NET
Ethernet.
Definition ObTypes.h:1130
@ OB_COMM_USB
USB.
Definition ObTypes.h:1129
enum OBUSBPowerState ob_usb_power_state
enum OBIMUSampleRate ob_accel_sample_rate
enum OBTofFilterRange ob_tof_filter_range
struct OBDeviceTemperature ob_device_temperature
struct OBDataChunk ob_data_chunk
struct OBUint8PropertyRange ob_uint8_property_range
enum OBConvertFormat ob_convert_format
enum OBIMUSampleRate OBAccelSampleRate
enum OBStreamType ob_stream_type
enum OBDataTranState ob_data_tran_state
OBSyncMode
Sync mode.
Definition ObTypes.h:832
@ OB_SYNC_MODE_STANDALONE
Standalone synchronize mode.
Definition ObTypes.h:845
@ OB_SYNC_MODE_CLOSE
Close synchronize mode.
Definition ObTypes.h:838
@ OB_SYNC_MODE_PRIMARY
Primary synchronize mode.
Definition ObTypes.h:852
@ OB_SYNC_MODE_PRIMARY_MCU_TRIGGER
MCU Primary synchronize mode.
Definition ObTypes.h:869
@ OB_SYNC_MODE_SECONDARY
Secondary synchronize mode.
Definition ObTypes.h:862
@ OB_SYNC_MODE_IR_IMU_SYNC
IR and IMU sync signal.
Definition ObTypes.h:898
@ OB_SYNC_MODE_PRIMARY_SOFT_TRIGGER
Software trigger synchronize mode.
Definition ObTypes.h:885
@ OB_SYNC_MODE_PRIMARY_IR_TRIGGER
IR Primary synchronize mode.
Definition ObTypes.h:876
@ OB_SYNC_MODE_UNKNOWN
Unknown type.
Definition ObTypes.h:903
@ OB_SYNC_MODE_SECONDARY_SOFT_TRIGGER
Software trigger synchronize mode as secondary device.
Definition ObTypes.h:893
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:40
ob_playback_status
The playback status of the media.
Definition ObTypes.h:1730
@ OB_PLAYBACK_UNKNOWN
Definition ObTypes.h:1731
@ OB_PLAYBACK_COUNT
Definition ObTypes.h:1735
@ OB_PLAYBACK_PLAYING
Definition ObTypes.h:1732
@ OB_PLAYBACK_STOPPED
Definition ObTypes.h:1734
@ OB_PLAYBACK_PAUSED
Definition ObTypes.h:1733
struct OBSpatialAdvancedFilterParams ob_spatial_advanced_filter_params
struct OBTofExposureThresholdControl ob_tof_exposure_threshold_control
struct OBDepthWorkMode ob_depth_work_mode
struct ob_device_timestamp_reset_config OBDeviceTimestampResetConfig
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 OBFloatPropertyRange ob_float_property_range
enum OB_FRAME_AGGREGATE_OUTPUT_MODE OBFrameAggregateOutputMode
OBDepthWorkModeTag
Preset tag.
Definition ObTypes.h:969
@ OB_DEVICE_DEPTH_WORK_MODE
Definition ObTypes.h:970
@ OB_CUSTOM_DEPTH_WORK_MODE
Definition ObTypes.h:971
OB_FRAME_AGGREGATE_OUTPUT_MODE
Frame aggregate output mode.
Definition ObTypes.h:1178
@ OB_FRAME_AGGREGATE_OUTPUT_COLOR_FRAME_REQUIRE
Color Frame Require output mode.
Definition ObTypes.h:1190
@ OB_FRAME_AGGREGATE_OUTPUT_ANY_SITUATION
FrameSet for any case will be output.
Definition ObTypes.h:1197
@ OB_FRAME_AGGREGATE_OUTPUT_DISABLE
Disable Frame Aggreate.
Definition ObTypes.h:1203
@ OB_FRAME_AGGREGATE_OUTPUT_ALL_TYPE_FRAME_REQUIRE
Only FrameSet that contains all types of data frames will be output.
Definition ObTypes.h:1182
struct OBFilterConfigSchemaItem ob_filter_config_schema_item
enum OBFilterConfigValueType ob_filter_config_value_type
OB_EDGE_NOISE_REMOVAL_TYPE
Definition ObTypes.h:1030
@ OB_MGA_FILTER
Definition ObTypes.h:1033
@ OB_MGC_FILTER
Definition ObTypes.h:1034
@ OB_MGH_FILTER
Definition ObTypes.h:1032
@ OB_MG_FILTER
Definition ObTypes.h:1031
struct OBBoolPropertyRange ob_bool_property_range
OB_DEVICE_DEVELOPMENT_MODE
Enumeration of device development modes.
Definition ObTypes.h:1220
@ OB_USER_MODE
User mode (default mode), which provides full camera device functionality.
Definition ObTypes.h:1224
@ OB_DEVELOPER_MODE
Developer mode, which allows developers to access the operating system and software/hardware resource...
Definition ObTypes.h:1229
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:1049
@ OB_NR_OVERALL
Definition ObTypes.h:1051
@ OB_NR_LUT
Definition ObTypes.h:1050
enum OBDepthWorkModeTag ob_depth_work_mode_tag
ob_multi_device_sync_mode
The synchronization mode of the device.
Definition ObTypes.h:1236
@ OB_MULTI_DEVICE_SYNC_MODE_IR_IMU_SYNC
IR and IMU sync mode.
Definition ObTypes.h:1319
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY
secondary mode
Definition ObTypes.h:1272
@ OB_MULTI_DEVICE_SYNC_MODE_SOFTWARE_TRIGGERING
software triggering mode
Definition ObTypes.h:1298
@ OB_MULTI_DEVICE_SYNC_MODE_HARDWARE_TRIGGERING
hardware triggering mode
Definition ObTypes.h:1314
@ OB_MULTI_DEVICE_SYNC_MODE_STANDALONE
standalone mode
Definition ObTypes.h:1250
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY_SYNCED
secondary synced mode
Definition ObTypes.h:1285
@ OB_MULTI_DEVICE_SYNC_MODE_PRIMARY
primary mode
Definition ObTypes.h:1259
@ OB_MULTI_DEVICE_SYNC_MODE_FREE_RUN
free run mode
Definition ObTypes.h:1243
OBPermissionType
the permission type of api or property
Definition ObTypes.h:63
@ OB_PERMISSION_DENY
Definition ObTypes.h:64
@ OB_PERMISSION_ANY
Definition ObTypes.h:68
@ OB_PERMISSION_READ
Definition ObTypes.h:65
@ OB_PERMISSION_READ_WRITE
Definition ObTypes.h:67
@ OB_PERMISSION_WRITE
Definition ObTypes.h:66
struct OBSpatialModerateFilterParams ob_spatial_moderate_filter_params
enum OBIMUSampleRate ob_gyro_sample_rate
struct AE_ROI OBRegionOfInterest
OBCompressionMode
Compression mode.
Definition ObTypes.h:804
@ OB_COMPRESSION_LOSSY
Definition ObTypes.h:806
@ OB_COMPRESSION_LOSSLESS
Definition ObTypes.h:805
OBDCPowerState
DC power status.
Definition ObTypes.h:1148
@ OB_DC_POWER_PLUGIN
Plugin.
Definition ObTypes.h:1150
@ OB_DC_POWER_NO_PLUGIN
No plugin.
Definition ObTypes.h:1149
ob_intra_camera_sync_reference
Intra-camera Sync Reference based on the exposure start time, the exposure middle time,...
Definition ObTypes.h:1742
@ START_OF_EXPOSURE
Definition ObTypes.h:1743
@ END_OF_EXPOSURE
Definition ObTypes.h:1745
@ MIDDLE_OF_EXPOSURE
Definition ObTypes.h:1744
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:1844
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:41
struct OBD2CTransform ob_transform
OBUpgradeState
Enumeration value describing the firmware upgrade status.
Definition ObTypes.h:253
@ ERR_DDR
Definition ObTypes.h:267
@ STAT_DONE
Definition ObTypes.h:257
@ ERR_IMAGE_SIZE
Definition ObTypes.h:265
@ STAT_IN_PROGRESS
Definition ObTypes.h:258
@ ERR_OTHER
Definition ObTypes.h:266
@ STAT_VERIFY_IMAGE
Definition ObTypes.h:260
@ ERR_FLASH_TYPE
Definition ObTypes.h:264
@ ERR_VERIFY
Definition ObTypes.h:261
@ ERR_ERASE
Definition ObTypes.h:263
@ STAT_VERIFY_SUCCESS
Definition ObTypes.h:255
@ ERR_MISMATCH
Definition ObTypes.h:269
@ ERR_UNSUPPORT_DEV
Definition ObTypes.h:270
@ STAT_START
Definition ObTypes.h:259
@ ERR_INVALID_COUNT
Definition ObTypes.h:271
@ ERR_TIMEOUT
Definition ObTypes.h:268
@ STAT_FILE_TRANSFER
Definition ObTypes.h:256
@ STAT_DONE_WITH_DUPLICATES
Definition ObTypes.h:254
@ ERR_PROGRAM
Definition ObTypes.h:262
OBUSBPowerState
USB power status.
Definition ObTypes.h:1137
@ OB_USB_POWER_5V_1A5
5V/1.5A
Definition ObTypes.h:1140
@ OB_USB_POWER_5V_3A0
5V/3.0A
Definition ObTypes.h:1141
@ OB_USB_POWER_5V_0A9
5V/0.9A
Definition ObTypes.h:1139
@ OB_USB_POWER_NO_PLUGIN
No plugin.
Definition ObTypes.h:1138
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:187
@ OB_PIXEL_DISPARITY
Definition ObTypes.h:190
@ OB_PIXEL_UNKNOWN
Definition ObTypes.h:188
@ OB_PIXEL_DEPTH
Definition ObTypes.h:189
@ OB_PIXEL_TOF_DEPTH
Definition ObTypes.h:192
@ OB_PIXEL_RAW_PHASE
Definition ObTypes.h:191
struct ob_device_preset_list_t ob_device_preset_list
Definition ObTypes.h:39
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:42
enum ob_playback_status OBPlaybackStatus
enum OBCameraDistortionModel ob_camera_distortion_model
enum OBDeviceType OB_DEVICE_TYPE
uint64_t ob_device_state
Definition ObTypes.h:647
OBHoleFillingMode
Hole fillig mode.
Definition ObTypes.h:1006
@ OB_HOLE_FILL_FAREST
Definition ObTypes.h:1009
@ OB_HOLE_FILL_NEAREST
Definition ObTypes.h:1008
@ OB_HOLE_FILL_TOP
Definition ObTypes.h:1007
enum OBSensorType ob_sensor_type
enum OBDepthPrecisionLevel ob_depth_precision_level
void(* ob_frame_callback)(ob_frame *frame, void *user_data)
Callback for frame.
Definition ObTypes.h:1826
OBCameraPerformanceMode
Camera performance mode.
Definition ObTypes.h:516
@ HIGH_PERFORMANCE_MODE
Definition ObTypes.h:518
@ ADAPTIVE_PERFORMANCE_MODE
Definition ObTypes.h:517
void(* ob_set_data_callback)(ob_data_tran_state state, uint8_t percent, void *user_data)
Callback for writing data.
Definition ObTypes.h:1789
struct OBD2CTransform ob_extrinsic
struct OBDispOffsetConfig ob_disp_offset_config
struct ob_sensor_list_t ob_sensor_list
Definition ObTypes.h:30
struct OBProtocolVersion ob_protocol_version
enum ob_rotate_degree_type OBRotateDegreeType
struct ob_pipeline_t ob_pipeline
Definition ObTypes.h:36
void(* ob_playback_status_changed_callback)(ob_playback_status status, void *user_data)
Definition ObTypes.h:1855
void(* ob_media_state_callback)(ob_media_state state, void *user_data)
Callback for media status (recording and playback)
Definition ObTypes.h:1806
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:1771
enum OBGyroFullScaleRange OB_GYRO_FULL_SCALE_RANGE
enum OBMediaState ob_media_state
OBAlignMode
Alignment mode.
Definition ObTypes.h:506
@ ALIGN_D2C_HW_MODE
Definition ObTypes.h:508
@ ALIGN_DISABLE
Definition ObTypes.h:507
@ ALIGN_D2C_SW_MODE
Definition ObTypes.h:509
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:1500
@ OB_FRAME_METADATA_TYPE_POWER_LINE_FREQUENCY
Power line frequency.
Definition ObTypes.h:1591
@ OB_FRAME_METADATA_TYPE_SATURATION
Saturation.
Definition ObTypes.h:1565
@ OB_FRAME_METADATA_TYPE_AE_ROI_TOP
Top region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1624
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_SIZE
HDR sequence size.
Definition ObTypes.h:1649
@ OB_FRAME_METADATA_TYPE_FRAME_NUMBER
The number of current frame.
Definition ObTypes.h:1519
@ OB_FRAME_METADATA_TYPE_SHARPNESS
Sharpness.
Definition ObTypes.h:1570
@ OB_FRAME_METADATA_TYPE_MANUAL_WHITE_BALANCE
Manual white balance setting.
Definition ObTypes.h:1603
@ OB_FRAME_METADATA_TYPE_AE_ROI_LEFT
Left region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1619
@ OB_FRAME_METADATA_TYPE_SENSOR_TIMESTAMP
Timestamp in the middle of the capture.
Definition ObTypes.h:1514
@ OB_FRAME_METADATA_TYPE_COUNT
The number of frame metadata types, using for types iterating.
Definition ObTypes.h:1693
@ OB_FRAME_METADATA_TYPE_BRIGHTNESS
Brightness.
Definition ObTypes.h:1555
@ OB_FRAME_METADATA_TYPE_CONTRAST
Contrast.
Definition ObTypes.h:1560
@ OB_FRAME_METADATA_TYPE_HUE
Hue.
Definition ObTypes.h:1580
@ OB_FRAME_METADATA_TYPE_AE_ROI_BOTTOM
Bottom region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1634
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_INDEX
HDR sequence index.
Definition ObTypes.h:1654
@ OB_FRAME_METADATA_TYPE_LASER_STATUS
Laser status.
Definition ObTypes.h:1672
@ OB_FRAME_METADATA_TYPE_WHITE_BALANCE
White balance.
Definition ObTypes.h:1550
@ OB_FRAME_METADATA_TYPE_AE_ROI_RIGHT
Right region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1629
@ OB_FRAME_METADATA_TYPE_DISPARITY_SEARCH_RANGE
disparity search range
Definition ObTypes.h:1687
@ OB_FRAME_METADATA_TYPE_GAIN
Gain.
Definition ObTypes.h:1539
@ OB_FRAME_METADATA_TYPE_LASER_POWER_LEVEL
Laser power level.
Definition ObTypes.h:1666
@ OB_FRAME_METADATA_TYPE_GPIO_INPUT_DATA
GPIO input data.
Definition ObTypes.h:1677
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_NAME
HDR sequence name.
Definition ObTypes.h:1644
@ OB_FRAME_METADATA_TYPE_EXPOSURE_PRIORITY
Exposure priority.
Definition ObTypes.h:1639
@ OB_FRAME_METADATA_TYPE_AUTO_WHITE_BALANCE
Auto white balance status.
Definition ObTypes.h:1545
@ OB_FRAME_METADATA_TYPE_BACKLIGHT_COMPENSATION
Backlight compensation.
Definition ObTypes.h:1575
@ OB_FRAME_METADATA_TYPE_TIMESTAMP
Timestamp when the frame is captured.
Definition ObTypes.h:1506
@ OB_FRAME_METADATA_TYPE_ACTUAL_FRAME_RATE
Actual frame rate.
Definition ObTypes.h:1609
@ OB_FRAME_METADATA_TYPE_LOW_LIGHT_COMPENSATION
Low light compensation.
Definition ObTypes.h:1598
@ OB_FRAME_METADATA_TYPE_LASER_POWER
Laser power value in mW.
Definition ObTypes.h:1661
@ OB_FRAME_METADATA_TYPE_FRAME_RATE
Frame rate.
Definition ObTypes.h:1614
@ OB_FRAME_METADATA_TYPE_DISPARITY_SEARCH_OFFSET
disparity search offset value
Definition ObTypes.h:1682
@ OB_FRAME_METADATA_TYPE_EXPOSURE
Exposure time.
Definition ObTypes.h:1532
@ OB_FRAME_METADATA_TYPE_GAMMA
Gamma.
Definition ObTypes.h:1585
@ OB_FRAME_METADATA_TYPE_AUTO_EXPOSURE
Auto exposure status.
Definition ObTypes.h:1525
OBDepthPrecisionLevel
Enumeration for depth precision levels.
Definition ObTypes.h:723
@ OB_PRECISION_0MM05
Definition ObTypes.h:730
@ OB_PRECISION_UNKNOWN
Definition ObTypes.h:731
@ OB_PRECISION_0MM8
Definition ObTypes.h:725
@ OB_PRECISION_0MM5
Definition ObTypes.h:729
@ OB_PRECISION_1MM
Definition ObTypes.h:724
@ OB_PRECISION_COUNT
Definition ObTypes.h:732
@ OB_PRECISION_0MM4
Definition ObTypes.h:726
@ OB_PRECISION_0MM2
Definition ObTypes.h:728
@ OB_PRECISION_0MM1
Definition ObTypes.h:727
ob_rotate_degree_type
Rotate degree.
Definition ObTypes.h:1157
@ OB_ROTATE_DEGREE_0
Rotate 0.
Definition ObTypes.h:1158
@ OB_ROTATE_DEGREE_90
Rotate 90.
Definition ObTypes.h:1159
@ OB_ROTATE_DEGREE_180
Rotate 180.
Definition ObTypes.h:1160
@ OB_ROTATE_DEGREE_270
Rotate 270.
Definition ObTypes.h:1161
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:535
@ FORMAT_MJPG_TO_NV21
Definition ObTypes.h:542
@ FORMAT_NV12_TO_RGB
Definition ObTypes.h:539
@ FORMAT_BGRA_TO_BGR
Definition ObTypes.h:555
@ FORMAT_YUYV_TO_Y8
Definition ObTypes.h:553
@ FORMAT_YUYV_TO_RGBA
Definition ObTypes.h:550
@ FORMAT_UYVY_TO_RGB
Definition ObTypes.h:546
@ FORMAT_MJPG_TO_BGR
Definition ObTypes.h:544
@ FORMAT_NV21_TO_RGB
Definition ObTypes.h:538
@ FORMAT_Y16_TO_RGB
Definition ObTypes.h:556
@ FORMAT_RGB_TO_BGR
Definition ObTypes.h:541
@ FORMAT_BGR_TO_RGB
Definition ObTypes.h:547
@ FORMAT_MJPG_TO_BGRA
Definition ObTypes.h:545
@ FORMAT_MJPG_TO_I420
Definition ObTypes.h:540
@ FORMAT_YUYV_TO_RGB
Definition ObTypes.h:536
@ FORMAT_YUYV_TO_BGR
Definition ObTypes.h:549
@ FORMAT_MJPG_TO_NV12
Definition ObTypes.h:548
@ FORMAT_YUYV_TO_Y16
Definition ObTypes.h:552
@ FORMAT_I420_TO_RGB
Definition ObTypes.h:537
@ FORMAT_MJPG_TO_RGB
Definition ObTypes.h:543
@ FORMAT_YUYV_TO_BGRA
Definition ObTypes.h:551
@ FORMAT_Y8_TO_RGB
Definition ObTypes.h:557
@ FORMAT_RGBA_TO_RGB
Definition ObTypes.h:554
enum OBCommunicationType OB_COMMUNICATION_TYPE
enum OBLogSeverity DEVICE_LOG_SEVERITY_LEVEL
struct OBUint16PropertyRange ob_uint16_property_range
void(* ob_device_state_callback)(ob_device_state state, const char *message, void *user_data)
Callback for device status.
Definition ObTypes.h:1780
OBMediaType
Enumeration for types of media to record or playback.
Definition ObTypes.h:690
@ OB_MEDIA_STREAM_INFO
Definition ObTypes.h:698
@ OB_MEDIA_IR_LEFT_STREAM
Definition ObTypes.h:699
@ OB_MEDIA_ALL
Definition ObTypes.h:702
@ OB_MEDIA_IR_RIGHT_STREAM
Definition ObTypes.h:700
@ OB_MEDIA_DEPTH_STREAM
Definition ObTypes.h:692
@ OB_MEDIA_IR_STREAM
Definition ObTypes.h:693
@ OB_MEDIA_CAMERA_PARAM
Definition ObTypes.h:696
@ OB_MEDIA_GYRO_STREAM
Definition ObTypes.h:694
@ OB_MEDIA_DEVICE_INFO
Definition ObTypes.h:697
@ OB_MEDIA_ACCEL_STREAM
Definition ObTypes.h:695
@ OB_MEDIA_COLOR_STREAM
Definition ObTypes.h:691
enum OBDepthCroppingMode ob_depth_cropping_mode
enum OBPermissionType ob_permission_type
OBLogSeverity
log level, the higher the level, the stronger the log filter
Definition ObTypes.h:84
@ OB_LOG_SEVERITY_DEBUG
Definition ObTypes.h:85
@ OB_LOG_SEVERITY_ERROR
Definition ObTypes.h:88
@ OB_LOG_SEVERITY_INFO
Definition ObTypes.h:86
@ OB_LOG_SEVERITY_OFF
Definition ObTypes.h:90
@ OB_LOG_SEVERITY_WARN
Definition ObTypes.h:87
@ OB_LOG_SEVERITY_FATAL
Definition ObTypes.h:89
enum OBPixelType ob_pixel_type
OBFilterConfigValueType
Definition ObTypes.h:1459
@ OB_FILTER_CONFIG_VALUE_TYPE_FLOAT
Definition ObTypes.h:1462
@ OB_FILTER_CONFIG_VALUE_TYPE_INT
Definition ObTypes.h:1461
@ OB_FILTER_CONFIG_VALUE_TYPE_BOOLEAN
Definition ObTypes.h:1463
@ OB_FILTER_CONFIG_VALUE_TYPE_INVALID
Definition ObTypes.h:1460
void(* ob_frameset_callback)(ob_frame *frameset, void *user_data)
Callback for frameset.
Definition ObTypes.h:1836
OB_COORDINATE_SYSTEM_TYPE
Enumeration of point cloud coordinate system types.
Definition ObTypes.h:1211
@ OB_RIGHT_HAND_COORDINATE_SYSTEM
Definition ObTypes.h:1213
@ OB_LEFT_HAND_COORDINATE_SYSTEM
Definition ObTypes.h:1212
struct OBMGCFilterConfig ob_mgc_filter_config
struct OBCameraIntrinsic ob_camera_intrinsic
The rect of the region of interest.
Definition ObTypes.h:1452
int16_t y0_top
Definition ObTypes.h:1454
int16_t x1_right
Definition ObTypes.h:1455
int16_t y1_bottom
Definition ObTypes.h:1456
int16_t x0_left
Definition ObTypes.h:1453
Baseline calibration parameters.
Definition ObTypes.h:1418
float zpd
Calibration distance.
Definition ObTypes.h:1426
float baseline
Baseline length.
Definition ObTypes.h:1422
HDR Configuration.
Definition ObTypes.h:1432
uint32_t gain_1
Gain 1.
Definition ObTypes.h:1444
uint32_t exposure_1
Exposure time 1.
Definition ObTypes.h:1443
uint32_t exposure_2
Exposure time 2.
Definition ObTypes.h:1445
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:1441
uint8_t sequence_name
Sequence name.
Definition ObTypes.h:1442
uint32_t gain_2
Gain 2.
Definition ObTypes.h:1446
Structure for accelerometer intrinsic parameters.
Definition ObTypes.h:400
double gravity[3]
gravity direction for x, y, z axis
Definition ObTypes.h:405
double bias[3]
bias for x, y, z axis
Definition ObTypes.h:404
double scaleMisalignment[9]
scale factor and three-axis non-orthogonal error
Definition ObTypes.h:406
double randomWalk
random walk
Definition ObTypes.h:402
double noiseDensity
In-run bias instability.
Definition ObTypes.h:401
double referenceTemp
reference temperature
Definition ObTypes.h:403
double tempSlope[9]
linear temperature drift coefficient
Definition ObTypes.h:407
Data structures for accelerometers and gyroscopes.
Definition ObTypes.h:638
float z
Z-direction component.
Definition ObTypes.h:641
float x
X-direction component.
Definition ObTypes.h:639
float y
Y-direction component.
Definition ObTypes.h:640
Structure for boolean range.
Definition ObTypes.h:365
bool def
Default value.
Definition ObTypes.h:370
bool min
Minimum value.
Definition ObTypes.h:368
bool cur
Current value.
Definition ObTypes.h:366
bool max
Maximum value.
Definition ObTypes.h:367
bool step
Step value.
Definition ObTypes.h:369
calibration parameters
Definition ObTypes.h:467
OBCameraDistortion distortion[OB_SENSOR_TYPE_COUNT]
Sensor distortion.
Definition ObTypes.h:469
OBExtrinsic extrinsics[OB_SENSOR_TYPE_COUNT][OB_SENSOR_TYPE_COUNT]
Definition ObTypes.h:471
OBCameraIntrinsic intrinsics[OB_SENSOR_TYPE_COUNT]
Sensor internal parameters.
Definition ObTypes.h:468
Structure for distortion parameters.
Definition ObTypes.h:425
float p1
Tangential distortion factor 1.
Definition ObTypes.h:432
float k6
Radial distortion factor 6.
Definition ObTypes.h:431
float k3
Radial distortion factor 3.
Definition ObTypes.h:428
float k1
Radial distortion factor 1.
Definition ObTypes.h:426
float k5
Radial distortion factor 5.
Definition ObTypes.h:430
OBCameraDistortionModel model
Definition ObTypes.h:434
float k4
Radial distortion factor 4.
Definition ObTypes.h:429
float p2
Tangential distortion factor 2.
Definition ObTypes.h:433
float k2
Radial distortion factor 2.
Definition ObTypes.h:427
Structure for camera intrinsic parameters.
Definition ObTypes.h:388
float fx
Focal length in x direction.
Definition ObTypes.h:389
float cx
Optical center abscissa.
Definition ObTypes.h:391
int16_t height
Image height.
Definition ObTypes.h:394
float cy
Optical center ordinate.
Definition ObTypes.h:392
int16_t width
Image width.
Definition ObTypes.h:393
float fy
Focal length in y direction.
Definition ObTypes.h:390
Structure for camera parameters.
Definition ObTypes.h:448
OBCameraDistortion rgbDistortion
Color camera distortion parameters.
Definition ObTypes.h:452
bool isMirrored
Whether the image frame corresponding to this group of parameters is mirrored.
Definition ObTypes.h:454
OBCameraIntrinsic rgbIntrinsic
Color camera internal parameters.
Definition ObTypes.h:450
OBCameraIntrinsic depthIntrinsic
Depth camera internal parameters.
Definition ObTypes.h:449
OBCameraDistortion depthDistortion
Depth camera distortion parameters.
Definition ObTypes.h:451
OBD2CTransform transform
Rotation/transformation matrix.
Definition ObTypes.h:453
3D point structure with color information
Definition ObTypes.h:792
float z
Z coordinate.
Definition ObTypes.h:795
float g
Green channel component.
Definition ObTypes.h:797
float b
Blue channel component.
Definition ObTypes.h:798
float x
X coordinate.
Definition ObTypes.h:793
float y
Y coordinate.
Definition ObTypes.h:794
float r
Red channel component.
Definition ObTypes.h:796
Structure for rotation/transformation.
Definition ObTypes.h:440
float trans[3]
Transformation matrix in millimeters.
Definition ObTypes.h:442
float rot[9]
Rotation matrix.
Definition ObTypes.h:441
Structure for transmitting data blocks.
Definition ObTypes.h:311
uint8_t * data
Pointer to current block data.
Definition ObTypes.h:312
uint32_t offset
Offset of current data block relative to complete data.
Definition ObTypes.h:314
uint32_t fullDataSize
Size of full data.
Definition ObTypes.h:315
uint32_t size
Length of current block data.
Definition ObTypes.h:313
Depth work mode.
Definition ObTypes.h:978
OBDepthWorkModeTag tag
Preset tag.
Definition ObTypes.h:991
uint8_t checksum[16]
Checksum of work mode.
Definition ObTypes.h:982
char name[32]
Name of work mode.
Definition ObTypes.h:987
struct of serial number
Definition ObTypes.h:1482
Device synchronization configuration.
Definition ObTypes.h:912
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:932
OBSyncMode syncMode
Device synchronize mode.
Definition ObTypes.h:916
uint16_t deviceTriggerSignalOutPolarity
The device trigger signal output polarity is used to control the polarity configuration of the trigge...
Definition ObTypes.h:949
uint16_t deviceId
Device number. Users can mark the device with this number.
Definition ObTypes.h:962
uint16_t irTriggerSignalInDelay
IR Trigger signal input delay: Used to configure the delay between the IR/Depth/TOF Sensor receiving ...
Definition ObTypes.h:924
uint16_t deviceTriggerSignalOutDelay
Device trigger signal output delay, used to control the delay configuration of the host device to out...
Definition ObTypes.h:940
uint16_t mcuTriggerFrequency
MCU trigger frequency, used to configure the output frequency of MCU trigger signal in MCU master mod...
Definition ObTypes.h:957
Temperature parameters of the device (unit: Celsius)
Definition ObTypes.h:652
float tecTemp
TEC temperature.
Definition ObTypes.h:657
float irRightTemp
Right IR temperature.
Definition ObTypes.h:661
float imuTemp
IMU temperature.
Definition ObTypes.h:658
float mainBoardTemp
Motherboard temperature.
Definition ObTypes.h:656
float irTemp
IR temperature.
Definition ObTypes.h:654
float chipBottomTemp
MX6600 bottom temperature.
Definition ObTypes.h:663
float irLeftTemp
Left IR temperature.
Definition ObTypes.h:660
float ldmTemp
Laser temperature.
Definition ObTypes.h:655
float rgbTemp
RGB temperature.
Definition ObTypes.h:659
float chipTopTemp
MX6600 top temperature.
Definition ObTypes.h:662
float cpuTemp
CPU temperature.
Definition ObTypes.h:653
Disparity offset interleaving configuration.
Definition ObTypes.h:1489
disparity parameters for disparity based camera
Definition ObTypes.h:740
float minDisparity
Definition ObTypes.h:747
uint8_t bitSize
Definition ObTypes.h:745
int32_t invalidDisp
Definition ObTypes.h:750
uint8_t packMode
Definition ObTypes.h:748
uint8_t isDualCamera
Definition ObTypes.h:752
int32_t dispIntPlace
Definition ObTypes.h:751
OBEdgeNoiseRemovalType type
Definition ObTypes.h:1039
Configuration Item for the filter.
Definition ObTypes.h:1469
double min
Minimum value casted to double.
Definition ObTypes.h:1472
OBFilterConfigValueType type
Value type of the configuration item.
Definition ObTypes.h:1471
double max
Maximum value casted to double.
Definition ObTypes.h:1473
const char * name
Name of the configuration item.
Definition ObTypes.h:1470
double def
Default value casted to double.
Definition ObTypes.h:1475
double step
Step value casted to double.
Definition ObTypes.h:1474
const char * desc
Description of the configuration item.
Definition ObTypes.h:1476
Structure for float range.
Definition ObTypes.h:332
float cur
Current value.
Definition ObTypes.h:333
float min
Minimum value.
Definition ObTypes.h:335
float max
Maximum value.
Definition ObTypes.h:334
float def
Default value.
Definition ObTypes.h:337
float step
Step value.
Definition ObTypes.h:336
Structure for gyroscope intrinsic parameters.
Definition ObTypes.h:413
double randomWalk
random walk
Definition ObTypes.h:415
double scaleMisalignment[9]
scale factor and three-axis non-orthogonal error
Definition ObTypes.h:418
double bias[3]
bias for x, y, z axis
Definition ObTypes.h:417
double noiseDensity
In-run bias instability.
Definition ObTypes.h:414
double tempSlope[9]
linear temperature drift coefficient
Definition ObTypes.h:419
double referenceTemp
reference temperature
Definition ObTypes.h:416
Structure for integer range.
Definition ObTypes.h:321
int32_t step
Step value.
Definition ObTypes.h:325
int32_t def
Default value.
Definition ObTypes.h:326
int32_t max
Maximum value.
Definition ObTypes.h:323
int32_t min
Minimum value.
Definition ObTypes.h:324
int32_t cur
Current value.
Definition ObTypes.h:322
Configuration for mgc filter.
Definition ObTypes.h:491
uint32_t width
Definition ObTypes.h:492
uint32_t height
Definition ObTypes.h:493
IP address configuration for network devices (IPv4)
Definition ObTypes.h:1098
uint8_t gateway[4]
Gateway (big endian)
Definition ObTypes.h:1119
uint16_t dhcp
DHCP status.
Definition ObTypes.h:1104
uint8_t mask[4]
Subnet mask (big endian)
Definition ObTypes.h:1114
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:1109
OBDDONoiseRemovalType type
Definition ObTypes.h:1058
2D point structure in the SDK
Definition ObTypes.h:777
float x
X coordinate.
Definition ObTypes.h:778
float y
Y coordinate.
Definition ObTypes.h:779
3D point structure in the SDK
Definition ObTypes.h:768
float y
Y coordinate.
Definition ObTypes.h:770
float z
Z coordinate.
Definition ObTypes.h:771
float x
X coordinate.
Definition ObTypes.h:769
int depthDecimationFactor
depth decimation factor
Definition ObTypes.h:461
int irDecimationFactor
ir decimation factor
Definition ObTypes.h:460
int16_t height
height
Definition ObTypes.h:459
Control command protocol version number.
Definition ObTypes.h:1064
uint8_t major
Major version number.
Definition ObTypes.h:1068
uint8_t minor
Minor version number.
Definition ObTypes.h:1073
uint8_t patch
Patch version number.
Definition ObTypes.h:1078
Rectangle.
Definition ObTypes.h:525
uint32_t height
Rectangle height.
Definition ObTypes.h:529
uint32_t y
Origin coordinate y.
Definition ObTypes.h:527
uint32_t x
Origin coordinate x.
Definition ObTypes.h:526
uint32_t width
Rectangle width.
Definition ObTypes.h:528
SequenceId fliter list item.
Definition ObTypes.h:998
TOF Exposure Threshold.
Definition ObTypes.h:823
int32_t lower
Lower threshold, unit: ms.
Definition ObTypes.h:825
int32_t upper
Upper threshold, unit: ms.
Definition ObTypes.h:824
Structure for float range.
Definition ObTypes.h:343
uint16_t min
Minimum value.
Definition ObTypes.h:346
uint16_t cur
Current value.
Definition ObTypes.h:344
uint16_t step
Step value.
Definition ObTypes.h:347
uint16_t max
Maximum value.
Definition ObTypes.h:345
uint16_t def
Default value.
Definition ObTypes.h:348
Structure for float range.
Definition ObTypes.h:354
uint8_t min
Minimum value.
Definition ObTypes.h:357
uint8_t def
Default value.
Definition ObTypes.h:359
uint8_t cur
Current value.
Definition ObTypes.h:355
uint8_t step
Step value.
Definition ObTypes.h:358
uint8_t max
Maximum value.
Definition ObTypes.h:356
int width
width of x and y tables
Definition ObTypes.h:785
float * xTable
table used to compute X coordinate
Definition ObTypes.h:783
int height
height of x and y tables
Definition ObTypes.h:786
float * yTable
table used to compute Y coordinate
Definition ObTypes.h:784
The timestamp reset configuration of the device.
Definition ObTypes.h:1391
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:1405
bool enable
Whether to enable the timestamp reset function.
Definition ObTypes.h:1400
bool timestamp_reset_signal_output_enable
the timestamp reset signal output enable flag.
Definition ObTypes.h:1412
The error class exposed by the SDK, users can get detailed error information according to the error.
Definition ObTypes.h:117
char function[256]
Describe the name of the function where the error occurred.
Definition ObTypes.h:120
char args[256]
Describes the parameters passed to the function when an error occurs. Used to check whether the param...
Definition ObTypes.h:121
char message[256]
Describe the detailed error log.
Definition ObTypes.h:119
ob_exception_type exception_type
The description is the specific error type of the SDK.
Definition ObTypes.h:122
ob_status status
Describe the status code of the error, as compatible with previous customer status code requirements.
Definition ObTypes.h:118
Configuration for depth margin filter.
Definition ObTypes.h:478
bool enable_direction
Set to true for horizontal and vertical, false for horizontal only.
Definition ObTypes.h:485
int limit_y_th
Maximum vertical threshold.
Definition ObTypes.h:482
int limit_x_th
Maximum horizontal threshold.
Definition ObTypes.h:481
uint32_t height
Image height.
Definition ObTypes.h:484
int margin_y_th
Vertical threshold settings.
Definition ObTypes.h:480
uint32_t width
Image width.
Definition ObTypes.h:483
int margin_x_th
Horizontal threshold settings.
Definition ObTypes.h:479
The synchronization configuration of the device.
Definition ObTypes.h:1327
int depthDelayUs
The delay time of the depth image capture after receiving the capture command or trigger signal in mi...
Definition ObTypes.h:1338
int framesPerTrigger
The frame number of each stream after each trigger in triggering mode.
Definition ObTypes.h:1384
int trigger2ImageDelayUs
The delay time of the image capture after receiving the capture command or trigger signal in microsec...
Definition ObTypes.h:1355
OBMultiDeviceSyncMode syncMode
The sync mode of the device.
Definition ObTypes.h:1331
int triggerOutDelayUs
The delay time of the trigger signal output after receiving the capture command or trigger signal in ...
Definition ObTypes.h:1374
int colorDelayUs
The delay time of the color image capture after receiving the capture command or trigger signal in mi...
Definition ObTypes.h:1345
bool triggerOutEnable
Trigger signal output enable flag.
Definition ObTypes.h:1366