10#if(defined(WIN32) || defined(_WIN32) || defined(WINCE))
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
19#define OB_EXTENSION_API __declspec(dllimport)
20#define OB_EXTENSION_INTERNAL_API __declspec(dllimport)
22#define OB_EXTENSION_API
23#define OB_EXTENSION_INTERNAL_API
28#define OB_EXTENSION_API __attribute__((visibility("default")))
29#define OB_EXTENSION_INTERNAL_API __attribute__((visibility("default")))
31#define OB_EXTENSION_API
32#define OB_EXTENSION_INTERNAL_API
36#if defined(__GNUC__) || defined(__clang__)
37#define DEPRECATED __attribute__((deprecated))
38#elif defined(_MSC_VER)
39#define DEPRECATED __declspec(deprecated)
41#pragma message("WARNING: You need to implement DEPRECATED for this compiler")
75#define OB_HEIGHT_ANY 0
77#define OB_FORMAT_ANY OB_FORMAT_UNKNOWN
78#define OB_PROFILE_DEFAULT 0
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
129#define OB_LOG_SEVERITY_NONE OB_LOG_SEVERITY_OFF
255#define OB_FORMAT_RGB888 OB_FORMAT_RGB
256#define OB_FORMAT_MJPEG OB_FORMAT_MJPG
398 double scaleMisalignment[9];
410 double scaleMisalignment[9];
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
958 uint8_t checksum[16];
1145#define OBDeviceIpAddrConfig OBNetIpConfig
1146#define ob_device_ip_addr_config OBNetIpConfig
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
1759#define ob_filter_callback ob_frame_callback
1760#define ob_playback_callback ob_frame_callback
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
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
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
1817#define OB_DEFAULT_DECRYPT_KEY (nullptr)
struct OBAccelValue OBGyroValue
struct OBD2CTransform ob_d2c_transform
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.
enum ob_power_line_freq_mode OBPowerLineFreqMode
struct OBPoint2f ob_point2f
struct OBCameraParam ob_camera_param
OBSensorType
Enumeration value describing the sensor type.
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.
struct OBSequenceIdItem ob_sequence_id_item
struct PipelineImpl ob_pipeline
enum OBDCPowerState ob_dc_power_state
struct OBColorPoint ob_color_point
struct OBDeviceSyncConfig OB_DEVICE_SYNC_CONFIG
struct FilterListImpl ob_filter_list
enum OBDepthIndustryMode ob_depth_industry_mode
enum OB_DDO_NOISE_REMOVAL_TYPE ob_ddo_noise_removal_type
OBGyroFullScaleRange
Enumeration of gyroscope ranges.
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.
struct PlaybackImpl ob_playback
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.
@ OB_POWER_LINE_FREQ_MODE_60HZ
60Hz
@ OB_POWER_LINE_FREQ_MODE_50HZ
50Hz
@ OB_POWER_LINE_FREQ_MODE_CLOSE
Close.
struct CFrameImpl ob_frame
OBMediaState
Enumeration for record playback status.
OBFormat
Enumeration value describing the pixel format.
OBHPStatusCode
send data or receive data return status type
@ HP_STATUS_CONTROL_TRANSFER_FAILED
@ HP_STATUS_NO_DEVICE_FOUND
@ HP_STATUS_UNKNOWN_ERROR
enum OBGyroSampleRate OBAccelSampleRate
OBCameraDistortionModel
Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
@ OB_DISTORTION_INVERSE_BROWN_CONRADY
@ OB_DISTORTION_BROWN_CONRADY
@ OB_DISTORTION_MODIFIED_BROWN_CONRADY
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.
@ DATA_TRAN_ERR_TRAN_FAILED
@ DATA_TRAN_STAT_VERIFYING
@ DATA_TRAN_STAT_TRANSFERRING
@ DATA_TRAN_ERR_VERIFY_FAILED
@ DATA_TRAN_ERR_UNSUPPORTED
@ DATA_TRAN_STAT_VERIFY_DONE
OBGyroSampleRate
Enumeration of IMU sample rate values (gyroscope or accelerometer)
@ OB_SAMPLE_RATE_3_125_HZ
@ OB_SAMPLE_RATE_1_5625_HZ
struct HDR_CONFIG OBHdrConfig
enum OBDepthCroppingMode OB_DEPTH_CROPPING_MODE
struct OBAccelIntrinsic ob_accel_intrinsic
struct DeviceImpl ob_device
OBTofFilterRange
Enumeration for TOF filter scene ranges.
@ OB_TOF_FILTER_RANGE_LONG
@ OB_TOF_FILTER_RANGE_CLOSE
@ OB_TOF_FILTER_RANGE_MIDDLE
@ OB_TOF_FILTER_RANGE_DEBUG
enum UVC_BACKEND ob_uvc_backend
enum ob_multi_device_sync_mode OBMultiDeviceSyncMode
enum ob_frame_metadata_type OBFrameMetadataType
struct DeviceInfoImpl ob_device_info
OBFrameType
Enumeration value describing the type of frame.
OBStreamType
Enumeration value describing the type of data stream.
enum OBCompressionMode ob_compression_mode
OBDeviceType
Enumeration for device types.
@ OB_STRUCTURED_LIGHT_MONOCULAR_CAMERA
@ OB_STRUCTURED_LIGHT_BINOCULAR_CAMERA
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.
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
struct SensorListImpl ob_sensor_list
enum OBAccelFullScaleRange OB_ACCEL_FULL_SCALE_RANGE
enum OBDepthPrecisionLevel OB_DEPTH_PRECISION_LEVEL
struct ConfigImpl ob_config
struct AE_ROI ob_region_of_interest
OBDepthCroppingMode
Enumeration for depth crop modes.
@ DEPTH_CROPPING_MODE_AUTO
@ DEPTH_CROPPING_MODE_OPEN
@ DEPTH_CROPPING_MODE_CLOSE
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...
@ OB_EXCEPTION_TYPE_PLATFORM
@ OB_EXCEPTION_TYPE_UNKNOWN
@ OB_EXCEPTION_TYPE_NOT_IMPLEMENTED
@ OB_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE
@ OB_EXCEPTION_TYPE_INVALID_VALUE
@ OB_EXCEPTION_TYPE_UNSUPPORTED_OPERATION
@ OB_EXCEPTION_TYPE_MEMORY
@ OB_EXCEPTION_TYPE_CAMERA_DISCONNECTED
struct OBAccelValue ob_accel_value
struct OBCompressionParams ob_compression_params
enum OBAlignMode ob_align_mode
OBAccelFullScaleRange
Enumeration of accelerometer ranges.
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.
void() ob_log_callback(ob_log_severity severity, const char *message, void *user_data)
Callback for receiving log.
enum OBLogSeverity ob_device_log_severity_level
enum OBFileTranState ob_file_tran_state
OB_CMD_VERSION
Command version associated with property id.
@ OB_CMD_VERSION_NOVERSION
@ OB_CMD_VERSION_V0
Version 1.0.
@ OB_CMD_VERSION_V1
Version 2.0.
@ OB_CMD_VERSION_INVALID
Invalid version.
@ OB_CMD_VERSION_V3
Version 4.0.
@ OB_CMD_VERSION_V2
Version 3.0.
struct DevicePresetListImpl ob_device_preset_list
void() ob_frame_destroy_callback(void *buffer, void *user_data)
Customize the delete callback.
enum OBCommunicationType ob_communication_type
OBFileTranState
Enumeration value describing the file transfer status.
@ FILE_TRAN_ERR_MD5_ERROR
@ FILE_TRAN_ERR_NOT_ENOUGH_SPACE
@ FILE_TRAN_ERR_WRITE_FLASH_ERROR
@ FILE_TRAN_ERR_PATH_NOT_WRITABLE
@ FILE_TRAN_STAT_TRANSFER
OBCommunicationType
Device communication mode.
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
struct SensorImpl ob_sensor
enum OBConvertFormat ob_convert_format
enum OBStreamType ob_stream_type
enum OBDataTranState ob_data_tran_state
@ OB_SYNC_MODE_STANDALONE
Standalone synchronize mode.
@ OB_SYNC_MODE_CLOSE
Close synchronize mode.
@ OB_SYNC_MODE_PRIMARY
Primary synchronize mode.
@ OB_SYNC_MODE_PRIMARY_MCU_TRIGGER
MCU Primary synchronize mode.
@ OB_SYNC_MODE_SECONDARY
Secondary synchronize mode.
@ OB_SYNC_MODE_PRIMARY_SOFT_TRIGGER
Software trigger synchronize mode.
@ OB_SYNC_MODE_PRIMARY_IR_TRIGGER
IR Primary synchronize mode.
@ OB_SYNC_MODE_UNKNOWN
Unknown type.
@ OB_SYNC_MODE_SECONDARY_SOFT_TRIGGER
Software trigger synchronize mode as secondary device.
struct OBAccelValue ob_gyro_value
enum OB_DEVICE_DEVELOPMENT_MODE OBDeviceDevelopmentMode
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
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.
@ OB_FRAME_AGGREGATE_OUTPUT_COLOR_FRAME_REQUIRE
Color Frame Require output mode.
@ OB_FRAME_AGGREGATE_OUTPUT_FULL_FRAME_REQUIRE
Only FrameSet that contains all types of data frames will be output.
@ OB_FRAME_AGGREGATE_OUTPUT_ANY_SITUATION
FrameSet for any case will be output.
@ OB_FRAME_AGGREGATE_OUTPUT_DISABLE
Disable Frame Aggreate.
OB_EDGE_NOISE_REMOVAL_TYPE
struct OBBoolPropertyRange ob_bool_property_range
OB_DEVICE_DEVELOPMENT_MODE
Enumeration of device development modes.
@ OB_USER_MODE
User mode (default mode), which provides full camera device functionality.
@ OB_DEVELOPER_MODE
Developer mode, which allows developers to access the operating system and software/hardware resource...
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
OB_DDO_NOISE_REMOVAL_TYPE
去噪方式
struct FilterImpl ob_filter
ob_multi_device_sync_mode
The synchronization mode of the device.
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY
secondary mode
@ OB_MULTI_DEVICE_SYNC_MODE_SOFTWARE_TRIGGERING
software triggering mode
@ OB_MULTI_DEVICE_SYNC_MODE_HARDWARE_TRIGGERING
hardware triggering mode
@ OB_MULTI_DEVICE_SYNC_MODE_STANDALONE
standalone mode
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY_SYNCED
secondary synced mode
@ OB_MULTI_DEVICE_SYNC_MODE_PRIMARY
primary mode
@ OB_MULTI_DEVICE_SYNC_MODE_FREE_RUN
free run mode
OBPermissionType
the permission type of api or property
@ OB_PERMISSION_READ_WRITE
struct OBSpatialModerateFilterParams ob_spatial_moderate_filter_params
struct AE_ROI OBRegionOfInterest
OBCompressionMode
Compression mode.
@ OB_COMPRESSION_LOSSLESS
OBDCPowerState
DC power status.
@ OB_DC_POWER_PLUGIN
Plugin.
@ OB_DC_POWER_NO_PLUGIN
No plugin.
struct OBCameraAlignIntrinsic ob_camera_align_intrinsic
enum OBAccelFullScaleRange ob_accel_full_scale_range
struct OBCameraParam_V0 ob_camera_param_v0
struct OBFilterListImpl ob_filters
struct OBNetIpConfig DEVICE_IP_ADDR_CONFIG
struct OBIntPropertyRange ob_int_property_range
struct ContextImpl ob_context
struct OBGyroIntrinsic ob_gyro_intrinsic
struct OBD2CTransform ob_transform
OBUpgradeState
Enumeration value describing the firmware upgrade status.
OBUSBPowerState
USB power status.
@ OB_USB_POWER_5V_1A5
5V/1.5A
@ OB_USB_POWER_5V_3A0
5V/3.0A
@ OB_USB_POWER_5V_0A9
5V/0.9A
@ OB_USB_POWER_NO_PLUGIN
No plugin.
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
OBHoleFillingMode
Hole fillig mode.
enum OBSensorType ob_sensor_type
enum OBDepthPrecisionLevel ob_depth_precision_level
void(* ob_frame_callback)(ob_frame *frame, void *user_data)
Callback for frame.
enum OBGyroSampleRate OB_SAMPLE_RATE
struct CameraParamListImpl ob_camera_param_list
void(* ob_set_data_callback)(ob_data_tran_state state, uint8_t percent, void *user_data)
Callback for writing data.
struct OBD2CTransform ob_extrinsic
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)
enum OBGyroFullScaleRange OB_GYRO_FULL_SCALE_RANGE
enum OBMediaState ob_media_state
OBAlignMode
Alignment mode.
enum OBMediaType OB_MEDIA_TYPE
struct OBTofExposureThresholdControl TOF_EXPOSURE_THRESHOLD_CONTROL
struct OBPoint ob_point3f
ob_frame_metadata_type
Frame metadata types.
@ OB_FRAME_METADATA_TYPE_POWER_LINE_FREQUENCY
Power line frequency.
@ OB_FRAME_METADATA_TYPE_SATURATION
Saturation.
@ OB_FRAME_METADATA_TYPE_AE_ROI_TOP
Top region of interest for the auto exposure Algorithm.
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_SIZE
HDR sequence size.
@ OB_FRAME_METADATA_TYPE_FRAME_NUMBER
The number of current frame.
@ OB_FRAME_METADATA_TYPE_SHARPNESS
Sharpness.
@ OB_FRAME_METADATA_TYPE_MANUAL_WHITE_BALANCE
Manual white balance setting.
@ OB_FRAME_METADATA_TYPE_AE_ROI_LEFT
Left region of interest for the auto exposure Algorithm.
@ OB_FRAME_METADATA_TYPE_SENSOR_TIMESTAMP
Timestamp in the middle of the capture.
@ OB_FRAME_METADATA_TYPE_COUNT
The number of frame metadata types, using for types iterating.
@ OB_FRAME_METADATA_TYPE_BRIGHTNESS
Brightness.
@ OB_FRAME_METADATA_TYPE_CONTRAST
Contrast.
@ OB_FRAME_METADATA_TYPE_HUE
Hue.
@ OB_FRAME_METADATA_TYPE_AE_ROI_BOTTOM
Bottom region of interest for the auto exposure Algorithm.
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_INDEX
HDR sequence index.
@ OB_FRAME_METADATA_TYPE_LASER_STATUS
Laser status.
@ OB_FRAME_METADATA_TYPE_WHITE_BALANCE
White balance.
@ OB_FRAME_METADATA_TYPE_AE_ROI_RIGHT
Right region of interest for the auto exposure Algorithm.
@ OB_FRAME_METADATA_TYPE_GAIN
Gain.
@ OB_FRAME_METADATA_TYPE_LASER_POWER_LEVEL
Laser power level.
@ OB_FRAME_METADATA_TYPE_GPIO_INPUT_DATA
GPIO input data.
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_NAME
HDR sequence name.
@ OB_FRAME_METADATA_TYPE_EXPOSURE_PRIORITY
Exposure priority.
@ OB_FRAME_METADATA_TYPE_AUTO_WHITE_BALANCE
Auto white balance status.
@ OB_FRAME_METADATA_TYPE_BACKLIGHT_COMPENSATION
Backlight compensation.
@ OB_FRAME_METADATA_TYPE_TIMESTAMP
Timestamp when the frame is captured.
@ OB_FRAME_METADATA_TYPE_ACTUAL_FRAME_RATE
Actual frame rate.
@ OB_FRAME_METADATA_TYPE_LOW_LIGHT_COMPENSATION
Low light compensation.
@ OB_FRAME_METADATA_TYPE_LASER_POWER
Laser power value in mW.
@ OB_FRAME_METADATA_TYPE_FRAME_RATE
Frame rate.
@ OB_FRAME_METADATA_TYPE_EXPOSURE
Exposure time.
@ OB_FRAME_METADATA_TYPE_GAMMA
Gamma.
@ OB_FRAME_METADATA_TYPE_AUTO_EXPOSURE
Auto exposure status.
OBDepthPrecisionLevel
Enumeration for depth precision levels.
ob_rotate_degree_type
Rotate degree.
@ OB_ROTATE_DEGREE_0
Rotate 0.
@ OB_ROTATE_DEGREE_90
Rotate 90.
@ OB_ROTATE_DEGREE_180
Rotate 180.
@ OB_ROTATE_DEGREE_270
Rotate 270.
struct DISP_OFFSET_CONFIG ob_disp_offset_config
struct OBDepthWorkModeListImpl ob_depth_work_mode_list
OBConvertFormat
Enumeration of format conversion types.
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.
OBMediaType
Enumeration for types of media to record or playback.
@ OB_MEDIA_IR_LEFT_STREAM
@ OB_MEDIA_IR_RIGHT_STREAM
enum OBDepthCroppingMode ob_depth_cropping_mode
enum OBPermissionType ob_permission_type
OBLogSeverity
log level, the higher the level, the stronger the log filter
OBDepthIndustryMode
Device depth industry mode.
void(* ob_frameset_callback)(ob_frame *frameset, void *user_data)
Callback for frameset.
OB_COORDINATE_SYSTEM_TYPE
Enumeration of point cloud coordinate system types.
@ OB_RIGHT_HAND_COORDINATE_SYSTEM
@ OB_LEFT_HAND_COORDINATE_SYSTEM
struct OBMGCFilterConfig ob_mgc_filter_config
struct OBCameraIntrinsic ob_camera_intrinsic
The rect of the region of interest.
Baseline calibration parameters.
float zpd
Calibration distance.
float baseline
Baseline length.
uint32_t exposure_1
Exposure time 1.
uint32_t exposure_2
Exposure time 2.
uint8_t enable
Enable/disable HDR, after enabling HDR, the exposure_1 and gain_1 will be used as the first exposure ...
uint8_t sequence_name
Sequence name.
Structure for accelerometer intrinsic parameters.
double randomWalk
random walk
double noiseDensity
In-run bias instability.
double referenceTemp
reference temperature
Data structures for accelerometers and gyroscopes.
float z
Z-direction component.
float x
X-direction component.
float y
Y-direction component.
Structure for boolean range.
OBCameraDistortionModel model
Structure for distortion parameters.
float p1
Tangential distortion factor 1.
float k6
Radial distortion factor 6.
float k3
Radial distortion factor 3.
float k1
Radial distortion factor 1.
float k5
Radial distortion factor 5.
float k4
Radial distortion factor 4.
float p2
Tangential distortion factor 2.
float k2
Radial distortion factor 2.
Structure for camera intrinsic parameters.
float fx
Focal length in x direction.
float cx
Optical center abscissa.
int16_t height
Image height.
float cy
Optical center ordinate.
int16_t width
Image width.
float fy
Focal length in y direction.
OBD2CTransform transform
Rotation/transformation matrix.
OBCameraDistortion rgbDistortion
Distortion parameters for color camera.
OBCameraDistortion depthDistortion
Depth camera distortion parameters.
OBCameraIntrinsic rgbIntrinsic
Color camera internal parameters.
OBCameraIntrinsic depthIntrinsic
Depth camera internal parameters.
Structure for camera parameters.
OBCameraDistortion rgbDistortion
Color camera distortion parameters.
bool isMirrored
Whether the image frame corresponding to this group of parameters is mirrored.
OBCameraIntrinsic rgbIntrinsic
Color camera internal parameters.
OBCameraIntrinsic depthIntrinsic
Depth camera internal parameters.
OBCameraDistortion depthDistortion
Depth camera distortion parameters.
OBD2CTransform transform
Rotation/transformation matrix (from depth to color)
3D point structure with color information
float g
Green channel component.
float b
Blue channel component.
float r
Red channel component.
Internal API for future publication.
uint32_t itemCount
Count of data item.
OBCmdVersion cmdVersion
OBCmdVersion of propertyId.
uint32_t itemTypeSize
Size of data item.
uint32_t dataSize
Data size in bytes.
void * data
Data containing itemCount of elements.
Structure for transmitting data blocks.
uint8_t * data
Pointer to current block data.
uint32_t offset
Offset of current data block relative to complete data.
uint32_t fullDataSize
Size of full data.
uint32_t size
Length of current block data.
Device synchronization configuration.
uint16_t rgbTriggerSignalInDelay
RGB trigger signal input delay is used to configure the delay from the time when an RGB Sensor receiv...
OBSyncMode syncMode
Device synchronize mode.
uint16_t deviceTriggerSignalOutPolarity
The device trigger signal output polarity is used to control the polarity configuration of the trigge...
uint16_t deviceId
Device number. Users can mark the device with this number.
uint16_t irTriggerSignalInDelay
IR Trigger signal input delay: Used to configure the delay between the IR/Depth/TOF Sensor receiving ...
uint16_t deviceTriggerSignalOutDelay
Device trigger signal output delay, used to control the delay configuration of the host device to out...
uint16_t mcuTriggerFrequency
MCU trigger frequency, used to configure the output frequency of MCU trigger signal in MCU master mod...
Temperature parameters of the device (unit: Celsius)
float tecTemp
TEC temperature.
float irRightTemp
Right IR temperature.
float imuTemp
IMU temperature.
float mainBoardTemp
Motherboard temperature.
float irTemp
IR temperature.
float chipBottomTemp
MX6600 bottom temperature.
float irLeftTemp
Left IR temperature.
float ldmTemp
Laser temperature.
float rgbTemp
RGB temperature.
float chipTopTemp
MX6600 top temperature.
float cpuTemp
CPU temperature.
OBEdgeNoiseRemovalType type
Structure for float range.
Structure for gyroscope intrinsic parameters.
double randomWalk
random walk
double noiseDensity
In-run bias instability.
double referenceTemp
reference temperature
Structure for integer range.
int32_t def
Default value.
int32_t max
Maximum value.
int32_t min
Minimum value.
int32_t cur
Current value.
Configuration for mgc filter.
IP address configuration for network devices (IPv4)
uint16_t dhcp
DHCP status.
OBDDONoiseRemovalType type
2D point structure in the SDK
3D point structure in the SDK
Control command protocol version number.
uint8_t major
Major version number.
uint8_t minor
Minor version number.
uint8_t patch
Patch version number.
uint32_t height
Rectangle height.
uint32_t y
Origin coordinate y.
uint32_t x
Origin coordinate x.
uint32_t width
Rectangle width.
SequenceId fliter list item.
int32_t lower
Lower threshold, unit: ms.
int32_t upper
Upper threshold, unit: ms.
Structure for float range.
uint16_t min
Minimum value.
uint16_t cur
Current value.
uint16_t max
Maximum value.
uint16_t def
Default value.
Structure for float range.
uint8_t min
Minimum value.
uint8_t def
Default value.
uint8_t cur
Current value.
uint8_t max
Maximum value.
int width
width of x and y tables
float * xTable
table used to compute X coordinate
int height
height of x and y tables
float * yTable
table used to compute Y coordinate
The timestamp reset configuration of the device.
int timestamp_reset_delay_us
The delay time of executing the timestamp reset function after receiving the command or signal in mic...
bool enable
Whether to enable the timestamp reset function.
bool timestamp_reset_signal_output_enable
the timestamp reset signal output enable flag.
The error class exposed by the SDK, users can get detailed error information according to the error.
char function[256]
Describe the name of the function where the error occurred.
char args[256]
Describes the parameters passed to the function when an error occurs. Used to check whether the param...
char message[256]
Describe the detailed error log.
ob_exception_type exception_type
The description is the specific error type of the SDK.
ob_status status
Describe the status code of the error, as compatible with previous customer status code requirements.
Configuration for depth margin filter.
bool enable_direction
Set to true for horizontal and vertical, false for horizontal only.
int limit_y_th
Maximum vertical threshold.
int limit_x_th
Maximum horizontal threshold.
uint32_t height
Image height.
int margin_y_th
Vertical threshold settings.
uint32_t width
Image width.
int margin_x_th
Horizontal threshold settings.
The synchronization configuration of the device.
int depthDelayUs
The delay time of the depth image capture after receiving the capture command or trigger signal in mi...
int framesPerTrigger
The frame number of each stream after each trigger in triggering mode.
int trigger2ImageDelayUs
The delay time of the image capture after receiving the capture command or trigger signal in microsec...
int triggerOutDelayUs
The delay time of the trigger signal output after receiving the capture command or trigger signal in ...
ob_multi_device_sync_mode syncMode
The sync mode of the device.
int colorDelayUs
The delay time of the color image capture after receiving the capture command or trigger signal in mi...
bool triggerOutEnable
Trigger signal output enable flag.