OrbbecSDK 1.10.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
ObTypes.h
Go to the documentation of this file.
1// License: Apache 2.0. See LICENSE file in root directory.
2// Copyright(c) 2020 Orbbec Corporation. All Rights Reserved.
3
9#pragma once
10#if(defined(WIN32) || defined(_WIN32) || defined(WINCE))
11#ifdef OB_EXPORTS
12#define OB_EXTENSION_API __declspec(dllexport)
13#define OB_EXTENSION_INTERNAL_API __declspec(dllexport)
14#elif defined(OB2_EXPORTS)
15#define OB_EXTENSION_API __declspec(dllexport)
16#define OB_EXTENSION_INTERNAL_API
17#else
18#ifndef OB_STATIC
19#define OB_EXTENSION_API __declspec(dllimport)
20#define OB_EXTENSION_INTERNAL_API __declspec(dllimport)
21#else
22#define OB_EXTENSION_API
23#define OB_EXTENSION_INTERNAL_API
24#endif
25#endif
26#else
27#ifndef OB_STATIC
28#define OB_EXTENSION_API __attribute__((visibility("default")))
29#define OB_EXTENSION_INTERNAL_API __attribute__((visibility("default")))
30#else
31#define OB_EXTENSION_API
32#define OB_EXTENSION_INTERNAL_API
33#endif
34#endif
35
36#if defined(__GNUC__) || defined(__clang__)
37#define DEPRECATED __attribute__((deprecated))
38#elif defined(_MSC_VER)
39#define DEPRECATED __declspec(deprecated)
40#else
41#pragma message("WARNING: You need to implement DEPRECATED for this compiler")
42#define DEPRECATED
43#endif
44
45#pragma pack(push, 1) // struct 1-byte align
46
47#ifdef __cplusplus
48extern "C" {
49#endif
50
51#include <stdbool.h>
52#include <stdint.h>
53
54typedef struct ContextImpl ob_context;
55typedef struct DeviceImpl ob_device;
56typedef struct DeviceInfoImpl ob_device_info;
57typedef struct DeviceListImpl ob_device_list;
58typedef struct CameraParamListImpl ob_camera_param_list;
59typedef struct SensorImpl ob_sensor;
60typedef struct SensorListImpl ob_sensor_list;
61typedef struct StreamProfileImpl ob_stream_profile;
62typedef struct StreamProfileListImpl ob_stream_profile_list;
63typedef struct CFrameImpl ob_frame;
64typedef struct FilterImpl ob_filter;
65typedef struct PipelineImpl ob_pipeline;
66typedef struct ConfigImpl ob_config;
67typedef struct RecorderImpl ob_recorder;
68typedef struct PlaybackImpl ob_playback;
69typedef struct OBDepthWorkModeListImpl ob_depth_work_mode_list;
70typedef struct FilterListImpl ob_filter_list;
71typedef struct OBFilterListImpl ob_filters;
72typedef struct DevicePresetListImpl ob_device_preset_list;
73
74#define OB_WIDTH_ANY 0
75#define OB_HEIGHT_ANY 0
76#define OB_FPS_ANY 0
77#define OB_FORMAT_ANY OB_FORMAT_UNKNOWN
78#define OB_PROFILE_DEFAULT 0
79
80#define OB_ACCEL_FULL_SCALE_RANGE_ANY OB_ACCEL_FS_UNKNOWN
81#define OB_ACCEL_SAMPLE_RATE_ANY OB_SAMPLE_RATE_UNKNOWN
82#define OB_GYRO_FULL_SCALE_RANGE_ANY OB_GYRO_FS_UNKNOWN
83#define OB_GYRO_SAMPLE_RATE_ANY OB_SAMPLE_RATE_UNKNOWN
84
88typedef enum {
95
99typedef enum {
107
111typedef enum {
114} OBStatus,
116
120typedef enum {
129#define OB_LOG_SEVERITY_NONE OB_LOG_SEVERITY_OFF
134typedef enum {
147
151typedef struct ob_error {
153 char message[256];
154 char function[256];
155 char args[256];
158
162typedef enum {
175
179typedef enum {
192
196typedef enum {
212
216typedef enum {
252} OBFormat,
254
255#define OB_FORMAT_RGB888 OB_FORMAT_RGB // Alias of OB_FORMAT_RGB for compatibility
256#define OB_FORMAT_MJPEG OB_FORMAT_MJPG // Alias of OB_FORMAT_MJPG for compatibility
257
261typedef enum {
274 ERR_DDR = -7,
275 ERR_TIMEOUT = -8
278
282typedef enum {
294
298typedef enum {
311
315typedef struct {
316 uint8_t *data;
317 uint32_t size;
318 uint32_t offset;
319 uint32_t fullDataSize;
321
325typedef struct {
326 int32_t cur;
327 int32_t max;
328 int32_t min;
329 int32_t step;
330 int32_t def;
332
336typedef struct {
337 float cur;
338 float max;
339 float min;
340 float step;
341 float def;
343
347typedef struct {
348 uint16_t cur;
349 uint16_t max;
350 uint16_t min;
351 uint16_t step;
352 uint16_t def;
354
358typedef struct {
359 uint8_t cur;
360 uint8_t max;
361 uint8_t min;
362 uint8_t step;
363 uint8_t def;
365
369typedef struct {
370 bool cur;
371 bool max;
372 bool min;
373 bool step;
374 bool def;
376
380typedef struct {
381 float fx;
382 float fy;
383 float cx;
384 float cy;
385 int16_t width;
386 int16_t height;
388
392typedef struct {
394 double randomWalk;
396 double bias[3];
397 double gravity[3];
398 double scaleMisalignment[9];
399 double tempSlope[9];
401
405typedef struct {
407 double randomWalk;
409 double bias[3];
410 double scaleMisalignment[9];
411 double tempSlope[9];
413
417typedef struct {
418 float k1;
419 float k2;
420 float k3;
421 float k4;
422 float k5;
423 float k6;
424 float p1;
425 float p2;
427
429typedef enum {
437
439typedef struct {
440 int width;
441 int height;
442 float ppx;
443 float ppy;
444 float fx;
445 float fy;
447 float coeffs[5];
450
454typedef struct {
455 float rot[9];
456 float trans[3];
458
462typedef struct {
470
474typedef struct {
478
482
486typedef struct {
492
496typedef struct {
501 uint32_t width;
502 uint32_t height;
505
509typedef struct {
510 uint32_t width;
511 uint32_t height;
520
524typedef enum {
530
534typedef struct {
535 uint32_t x;
536 uint32_t y;
537 uint32_t width;
538 uint32_t height;
540
544typedef enum {
565
566// DEPRECATED: Only used for old version program compatibility, will be completely deleted in subsequent iterative versions
567#define FORMAT_MJPEG_TO_I420 FORMAT_MJPG_TO_I420
568#define FORMAT_MJPEG_TO_NV21 FORMAT_MJPG_TO_NV21
569#define FORMAT_MJPEG_TO_BGRA FORMAT_MJPG_TO_BGRA
570#define FORMAT_YUYV_TO_RGB888 FORMAT_YUYV_TO_RGB
571#define FORMAT_I420_TO_RGB888 FORMAT_I420_TO_RGB
572#define FORMAT_NV21_TO_RGB888 FORMAT_NV21_TO_RGB
573#define FORMAT_NV12_TO_RGB888 FORMAT_NV12_TO_RGB
574#define FORMAT_UYVY_TO_RGB888 FORMAT_UYVY_TO_RGB
575#define FORMAT_MJPG_TO_RGB888 FORMAT_MJPG_TO_RGB
576#define FORMAT_MJPG_TO_BGR888 FORMAT_MJPG_TO_BGR
577#define FORMAT_MJPEG_TO_RGB888 FORMAT_MJPG_TO_RGB
578#define FORMAT_MJPEG_TO_BGR888 FORMAT_MJPG_TO_BGR
579#define FORMAT_RGB888_TO_BGR FORMAT_RGB_TO_BGR
580
584typedef enum {
603
607typedef enum {
619
623typedef enum {
631
635typedef struct {
636 float x;
637 float y;
638 float z;
640
645
649typedef struct {
650 float cpuTemp;
651 float irTemp;
652 float ldmTemp;
654 float tecTemp;
655 float imuTemp;
656 float rgbTemp;
662
666typedef enum {
672
676typedef enum {
682
686typedef enum {
702
706typedef enum {
713
719typedef enum {
731
735typedef enum {
745typedef struct {
746 float x;
747 float y;
748 float z;
750
754typedef struct {
755 float x;
756 float y;
758
759typedef struct {
760 float *xTable;
761 float *yTable;
762 int width;
763 int height;
765
769typedef struct {
770 float x;
771 float y;
772 float z;
773 float r;
774 float g;
775 float b;
777
781typedef enum {
786
790typedef struct {
796
800typedef struct {
801 int32_t upper;
802 int32_t lower;
804
808typedef enum {
817
818
823typedef enum {
830
837
844
854
861
868
877
885
890
891} OBSyncMode,
893
898typedef struct {
903
911
919
927
936
944
948 uint16_t deviceId;
949
954typedef struct {
958 uint8_t checksum[16];
959
963 char name[32];
965
969typedef struct {
971 char name[8];
973
977typedef enum {
979 OB_HOLE_FILL_NEAREST = 1, // "max" means farest for depth, and nearest for disparity; FILL_NEAREST
980 OB_HOLE_FILL_FAREST = 2, // FILL_FAREST
983
984typedef struct {
985 uint8_t magnitude; // magnitude
986 float alpha; // smooth_alpha
987 uint16_t disp_diff; // smooth_delta
988 uint16_t radius; // hole_fill
990
991
992typedef struct {
993 uint8_t size; //median filter window size
995
996
997typedef struct {
998 uint8_t size ;
999 uint8_t magnitude ; // magnitude
1000 uint16_t disp_diff ;
1002
1005 OB_MGH_FILTER = 1, // horizontal MG
1006 OB_MGA_FILTER = 2, // asym MG
1010
1011typedef struct {
1015 uint16_t marginTopTh;
1018
1023 OB_NR_LUT = 0, // SPLIT
1024 OB_NR_OVERALL = 1, // NON_SPLIT
1027
1028typedef struct {
1029 uint16_t max_size;
1030 uint16_t disp_diff;
1033
1037typedef struct {
1041 uint8_t major;
1042
1046 uint8_t minor;
1047
1051 uint8_t patch;
1053
1057typedef enum {
1058 OB_CMD_VERSION_V0 = (uint16_t)0,
1059 OB_CMD_VERSION_V1 = (uint16_t)1,
1060 OB_CMD_VERSION_V2 = (uint16_t)2,
1061 OB_CMD_VERSION_V3 = (uint16_t)3,
1062
1063 OB_CMD_VERSION_NOVERSION = (uint16_t)0xfffe,
1064 OB_CMD_VERSION_INVALID = (uint16_t)0xffff,
1067
1083typedef struct OBDataBundle {
1088
1094 void *data;
1095
1101 uint32_t dataSize;
1102
1109
1115 uint32_t itemCount;
1117
1121typedef struct {
1127 uint16_t dhcp;
1128
1132 uint8_t address[4];
1133
1137 uint8_t mask[4];
1138
1142 uint8_t gateway[4];
1144
1145#define OBDeviceIpAddrConfig OBNetIpConfig
1146#define ob_device_ip_addr_config OBNetIpConfig
1147
1151typedef enum {
1156
1160typedef enum {
1167
1171typedef enum {
1176
1180typedef enum {
1187
1191typedef enum {
1197
1201typedef enum {
1206
1214
1229
1233typedef enum {
1238
1242typedef enum {
1247
1254
1258typedef enum {
1259
1266
1273
1282
1295
1308
1321
1337
1340
1344typedef struct {
1349
1356
1363
1373
1384
1392
1403
1408typedef struct {
1418
1423
1431
1435typedef struct {
1443 float zpd;
1445
1449typedef struct {
1450
1458 uint8_t enable;
1460 uint32_t exposure_1;
1461 uint32_t gain_1;
1462 uint32_t exposure_2;
1463 uint32_t gain_2;
1465
1469typedef struct {
1470 int16_t x0_left;
1471 int16_t y0_top;
1472 int16_t x1_right;
1473 int16_t y1_bottom;
1475
1476typedef struct {
1477 uint8_t enable;
1478 uint8_t offset0;
1479 uint8_t offset1;
1480 uint8_t reserved;
1482
1483typedef enum {
1487} UVC_BACKEND,
1489
1494typedef enum {
1501
1509
1514
1520
1527
1534
1540
1545
1550
1555
1560
1565
1570
1575
1580
1586
1593
1598
1604
1609
1614
1619
1624
1629
1634
1639
1644
1649
1656
1661
1667
1672
1680
1681// For compatibility
1682#define OB_FRAME_METADATA_TYPE_LASER_POWER_MODE OB_FRAME_METADATA_TYPE_LASER_POWER_LEVEL
1683#define OB_FRAME_METADATA_TYPE_EMITTER_MODE OB_FRAME_METADATA_TYPE_LASER_STATUS
1684
1693typedef void (*ob_file_send_callback)(ob_file_tran_state state, const char *message, uint8_t percent, void *user_data);
1694
1703typedef void (*ob_device_upgrade_callback)(ob_upgrade_state state, const char *message, uint8_t percent, void *user_data);
1704
1712typedef void (*ob_device_state_callback)(ob_device_state state, const char *message, void *user_data);
1713
1721typedef void (*ob_set_data_callback)(ob_data_tran_state state, uint8_t percent, void *user_data);
1722
1730typedef void (*ob_get_data_callback)(ob_data_tran_state state, ob_data_chunk *dataChunk, void *user_data);
1731
1738typedef void (*ob_media_state_callback)(ob_media_state state, void *user_data);
1739
1747typedef void (*ob_device_changed_callback)(ob_device_list *removed, ob_device_list *added, void *user_data);
1748
1749// typedef void (*ob_net_device_added_callback)(const char *added, void *user_data);
1750// typedef void (*ob_net_device_removed_callback)(const char *removed, void *user_data);
1751
1758typedef void (*ob_frame_callback)(ob_frame *frame, void *user_data);
1759#define ob_filter_callback ob_frame_callback
1760#define ob_playback_callback ob_frame_callback
1761
1768typedef void (*ob_frameset_callback)(ob_frame *frameset, void *user_data);
1769
1776typedef void(ob_frame_destroy_callback)(void *buffer, void *user_data);
1777
1785typedef void(ob_log_callback)(ob_log_severity severity, const char *message, void *user_data);
1786
1793#define is_ir_sensor(sensor_type) (sensor_type == OB_SENSOR_IR || sensor_type == OB_SENSOR_IR_LEFT || sensor_type == OB_SENSOR_IR_RIGHT)
1794#define isIRSensor is_ir_sensor
1795
1802#define is_ir_stream(stream_type) (stream_type == OB_STREAM_IR || stream_type == OB_STREAM_IR_LEFT || stream_type == OB_STREAM_IR_RIGHT)
1803#define isIRStream is_ir_stream
1804
1811#define is_ir_frame(frame_type) (frame_type == OB_FRAME_IR || frame_type == OB_FRAME_IR_LEFT || frame_type == OB_FRAME_IR_RIGHT)
1812#define isIRFrame is_ir_frame
1813
1817#define OB_DEFAULT_DECRYPT_KEY (nullptr)
1818
1819#ifdef __cplusplus
1820}
1821#endif
1822
1823#pragma pack(pop)
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:1730
enum ob_power_line_freq_mode OBPowerLineFreqMode
struct OBPoint2f ob_point2f
struct OBCameraParam ob_camera_param
OBSensorType
Enumeration value describing the sensor type.
Definition ObTypes.h:162
@ OB_SENSOR_IR_RIGHT
Definition ObTypes.h:170
@ OB_SENSOR_GYRO
Definition ObTypes.h:168
@ OB_SENSOR_COLOR
Definition ObTypes.h:165
@ OB_SENSOR_UNKNOWN
Definition ObTypes.h:163
@ OB_SENSOR_IR
Definition ObTypes.h:164
@ OB_SENSOR_DEPTH
Definition ObTypes.h:166
@ OB_SENSOR_COUNT
Definition ObTypes.h:172
@ OB_SENSOR_IR_LEFT
Definition ObTypes.h:169
@ OB_SENSOR_ACCEL
Definition ObTypes.h:167
@ OB_SENSOR_RAW_PHASE
Definition ObTypes.h:171
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:1747
struct OBSequenceIdItem ob_sequence_id_item
struct PipelineImpl ob_pipeline
Definition ObTypes.h:65
enum OBDCPowerState ob_dc_power_state
struct OBColorPoint ob_color_point
struct OBDeviceSyncConfig OB_DEVICE_SYNC_CONFIG
struct OBPoint OBPoint3f
OBStatus
error code
Definition ObTypes.h:111
@ OB_STATUS_OK
Definition ObTypes.h:112
@ OB_STATUS_ERROR
Definition ObTypes.h:113
struct FilterListImpl ob_filter_list
Definition ObTypes.h:70
enum OBDepthIndustryMode ob_depth_industry_mode
enum OB_DDO_NOISE_REMOVAL_TYPE ob_ddo_noise_removal_type
OBGyroFullScaleRange
Enumeration of gyroscope ranges.
Definition ObTypes.h:607
@ OB_GYRO_FS_UNKNOWN
Definition ObTypes.h:608
@ OB_GYRO_FS_500dps
Definition ObTypes.h:614
@ OB_GYRO_FS_250dps
Definition ObTypes.h:613
@ OB_GYRO_FS_62dps
Definition ObTypes.h:611
@ OB_GYRO_FS_16dps
Definition ObTypes.h:609
@ OB_GYRO_FS_125dps
Definition ObTypes.h:612
@ OB_GYRO_FS_1000dps
Definition ObTypes.h:615
@ OB_GYRO_FS_31dps
Definition ObTypes.h:610
@ OB_GYRO_FS_2000dps
Definition ObTypes.h:616
struct BASELINE_CALIBRATION_PARAM ob_baseline_calibration_param
enum OB_EDGE_NOISE_REMOVAL_TYPE OBEdgeNoiseRemovalType
enum OBLogSeverity OBDeviceLogSeverityLevel
struct OBXYTables ob_xy_tables
uint64_t OBDeviceState
Device state.
Definition ObTypes.h:644
struct PlaybackImpl ob_playback
Definition ObTypes.h:68
struct OBDeviceTemperature DEVICE_TEMPERATURE
enum OBExceptionType ob_exception_type
struct DISP_OFFSET_CONFIG OBDispOffsetConfig
enum OB_FRAME_AGGREGATE_OUTPUT_MODE ob_frame_aggregate_output_mode
enum OBGyroSampleRate ob_gyro_sample_rate
ob_power_line_freq_mode
Power line frequency mode, for color camera anti-flicker configuration.
Definition ObTypes.h:1191
@ OB_POWER_LINE_FREQ_MODE_60HZ
60Hz
Definition ObTypes.h:1194
@ OB_POWER_LINE_FREQ_MODE_50HZ
50Hz
Definition ObTypes.h:1193
@ OB_POWER_LINE_FREQ_MODE_CLOSE
Close.
Definition ObTypes.h:1192
struct CFrameImpl ob_frame
Definition ObTypes.h:63
OBMediaState
Enumeration for record playback status.
Definition ObTypes.h:706
@ OB_MEDIA_BEGIN
Definition ObTypes.h:707
@ OB_MEDIA_RESUME
Definition ObTypes.h:709
@ OB_MEDIA_END
Definition ObTypes.h:710
@ OB_MEDIA_PAUSE
Definition ObTypes.h:708
OBFormat
Enumeration value describing the pixel format.
Definition ObTypes.h:216
@ OB_FORMAT_YUYV
Definition ObTypes.h:217
@ OB_FORMAT_Y11
Definition ObTypes.h:228
@ OB_FORMAT_ACCEL
Definition ObTypes.h:233
@ OB_FORMAT_Y16
Definition ObTypes.h:225
@ OB_FORMAT_RGB_POINT
Definition ObTypes.h:236
@ OB_FORMAT_BA81
Definition ObTypes.h:246
@ OB_FORMAT_YV12
Definition ObTypes.h:245
@ OB_FORMAT_RGBA
Definition ObTypes.h:247
@ OB_FORMAT_BGR
Definition ObTypes.h:239
@ OB_FORMAT_Z16
Definition ObTypes.h:244
@ OB_FORMAT_Y12
Definition ObTypes.h:229
@ OB_FORMAT_BGRA
Definition ObTypes.h:241
@ OB_FORMAT_NV21
Definition ObTypes.h:221
@ OB_FORMAT_RGB
Definition ObTypes.h:238
@ OB_FORMAT_UNKNOWN
Definition ObTypes.h:251
@ OB_FORMAT_Y10
Definition ObTypes.h:227
@ OB_FORMAT_H265
Definition ObTypes.h:224
@ OB_FORMAT_DISP16
Definition ObTypes.h:250
@ OB_FORMAT_UYVY
Definition ObTypes.h:219
@ OB_FORMAT_Y14
Definition ObTypes.h:240
@ OB_FORMAT_I420
Definition ObTypes.h:232
@ OB_FORMAT_YUY2
Definition ObTypes.h:218
@ OB_FORMAT_BYR2
Definition ObTypes.h:248
@ OB_FORMAT_RLE
Definition ObTypes.h:237
@ OB_FORMAT_MJPG
Definition ObTypes.h:222
@ OB_FORMAT_COMPRESSED
Definition ObTypes.h:242
@ OB_FORMAT_GRAY
Definition ObTypes.h:230
@ OB_FORMAT_H264
Definition ObTypes.h:223
@ OB_FORMAT_POINT
Definition ObTypes.h:235
@ OB_FORMAT_RVL
Definition ObTypes.h:243
@ OB_FORMAT_RW16
Definition ObTypes.h:249
@ OB_FORMAT_GYRO
Definition ObTypes.h:234
@ OB_FORMAT_Y8
Definition ObTypes.h:226
@ OB_FORMAT_NV12
Definition ObTypes.h:220
@ OB_FORMAT_HEVC
Definition ObTypes.h:231
OBHPStatusCode
send data or receive data return status type
Definition ObTypes.h:88
@ HP_STATUS_OK
Definition ObTypes.h:89
@ HP_STATUS_CONTROL_TRANSFER_FAILED
Definition ObTypes.h:91
@ HP_STATUS_NO_DEVICE_FOUND
Definition ObTypes.h:90
@ HP_STATUS_UNKNOWN_ERROR
Definition ObTypes.h:92
struct OBRect ob_rect
enum OBGyroSampleRate OBAccelSampleRate
OBCameraDistortionModel
Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
Definition ObTypes.h:429
@ OB_DISTORTION_INVERSE_BROWN_CONRADY
Definition ObTypes.h:433
@ OB_DISTORTION_BROWN_CONRADY
Definition ObTypes.h:434
@ OB_DISTORTION_MODIFIED_BROWN_CONRADY
Definition ObTypes.h:431
@ OB_DISTORTION_NONE
Definition ObTypes.h:430
struct OBNoiseRemovalFilterParams ob_noise_removal_filter_params
enum OBGyroFullScaleRange ob_gyro_full_scale_range
struct OBDataBundle ob_data_bundle
OBDataTranState
Enumeration value describing the data transfer status.
Definition ObTypes.h:298
@ DATA_TRAN_ERR_TRAN_FAILED
Definition ObTypes.h:306
@ DATA_TRAN_STAT_VERIFYING
Definition ObTypes.h:302
@ DATA_TRAN_STAT_TRANSFERRING
Definition ObTypes.h:303
@ DATA_TRAN_ERR_OTHER
Definition ObTypes.h:308
@ DATA_TRAN_ERR_VERIFY_FAILED
Definition ObTypes.h:307
@ DATA_TRAN_ERR_UNSUPPORTED
Definition ObTypes.h:305
@ DATA_TRAN_STAT_DONE
Definition ObTypes.h:301
@ DATA_TRAN_ERR_BUSY
Definition ObTypes.h:304
@ DATA_TRAN_STAT_VERIFY_DONE
Definition ObTypes.h:299
@ DATA_TRAN_STAT_STOPPED
Definition ObTypes.h:300
OBGyroSampleRate
Enumeration of IMU sample rate values (gyroscope or accelerometer)
Definition ObTypes.h:584
@ OB_SAMPLE_RATE_100_HZ
Definition ObTypes.h:592
@ OB_SAMPLE_RATE_4_KHZ
Definition ObTypes.h:597
@ OB_SAMPLE_RATE_3_125_HZ
Definition ObTypes.h:587
@ OB_SAMPLE_RATE_6_25_HZ
Definition ObTypes.h:588
@ OB_SAMPLE_RATE_UNKNOWN
Definition ObTypes.h:585
@ OB_SAMPLE_RATE_500_HZ
Definition ObTypes.h:594
@ OB_SAMPLE_RATE_32_KHZ
Definition ObTypes.h:600
@ OB_SAMPLE_RATE_50_HZ
Definition ObTypes.h:591
@ OB_SAMPLE_RATE_1_5625_HZ
Definition ObTypes.h:586
@ OB_SAMPLE_RATE_12_5_HZ
Definition ObTypes.h:589
@ OB_SAMPLE_RATE_1_KHZ
Definition ObTypes.h:595
@ OB_SAMPLE_RATE_200_HZ
Definition ObTypes.h:593
@ OB_SAMPLE_RATE_2_KHZ
Definition ObTypes.h:596
@ OB_SAMPLE_RATE_25_HZ
Definition ObTypes.h:590
@ OB_SAMPLE_RATE_16_KHZ
Definition ObTypes.h:599
@ OB_SAMPLE_RATE_8_KHZ
Definition ObTypes.h:598
struct HDR_CONFIG OBHdrConfig
enum OBDepthCroppingMode OB_DEPTH_CROPPING_MODE
struct OBAccelIntrinsic ob_accel_intrinsic
struct DeviceImpl ob_device
Definition ObTypes.h:55
OBTofFilterRange
Enumeration for TOF filter scene ranges.
Definition ObTypes.h:735
@ OB_TOF_FILTER_RANGE_LONG
Definition ObTypes.h:738
@ OB_TOF_FILTER_RANGE_CLOSE
Definition ObTypes.h:736
@ OB_TOF_FILTER_RANGE_MIDDLE
Definition ObTypes.h:737
@ OB_TOF_FILTER_RANGE_DEBUG
Definition ObTypes.h:739
enum UVC_BACKEND ob_uvc_backend
enum ob_multi_device_sync_mode OBMultiDeviceSyncMode
enum ob_frame_metadata_type OBFrameMetadataType
struct DeviceInfoImpl ob_device_info
Definition ObTypes.h:56
OBFrameType
Enumeration value describing the type of frame.
Definition ObTypes.h:196
@ OB_FRAME_IR_RIGHT
Definition ObTypes.h:207
@ OB_FRAME_ACCEL
Definition ObTypes.h:202
@ OB_FRAME_GYRO
Definition ObTypes.h:205
@ OB_FRAME_IR_LEFT
Definition ObTypes.h:206
@ OB_FRAME_TYPE_COUNT
Definition ObTypes.h:209
@ OB_FRAME_VIDEO
Definition ObTypes.h:198
@ OB_FRAME_COLOR
Definition ObTypes.h:200
@ OB_FRAME_UNKNOWN
Definition ObTypes.h:197
@ OB_FRAME_RAW_PHASE
Definition ObTypes.h:208
@ OB_FRAME_SET
Definition ObTypes.h:203
@ OB_FRAME_POINTS
Definition ObTypes.h:204
@ OB_FRAME_IR
Definition ObTypes.h:199
@ OB_FRAME_DEPTH
Definition ObTypes.h:201
OBStreamType
Enumeration value describing the type of data stream.
Definition ObTypes.h:179
@ OB_STREAM_RAW_PHASE
Definition ObTypes.h:189
@ OB_STREAM_GYRO
Definition ObTypes.h:186
@ OB_STREAM_UNKNOWN
Definition ObTypes.h:180
@ OB_STREAM_IR
Definition ObTypes.h:182
@ OB_STREAM_DEPTH
Definition ObTypes.h:184
@ OB_STREAM_IR_RIGHT
Definition ObTypes.h:188
@ OB_STREAM_IR_LEFT
Definition ObTypes.h:187
@ OB_STREAM_VIDEO
Definition ObTypes.h:181
@ OB_STREAM_ACCEL
Definition ObTypes.h:185
@ OB_STREAM_COLOR
Definition ObTypes.h:183
enum OBCompressionMode ob_compression_mode
OBDeviceType
Enumeration for device types.
Definition ObTypes.h:676
@ OB_STRUCTURED_LIGHT_MONOCULAR_CAMERA
Definition ObTypes.h:677
@ OB_TOF_CAMERA
Definition ObTypes.h:679
@ OB_STRUCTURED_LIGHT_BINOCULAR_CAMERA
Definition ObTypes.h:678
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:1693
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 StreamProfileListImpl ob_stream_profile_list
Definition ObTypes.h:62
struct SensorListImpl ob_sensor_list
Definition ObTypes.h:60
enum OBAccelFullScaleRange OB_ACCEL_FULL_SCALE_RANGE
enum OBDepthPrecisionLevel OB_DEPTH_PRECISION_LEVEL
struct ConfigImpl ob_config
Definition ObTypes.h:66
struct AE_ROI ob_region_of_interest
OBDepthCroppingMode
Enumeration for depth crop modes.
Definition ObTypes.h:666
@ DEPTH_CROPPING_MODE_AUTO
Definition ObTypes.h:667
@ DEPTH_CROPPING_MODE_OPEN
Definition ObTypes.h:669
@ DEPTH_CROPPING_MODE_CLOSE
Definition ObTypes.h:668
struct OBEdgeNoiseRemovalFilterParams ob_edge_noise_removal_filter_params
struct OBCameraDistortion ob_camera_distortion
enum OBHoleFillingMode ob_hole_filling_mode
enum OB_DDO_NOISE_REMOVAL_TYPE OBDDONoiseRemovalType
去噪方式
enum OBTofFilterRange TOF_FILTER_RANGE
struct OBNetIpConfig ob_net_ip_config
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:134
@ OB_EXCEPTION_TYPE_PLATFORM
Definition ObTypes.h:137
@ OB_EXCEPTION_TYPE_UNKNOWN
Definition ObTypes.h:135
@ OB_EXCEPTION_TYPE_NOT_IMPLEMENTED
Definition ObTypes.h:141
@ OB_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE
Definition ObTypes.h:140
@ OB_EXCEPTION_TYPE_INVALID_VALUE
Definition ObTypes.h:139
@ OB_EXCEPTION_TYPE_UNSUPPORTED_OPERATION
Definition ObTypes.h:144
@ OB_EXCEPTION_TYPE_IO
Definition ObTypes.h:142
@ OB_EXCEPTION_TYPE_MEMORY
Definition ObTypes.h:143
@ OB_EXCEPTION_TYPE_CAMERA_DISCONNECTED
Definition ObTypes.h:136
struct OBAccelValue ob_accel_value
struct OBCompressionParams ob_compression_params
enum OBAlignMode ob_align_mode
OBAccelFullScaleRange
Enumeration of accelerometer ranges.
Definition ObTypes.h:623
@ OB_ACCEL_FS_4g
Definition ObTypes.h:626
@ OB_ACCEL_FS_16g
Definition ObTypes.h:628
@ OB_ACCEL_FS_2g
Definition ObTypes.h:625
@ OB_ACCEL_FS_8g
Definition ObTypes.h:627
@ OB_ACCEL_FS_UNKNOWN
Definition ObTypes.h:624
struct ob_margin_filter_config OBMarginFilterConfig
enum OB_COORDINATE_SYSTEM_TYPE ob_coordinate_system_type
struct OBCalibrationParam ob_calibration_param
void(* ob_device_upgrade_callback)(ob_upgrade_state state, const char *message, uint8_t percent, void *user_data)
Callback for firmware upgrade.
Definition ObTypes.h:1703
void() ob_log_callback(ob_log_severity severity, const char *message, void *user_data)
Callback for receiving log.
Definition ObTypes.h:1785
enum OBLogSeverity ob_device_log_severity_level
enum OBFileTranState ob_file_tran_state
OB_CMD_VERSION
Command version associated with property id.
Definition ObTypes.h:1057
@ OB_CMD_VERSION_NOVERSION
Definition ObTypes.h:1063
@ OB_CMD_VERSION_V0
Version 1.0.
Definition ObTypes.h:1058
@ OB_CMD_VERSION_V1
Version 2.0.
Definition ObTypes.h:1059
@ OB_CMD_VERSION_INVALID
Invalid version.
Definition ObTypes.h:1064
@ OB_CMD_VERSION_V3
Version 4.0.
Definition ObTypes.h:1061
@ OB_CMD_VERSION_V2
Version 3.0.
Definition ObTypes.h:1060
struct DevicePresetListImpl ob_device_preset_list
Definition ObTypes.h:72
void() ob_frame_destroy_callback(void *buffer, void *user_data)
Customize the delete callback.
Definition ObTypes.h:1776
enum OBCommunicationType ob_communication_type
OBFileTranState
Enumeration value describing the file transfer status.
Definition ObTypes.h:282
@ FILE_TRAN_ERR_DDR
Definition ObTypes.h:286
@ FILE_TRAN_STAT_DONE
Definition ObTypes.h:284
@ FILE_TRAN_ERR_MD5_ERROR
Definition ObTypes.h:289
@ FILE_TRAN_ERR_NOT_ENOUGH_SPACE
Definition ObTypes.h:287
@ FILE_TRAN_ERR_WRITE_FLASH_ERROR
Definition ObTypes.h:290
@ FILE_TRAN_ERR_PATH_NOT_WRITABLE
Definition ObTypes.h:288
@ FILE_TRAN_ERR_TIMEOUT
Definition ObTypes.h:291
@ FILE_TRAN_STAT_PREPAR
Definition ObTypes.h:285
@ FILE_TRAN_STAT_TRANSFER
Definition ObTypes.h:283
OBCommunicationType
Device communication mode.
Definition ObTypes.h:1151
@ OB_COMM_NET
Ethernet.
Definition ObTypes.h:1153
@ OB_COMM_USB
USB.
Definition ObTypes.h:1152
enum OBUSBPowerState ob_usb_power_state
enum OBTofFilterRange ob_tof_filter_range
struct OBDeviceTemperature ob_device_temperature
struct OBDataChunk ob_data_chunk
struct OBUint8PropertyRange ob_uint8_property_range
struct DeviceListImpl ob_device_list
Definition ObTypes.h:57
struct SensorImpl ob_sensor
Definition ObTypes.h:59
enum OBConvertFormat ob_convert_format
enum OBStreamType ob_stream_type
enum OBDataTranState ob_data_tran_state
OBSyncMode
Sync mode.
Definition ObTypes.h:823
@ OB_SYNC_MODE_STANDALONE
Standalone synchronize mode.
Definition ObTypes.h:836
@ OB_SYNC_MODE_CLOSE
Close synchronize mode.
Definition ObTypes.h:829
@ OB_SYNC_MODE_PRIMARY
Primary synchronize mode.
Definition ObTypes.h:843
@ OB_SYNC_MODE_PRIMARY_MCU_TRIGGER
MCU Primary synchronize mode.
Definition ObTypes.h:860
@ OB_SYNC_MODE_SECONDARY
Secondary synchronize mode.
Definition ObTypes.h:853
@ OB_SYNC_MODE_PRIMARY_SOFT_TRIGGER
Software trigger synchronize mode.
Definition ObTypes.h:876
@ OB_SYNC_MODE_PRIMARY_IR_TRIGGER
IR Primary synchronize mode.
Definition ObTypes.h:867
@ OB_SYNC_MODE_UNKNOWN
Unknown type.
Definition ObTypes.h:889
@ OB_SYNC_MODE_SECONDARY_SOFT_TRIGGER
Software trigger synchronize mode as secondary device.
Definition ObTypes.h:884
struct OBAccelValue ob_gyro_value
enum OB_DEVICE_DEVELOPMENT_MODE OBDeviceDevelopmentMode
struct OBPoint ob_point
enum UVC_BACKEND OBUvcBackend
struct OBSpatialAdvancedFilterParams ob_spatial_advanced_filter_params
enum OBGyroSampleRate ob_accel_sample_rate
struct OBTofExposureThresholdControl ob_tof_exposure_threshold_control
struct RecorderImpl ob_recorder
Definition ObTypes.h:67
struct OBDepthWorkMode ob_depth_work_mode
enum OBHPStatusCode ob_hp_status_code
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
OB_FRAME_AGGREGATE_OUTPUT_MODE
Frame aggregate output mode.
Definition ObTypes.h:1201
@ OB_FRAME_AGGREGATE_OUTPUT_COLOR_FRAME_REQUIRE
Color Frame Require output mode.
Definition ObTypes.h:1213
@ OB_FRAME_AGGREGATE_OUTPUT_FULL_FRAME_REQUIRE
Only FrameSet that contains all types of data frames will be output.
Definition ObTypes.h:1205
@ OB_FRAME_AGGREGATE_OUTPUT_ANY_SITUATION
FrameSet for any case will be output.
Definition ObTypes.h:1220
@ OB_FRAME_AGGREGATE_OUTPUT_DISABLE
Disable Frame Aggreate.
Definition ObTypes.h:1226
OB_EDGE_NOISE_REMOVAL_TYPE
Definition ObTypes.h:1003
@ OB_MGA_FILTER
Definition ObTypes.h:1006
@ OB_MGC_FILTER
Definition ObTypes.h:1007
@ OB_MGH_FILTER
Definition ObTypes.h:1005
@ OB_MG_FILTER
Definition ObTypes.h:1004
struct OBBoolPropertyRange ob_bool_property_range
OB_DEVICE_DEVELOPMENT_MODE
Enumeration of device development modes.
Definition ObTypes.h:1242
@ OB_USER_MODE
User mode (default mode), which provides full camera device functionality.
Definition ObTypes.h:1246
@ OB_DEVELOPER_MODE
Developer mode, which allows developers to access the operating system and software/hardware resource...
Definition ObTypes.h:1251
struct OBDeviceSyncConfig ob_device_sync_config
struct ob_multi_device_sync_config OBMultiDeviceSyncConfig
enum OB_EDGE_NOISE_REMOVAL_TYPE ob_edge_noise_removal_type
struct StreamProfileImpl ob_stream_profile
Definition ObTypes.h:61
OB_DDO_NOISE_REMOVAL_TYPE
去噪方式
Definition ObTypes.h:1022
@ OB_NR_OVERALL
Definition ObTypes.h:1024
@ OB_NR_LUT
Definition ObTypes.h:1023
struct FilterImpl ob_filter
Definition ObTypes.h:64
ob_multi_device_sync_mode
The synchronization mode of the device.
Definition ObTypes.h:1258
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY
secondary mode
Definition ObTypes.h:1294
@ OB_MULTI_DEVICE_SYNC_MODE_SOFTWARE_TRIGGERING
software triggering mode
Definition ObTypes.h:1320
@ OB_MULTI_DEVICE_SYNC_MODE_HARDWARE_TRIGGERING
hardware triggering mode
Definition ObTypes.h:1336
@ OB_MULTI_DEVICE_SYNC_MODE_STANDALONE
standalone mode
Definition ObTypes.h:1272
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY_SYNCED
secondary synced mode
Definition ObTypes.h:1307
@ OB_MULTI_DEVICE_SYNC_MODE_PRIMARY
primary mode
Definition ObTypes.h:1281
@ OB_MULTI_DEVICE_SYNC_MODE_FREE_RUN
free run mode
Definition ObTypes.h:1265
OBPermissionType
the permission type of api or property
Definition ObTypes.h:99
@ OB_PERMISSION_DENY
Definition ObTypes.h:100
@ OB_PERMISSION_ANY
Definition ObTypes.h:104
@ OB_PERMISSION_READ
Definition ObTypes.h:101
@ OB_PERMISSION_READ_WRITE
Definition ObTypes.h:103
@ OB_PERMISSION_WRITE
Definition ObTypes.h:102
struct OBSpatialModerateFilterParams ob_spatial_moderate_filter_params
struct AE_ROI OBRegionOfInterest
OBCompressionMode
Compression mode.
Definition ObTypes.h:781
@ OB_COMPRESSION_LOSSY
Definition ObTypes.h:783
@ OB_COMPRESSION_LOSSLESS
Definition ObTypes.h:782
OBDCPowerState
DC power status.
Definition ObTypes.h:1171
@ OB_DC_POWER_PLUGIN
Plugin.
Definition ObTypes.h:1173
@ OB_DC_POWER_NO_PLUGIN
No plugin.
Definition ObTypes.h:1172
struct OBCameraAlignIntrinsic ob_camera_align_intrinsic
enum OBAccelFullScaleRange ob_accel_full_scale_range
struct OBCameraParam_V0 ob_camera_param_v0
struct OBFilterListImpl ob_filters
Definition ObTypes.h:71
struct OBNetIpConfig DEVICE_IP_ADDR_CONFIG
struct OBIntPropertyRange ob_int_property_range
struct ContextImpl ob_context
Definition ObTypes.h:54
struct OBGyroIntrinsic ob_gyro_intrinsic
struct OBD2CTransform ob_transform
OBUpgradeState
Enumeration value describing the firmware upgrade status.
Definition ObTypes.h:261
@ ERR_DDR
Definition ObTypes.h:274
@ STAT_DONE
Definition ObTypes.h:264
@ ERR_IMAGE_SIZE
Definition ObTypes.h:272
@ STAT_IN_PROGRESS
Definition ObTypes.h:265
@ ERR_OTHER
Definition ObTypes.h:273
@ STAT_VERIFY_IMAGE
Definition ObTypes.h:267
@ ERR_FLASH_TYPE
Definition ObTypes.h:271
@ ERR_VERIFY
Definition ObTypes.h:268
@ ERR_ERASE
Definition ObTypes.h:270
@ STAT_VERIFY_SUCCESS
Definition ObTypes.h:262
@ STAT_START
Definition ObTypes.h:266
@ ERR_TIMEOUT
Definition ObTypes.h:275
@ STAT_FILE_TRANSFER
Definition ObTypes.h:263
@ ERR_PROGRAM
Definition ObTypes.h:269
OBUSBPowerState
USB power status.
Definition ObTypes.h:1160
@ OB_USB_POWER_5V_1A5
5V/1.5A
Definition ObTypes.h:1163
@ OB_USB_POWER_5V_3A0
5V/3.0A
Definition ObTypes.h:1164
@ OB_USB_POWER_5V_0A9
5V/0.9A
Definition ObTypes.h:1162
@ OB_USB_POWER_NO_PLUGIN
No plugin.
Definition ObTypes.h:1161
enum OB_CMD_VERSION OBCmdVersion
struct OBD2CTransform OBTransform
enum OBSyncMode OB_SYNC_MODE
enum OBFrameType ob_frame_type
struct OBSpatialFastFilterParams ob_spatial_fast_filter_params
enum OBCameraDistortionModel ob_camera_distortion_model
enum OBDeviceType OB_DEVICE_TYPE
uint64_t ob_device_state
Definition ObTypes.h:644
OBHoleFillingMode
Hole fillig mode.
Definition ObTypes.h:977
@ OB_HOLE_FILL_FAREST
Definition ObTypes.h:980
@ OB_HOLE_FILL_NEAREST
Definition ObTypes.h:979
@ OB_HOLE_FILL_TOP
Definition ObTypes.h:978
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:1758
enum OBGyroSampleRate OB_SAMPLE_RATE
struct CameraParamListImpl ob_camera_param_list
Definition ObTypes.h:58
void(* ob_set_data_callback)(ob_data_tran_state state, uint8_t percent, void *user_data)
Callback for writing data.
Definition ObTypes.h:1721
struct OBD2CTransform ob_extrinsic
UVC_BACKEND
Definition ObTypes.h:1483
@ UVC_BACKEND_LIBUVC
Definition ObTypes.h:1485
@ UVC_BACKEND_V4L2
Definition ObTypes.h:1486
@ UVC_BACKEND_AUTO
Definition ObTypes.h:1484
struct OBProtocolVersion ob_protocol_version
enum ob_rotate_degree_type OBRotateDegreeType
void(* ob_media_state_callback)(ob_media_state state, void *user_data)
Callback for media status (recording and playback)
Definition ObTypes.h:1738
enum OBGyroFullScaleRange OB_GYRO_FULL_SCALE_RANGE
enum OBMediaState ob_media_state
OBAlignMode
Alignment mode.
Definition ObTypes.h:524
@ ALIGN_D2C_HW_MODE
Definition ObTypes.h:526
@ ALIGN_DISABLE
Definition ObTypes.h:525
@ ALIGN_D2C_SW_MODE
Definition ObTypes.h:527
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:1494
@ OB_FRAME_METADATA_TYPE_POWER_LINE_FREQUENCY
Power line frequency.
Definition ObTypes.h:1585
@ OB_FRAME_METADATA_TYPE_SATURATION
Saturation.
Definition ObTypes.h:1559
@ OB_FRAME_METADATA_TYPE_AE_ROI_TOP
Top region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1618
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_SIZE
HDR sequence size.
Definition ObTypes.h:1643
@ OB_FRAME_METADATA_TYPE_FRAME_NUMBER
The number of current frame.
Definition ObTypes.h:1513
@ OB_FRAME_METADATA_TYPE_SHARPNESS
Sharpness.
Definition ObTypes.h:1564
@ OB_FRAME_METADATA_TYPE_MANUAL_WHITE_BALANCE
Manual white balance setting.
Definition ObTypes.h:1597
@ OB_FRAME_METADATA_TYPE_AE_ROI_LEFT
Left region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1613
@ OB_FRAME_METADATA_TYPE_SENSOR_TIMESTAMP
Timestamp in the middle of the capture.
Definition ObTypes.h:1508
@ OB_FRAME_METADATA_TYPE_COUNT
The number of frame metadata types, using for types iterating.
Definition ObTypes.h:1677
@ OB_FRAME_METADATA_TYPE_BRIGHTNESS
Brightness.
Definition ObTypes.h:1549
@ OB_FRAME_METADATA_TYPE_CONTRAST
Contrast.
Definition ObTypes.h:1554
@ OB_FRAME_METADATA_TYPE_HUE
Hue.
Definition ObTypes.h:1574
@ OB_FRAME_METADATA_TYPE_AE_ROI_BOTTOM
Bottom region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1628
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_INDEX
HDR sequence index.
Definition ObTypes.h:1648
@ OB_FRAME_METADATA_TYPE_LASER_STATUS
Laser status.
Definition ObTypes.h:1666
@ OB_FRAME_METADATA_TYPE_WHITE_BALANCE
White balance.
Definition ObTypes.h:1544
@ OB_FRAME_METADATA_TYPE_AE_ROI_RIGHT
Right region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1623
@ OB_FRAME_METADATA_TYPE_GAIN
Gain.
Definition ObTypes.h:1533
@ OB_FRAME_METADATA_TYPE_LASER_POWER_LEVEL
Laser power level.
Definition ObTypes.h:1660
@ OB_FRAME_METADATA_TYPE_GPIO_INPUT_DATA
GPIO input data.
Definition ObTypes.h:1671
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_NAME
HDR sequence name.
Definition ObTypes.h:1638
@ OB_FRAME_METADATA_TYPE_EXPOSURE_PRIORITY
Exposure priority.
Definition ObTypes.h:1633
@ OB_FRAME_METADATA_TYPE_AUTO_WHITE_BALANCE
Auto white balance status.
Definition ObTypes.h:1539
@ OB_FRAME_METADATA_TYPE_BACKLIGHT_COMPENSATION
Backlight compensation.
Definition ObTypes.h:1569
@ OB_FRAME_METADATA_TYPE_TIMESTAMP
Timestamp when the frame is captured.
Definition ObTypes.h:1500
@ OB_FRAME_METADATA_TYPE_ACTUAL_FRAME_RATE
Actual frame rate.
Definition ObTypes.h:1603
@ OB_FRAME_METADATA_TYPE_LOW_LIGHT_COMPENSATION
Low light compensation.
Definition ObTypes.h:1592
@ OB_FRAME_METADATA_TYPE_LASER_POWER
Laser power value in mW.
Definition ObTypes.h:1655
@ OB_FRAME_METADATA_TYPE_FRAME_RATE
Frame rate.
Definition ObTypes.h:1608
@ OB_FRAME_METADATA_TYPE_EXPOSURE
Exposure time.
Definition ObTypes.h:1526
@ OB_FRAME_METADATA_TYPE_GAMMA
Gamma.
Definition ObTypes.h:1579
@ OB_FRAME_METADATA_TYPE_AUTO_EXPOSURE
Auto exposure status.
Definition ObTypes.h:1519
OBDepthPrecisionLevel
Enumeration for depth precision levels.
Definition ObTypes.h:719
@ OB_PRECISION_0MM05
Definition ObTypes.h:726
@ OB_PRECISION_UNKNOWN
Definition ObTypes.h:727
@ OB_PRECISION_0MM8
Definition ObTypes.h:721
@ OB_PRECISION_0MM5
Definition ObTypes.h:725
@ OB_PRECISION_1MM
Definition ObTypes.h:720
@ OB_PRECISION_COUNT
Definition ObTypes.h:728
@ OB_PRECISION_0MM4
Definition ObTypes.h:722
@ OB_PRECISION_0MM2
Definition ObTypes.h:724
@ OB_PRECISION_0MM1
Definition ObTypes.h:723
ob_rotate_degree_type
Rotate degree.
Definition ObTypes.h:1180
@ OB_ROTATE_DEGREE_0
Rotate 0.
Definition ObTypes.h:1181
@ OB_ROTATE_DEGREE_90
Rotate 90.
Definition ObTypes.h:1182
@ OB_ROTATE_DEGREE_180
Rotate 180.
Definition ObTypes.h:1183
@ OB_ROTATE_DEGREE_270
Rotate 270.
Definition ObTypes.h:1184
struct DISP_OFFSET_CONFIG ob_disp_offset_config
enum OBStatus ob_status
struct OBDepthWorkModeListImpl ob_depth_work_mode_list
Definition ObTypes.h:69
OBConvertFormat
Enumeration of format conversion types.
Definition ObTypes.h:544
@ FORMAT_MJPG_TO_NV21
Definition ObTypes.h:551
@ FORMAT_NV12_TO_RGB
Definition ObTypes.h:548
@ FORMAT_YUYV_TO_Y8
Definition ObTypes.h:562
@ FORMAT_YUYV_TO_RGBA
Definition ObTypes.h:559
@ FORMAT_UYVY_TO_RGB
Definition ObTypes.h:555
@ FORMAT_MJPG_TO_BGR
Definition ObTypes.h:553
@ FORMAT_NV21_TO_RGB
Definition ObTypes.h:547
@ FORMAT_RGB_TO_BGR
Definition ObTypes.h:550
@ FORMAT_BGR_TO_RGB
Definition ObTypes.h:556
@ FORMAT_MJPG_TO_BGRA
Definition ObTypes.h:554
@ FORMAT_MJPG_TO_I420
Definition ObTypes.h:549
@ FORMAT_YUYV_TO_RGB
Definition ObTypes.h:545
@ FORMAT_YUYV_TO_BGR
Definition ObTypes.h:558
@ FORMAT_MJPG_TO_NV12
Definition ObTypes.h:557
@ FORMAT_YUYV_TO_Y16
Definition ObTypes.h:561
@ FORMAT_I420_TO_RGB
Definition ObTypes.h:546
@ FORMAT_MJPG_TO_RGB
Definition ObTypes.h:552
@ FORMAT_YUYV_TO_BGRA
Definition ObTypes.h:560
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:1712
OBMediaType
Enumeration for types of media to record or playback.
Definition ObTypes.h:686
@ OB_MEDIA_STREAM_INFO
Definition ObTypes.h:694
@ OB_MEDIA_IR_LEFT_STREAM
Definition ObTypes.h:695
@ OB_MEDIA_ALL
Definition ObTypes.h:698
@ OB_MEDIA_IR_RIGHT_STREAM
Definition ObTypes.h:696
@ OB_MEDIA_DEPTH_STREAM
Definition ObTypes.h:688
@ OB_MEDIA_IR_STREAM
Definition ObTypes.h:689
@ OB_MEDIA_CAMERA_PARAM
Definition ObTypes.h:692
@ OB_MEDIA_GYRO_STREAM
Definition ObTypes.h:690
@ OB_MEDIA_DEVICE_INFO
Definition ObTypes.h:693
@ OB_MEDIA_ACCEL_STREAM
Definition ObTypes.h:691
@ OB_MEDIA_COLOR_STREAM
Definition ObTypes.h:687
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:120
@ OB_LOG_SEVERITY_DEBUG
Definition ObTypes.h:121
@ OB_LOG_SEVERITY_ERROR
Definition ObTypes.h:124
@ OB_LOG_SEVERITY_INFO
Definition ObTypes.h:122
@ OB_LOG_SEVERITY_OFF
Definition ObTypes.h:126
@ OB_LOG_SEVERITY_WARN
Definition ObTypes.h:123
@ OB_LOG_SEVERITY_FATAL
Definition ObTypes.h:125
OBDepthIndustryMode
Device depth industry mode.
Definition ObTypes.h:808
@ OB_INDUSTRY_DEFAULT
Definition ObTypes.h:809
@ OB_INDUSTRY_MODE2
Definition ObTypes.h:811
@ OB_INDUSTRY_MODE4
Definition ObTypes.h:813
@ OB_INDUSTRY_MODE3
Definition ObTypes.h:812
@ OB_INDUSTRY_MODE1
Definition ObTypes.h:810
@ OB_INDUSTRY_MODE5
Definition ObTypes.h:814
void(* ob_frameset_callback)(ob_frame *frameset, void *user_data)
Callback for frameset.
Definition ObTypes.h:1768
OB_COORDINATE_SYSTEM_TYPE
Enumeration of point cloud coordinate system types.
Definition ObTypes.h:1233
@ OB_RIGHT_HAND_COORDINATE_SYSTEM
Definition ObTypes.h:1235
@ OB_LEFT_HAND_COORDINATE_SYSTEM
Definition ObTypes.h:1234
struct OBMGCFilterConfig ob_mgc_filter_config
struct OBCameraIntrinsic ob_camera_intrinsic
The rect of the region of interest.
Definition ObTypes.h:1469
int16_t y0_top
Definition ObTypes.h:1471
int16_t x1_right
Definition ObTypes.h:1472
int16_t y1_bottom
Definition ObTypes.h:1473
int16_t x0_left
Definition ObTypes.h:1470
Baseline calibration parameters.
Definition ObTypes.h:1435
float zpd
Calibration distance.
Definition ObTypes.h:1443
float baseline
Baseline length.
Definition ObTypes.h:1439
HDR Configuration.
Definition ObTypes.h:1449
uint32_t gain_1
Gain 1.
Definition ObTypes.h:1461
uint32_t exposure_1
Exposure time 1.
Definition ObTypes.h:1460
uint32_t exposure_2
Exposure time 2.
Definition ObTypes.h:1462
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:1458
uint8_t sequence_name
Sequence name.
Definition ObTypes.h:1459
uint32_t gain_2
Gain 2.
Definition ObTypes.h:1463
Structure for accelerometer intrinsic parameters.
Definition ObTypes.h:392
double randomWalk
random walk
Definition ObTypes.h:394
double noiseDensity
In-run bias instability.
Definition ObTypes.h:393
double referenceTemp
reference temperature
Definition ObTypes.h:395
Data structures for accelerometers and gyroscopes.
Definition ObTypes.h:635
float z
Z-direction component.
Definition ObTypes.h:638
float x
X-direction component.
Definition ObTypes.h:636
float y
Y-direction component.
Definition ObTypes.h:637
Structure for boolean range.
Definition ObTypes.h:369
bool def
Default value.
Definition ObTypes.h:374
bool min
Minimum value.
Definition ObTypes.h:372
bool cur
Current value.
Definition ObTypes.h:370
bool max
Maximum value.
Definition ObTypes.h:371
bool step
Step value.
Definition ObTypes.h:373
calibration parameters
Definition ObTypes.h:486
Video stream intrinsics.
Definition ObTypes.h:439
OBCameraDistortionModel model
Definition ObTypes.h:446
Structure for distortion parameters.
Definition ObTypes.h:417
float p1
Tangential distortion factor 1.
Definition ObTypes.h:424
float k6
Radial distortion factor 6.
Definition ObTypes.h:423
float k3
Radial distortion factor 3.
Definition ObTypes.h:420
float k1
Radial distortion factor 1.
Definition ObTypes.h:418
float k5
Radial distortion factor 5.
Definition ObTypes.h:422
float k4
Radial distortion factor 4.
Definition ObTypes.h:421
float p2
Tangential distortion factor 2.
Definition ObTypes.h:425
float k2
Radial distortion factor 2.
Definition ObTypes.h:419
Structure for camera intrinsic parameters.
Definition ObTypes.h:380
float fx
Focal length in x direction.
Definition ObTypes.h:381
float cx
Optical center abscissa.
Definition ObTypes.h:383
int16_t height
Image height.
Definition ObTypes.h:386
float cy
Optical center ordinate.
Definition ObTypes.h:384
int16_t width
Image width.
Definition ObTypes.h:385
float fy
Focal length in y direction.
Definition ObTypes.h:382
Camera parameters.
Definition ObTypes.h:474
OBD2CTransform transform
Rotation/transformation matrix.
Definition ObTypes.h:480
OBCameraDistortion rgbDistortion
Distortion parameters for color camera.
Definition ObTypes.h:479
OBCameraDistortion depthDistortion
Depth camera distortion parameters.
Definition ObTypes.h:477
OBCameraIntrinsic rgbIntrinsic
Color camera internal parameters.
Definition ObTypes.h:476
OBCameraIntrinsic depthIntrinsic
Depth camera internal parameters.
Definition ObTypes.h:475
Structure for camera parameters.
Definition ObTypes.h:462
OBCameraDistortion rgbDistortion
Color camera distortion parameters.
Definition ObTypes.h:466
bool isMirrored
Whether the image frame corresponding to this group of parameters is mirrored.
Definition ObTypes.h:468
OBCameraIntrinsic rgbIntrinsic
Color camera internal parameters.
Definition ObTypes.h:464
OBCameraIntrinsic depthIntrinsic
Depth camera internal parameters.
Definition ObTypes.h:463
OBCameraDistortion depthDistortion
Depth camera distortion parameters.
Definition ObTypes.h:465
OBD2CTransform transform
Rotation/transformation matrix (from depth to color)
Definition ObTypes.h:467
3D point structure with color information
Definition ObTypes.h:769
float z
Z coordinate.
Definition ObTypes.h:772
float g
Green channel component.
Definition ObTypes.h:774
float b
Blue channel component.
Definition ObTypes.h:775
float x
X coordinate.
Definition ObTypes.h:770
float y
Y coordinate.
Definition ObTypes.h:771
float r
Red channel component.
Definition ObTypes.h:773
Structure for rotation/transformation.
Definition ObTypes.h:454
Internal API for future publication.
Definition ObTypes.h:1083
uint32_t itemCount
Count of data item.
Definition ObTypes.h:1115
OBCmdVersion cmdVersion
OBCmdVersion of propertyId.
Definition ObTypes.h:1087
uint32_t itemTypeSize
Size of data item.
Definition ObTypes.h:1108
uint32_t dataSize
Data size in bytes.
Definition ObTypes.h:1101
void * data
Data containing itemCount of elements.
Definition ObTypes.h:1094
Structure for transmitting data blocks.
Definition ObTypes.h:315
uint8_t * data
Pointer to current block data.
Definition ObTypes.h:316
uint32_t offset
Offset of current data block relative to complete data.
Definition ObTypes.h:318
uint32_t fullDataSize
Size of full data.
Definition ObTypes.h:319
uint32_t size
Length of current block data.
Definition ObTypes.h:317
Depth work mode.
Definition ObTypes.h:954
Device synchronization configuration.
Definition ObTypes.h:898
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:918
OBSyncMode syncMode
Device synchronize mode.
Definition ObTypes.h:902
uint16_t deviceTriggerSignalOutPolarity
The device trigger signal output polarity is used to control the polarity configuration of the trigge...
Definition ObTypes.h:935
uint16_t deviceId
Device number. Users can mark the device with this number.
Definition ObTypes.h:948
uint16_t irTriggerSignalInDelay
IR Trigger signal input delay: Used to configure the delay between the IR/Depth/TOF Sensor receiving ...
Definition ObTypes.h:910
uint16_t deviceTriggerSignalOutDelay
Device trigger signal output delay, used to control the delay configuration of the host device to out...
Definition ObTypes.h:926
uint16_t mcuTriggerFrequency
MCU trigger frequency, used to configure the output frequency of MCU trigger signal in MCU master mod...
Definition ObTypes.h:943
Temperature parameters of the device (unit: Celsius)
Definition ObTypes.h:649
float tecTemp
TEC temperature.
Definition ObTypes.h:654
float irRightTemp
Right IR temperature.
Definition ObTypes.h:658
float imuTemp
IMU temperature.
Definition ObTypes.h:655
float mainBoardTemp
Motherboard temperature.
Definition ObTypes.h:653
float irTemp
IR temperature.
Definition ObTypes.h:651
float chipBottomTemp
MX6600 bottom temperature.
Definition ObTypes.h:660
float irLeftTemp
Left IR temperature.
Definition ObTypes.h:657
float ldmTemp
Laser temperature.
Definition ObTypes.h:652
float rgbTemp
RGB temperature.
Definition ObTypes.h:656
float chipTopTemp
MX6600 top temperature.
Definition ObTypes.h:659
float cpuTemp
CPU temperature.
Definition ObTypes.h:650
OBEdgeNoiseRemovalType type
Definition ObTypes.h:1012
Structure for float range.
Definition ObTypes.h:336
float cur
Current value.
Definition ObTypes.h:337
float min
Minimum value.
Definition ObTypes.h:339
float max
Maximum value.
Definition ObTypes.h:338
float def
Default value.
Definition ObTypes.h:341
float step
Step value.
Definition ObTypes.h:340
Structure for gyroscope intrinsic parameters.
Definition ObTypes.h:405
double randomWalk
random walk
Definition ObTypes.h:407
double noiseDensity
In-run bias instability.
Definition ObTypes.h:406
double referenceTemp
reference temperature
Definition ObTypes.h:408
Structure for integer range.
Definition ObTypes.h:325
int32_t step
Step value.
Definition ObTypes.h:329
int32_t def
Default value.
Definition ObTypes.h:330
int32_t max
Maximum value.
Definition ObTypes.h:327
int32_t min
Minimum value.
Definition ObTypes.h:328
int32_t cur
Current value.
Definition ObTypes.h:326
Configuration for mgc filter.
Definition ObTypes.h:509
uint32_t width
Definition ObTypes.h:510
uint32_t height
Definition ObTypes.h:511
IP address configuration for network devices (IPv4)
Definition ObTypes.h:1121
uint16_t dhcp
DHCP status.
Definition ObTypes.h:1127
OBDDONoiseRemovalType type
Definition ObTypes.h:1031
2D point structure in the SDK
Definition ObTypes.h:754
float x
X coordinate.
Definition ObTypes.h:755
float y
Y coordinate.
Definition ObTypes.h:756
3D point structure in the SDK
Definition ObTypes.h:745
float y
Y coordinate.
Definition ObTypes.h:747
float z
Z coordinate.
Definition ObTypes.h:748
float x
X coordinate.
Definition ObTypes.h:746
Control command protocol version number.
Definition ObTypes.h:1037
uint8_t major
Major version number.
Definition ObTypes.h:1041
uint8_t minor
Minor version number.
Definition ObTypes.h:1046
uint8_t patch
Patch version number.
Definition ObTypes.h:1051
Rectangle.
Definition ObTypes.h:534
uint32_t height
Rectangle height.
Definition ObTypes.h:538
uint32_t y
Origin coordinate y.
Definition ObTypes.h:536
uint32_t x
Origin coordinate x.
Definition ObTypes.h:535
uint32_t width
Rectangle width.
Definition ObTypes.h:537
SequenceId fliter list item.
Definition ObTypes.h:969
TOF Exposure Threshold.
Definition ObTypes.h:800
int32_t lower
Lower threshold, unit: ms.
Definition ObTypes.h:802
int32_t upper
Upper threshold, unit: ms.
Definition ObTypes.h:801
Structure for float range.
Definition ObTypes.h:347
uint16_t min
Minimum value.
Definition ObTypes.h:350
uint16_t cur
Current value.
Definition ObTypes.h:348
uint16_t step
Step value.
Definition ObTypes.h:351
uint16_t max
Maximum value.
Definition ObTypes.h:349
uint16_t def
Default value.
Definition ObTypes.h:352
Structure for float range.
Definition ObTypes.h:358
uint8_t min
Minimum value.
Definition ObTypes.h:361
uint8_t def
Default value.
Definition ObTypes.h:363
uint8_t cur
Current value.
Definition ObTypes.h:359
uint8_t step
Step value.
Definition ObTypes.h:362
uint8_t max
Maximum value.
Definition ObTypes.h:360
int width
width of x and y tables
Definition ObTypes.h:762
float * xTable
table used to compute X coordinate
Definition ObTypes.h:760
int height
height of x and y tables
Definition ObTypes.h:763
float * yTable
table used to compute Y coordinate
Definition ObTypes.h:761
The timestamp reset configuration of the device.
Definition ObTypes.h:1408
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:1422
bool enable
Whether to enable the timestamp reset function.
Definition ObTypes.h:1417
bool timestamp_reset_signal_output_enable
the timestamp reset signal output enable flag.
Definition ObTypes.h:1429
The error class exposed by the SDK, users can get detailed error information according to the error.
Definition ObTypes.h:151
char function[256]
Describe the name of the function where the error occurred.
Definition ObTypes.h:154
char args[256]
Describes the parameters passed to the function when an error occurs. Used to check whether the param...
Definition ObTypes.h:155
char message[256]
Describe the detailed error log.
Definition ObTypes.h:153
ob_exception_type exception_type
The description is the specific error type of the SDK.
Definition ObTypes.h:156
ob_status status
Describe the status code of the error, as compatible with previous customer status code requirements.
Definition ObTypes.h:152
Configuration for depth margin filter.
Definition ObTypes.h:496
bool enable_direction
Set to true for horizontal and vertical, false for horizontal only.
Definition ObTypes.h:503
int limit_y_th
Maximum vertical threshold.
Definition ObTypes.h:500
int limit_x_th
Maximum horizontal threshold.
Definition ObTypes.h:499
uint32_t height
Image height.
Definition ObTypes.h:502
int margin_y_th
Vertical threshold settings.
Definition ObTypes.h:498
uint32_t width
Image width.
Definition ObTypes.h:501
int margin_x_th
Horizontal threshold settings.
Definition ObTypes.h:497
The synchronization configuration of the device.
Definition ObTypes.h:1344
int depthDelayUs
The delay time of the depth image capture after receiving the capture command or trigger signal in mi...
Definition ObTypes.h:1355
int framesPerTrigger
The frame number of each stream after each trigger in triggering mode.
Definition ObTypes.h:1401
int trigger2ImageDelayUs
The delay time of the image capture after receiving the capture command or trigger signal in microsec...
Definition ObTypes.h:1372
int triggerOutDelayUs
The delay time of the trigger signal output after receiving the capture command or trigger signal in ...
Definition ObTypes.h:1391
ob_multi_device_sync_mode syncMode
The sync mode of the device.
Definition ObTypes.h:1348
int colorDelayUs
The delay time of the color image capture after receiving the capture command or trigger signal in mi...
Definition ObTypes.h:1362
bool triggerOutEnable
Trigger signal output enable flag.
Definition ObTypes.h:1383