45#define OB_HEIGHT_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
58#define OB_PATH_MAX (1024)
93#define OB_LOG_SEVERITY_NONE OB_LOG_SEVERITY_OFF
238#define OB_FORMAT_RGB888 OB_FORMAT_RGB
239#define OB_FORMAT_MJPEG OB_FORMAT_MJPG
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)
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)
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
1122#define OBDeviceIpAddrConfig OBNetIpConfig
1123#define ob_device_ip_addr_config OBNetIpConfig
1206#define OB_FRAME_AGGREGATE_OUTPUT_FULL_FRAME_REQUIRE OB_FRAME_AGGREGATE_OUTPUT_ALL_TYPE_FRAME_REQUIRE
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
1827#define ob_filter_callback ob_frame_callback
1828#define ob_playback_callback ob_frame_callback
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)
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)
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
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
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
1906#define OB_DEFAULT_DECRYPT_KEY (nullptr)
struct ob_filter_list_t ob_filter_list
struct ob_sensor_t ob_sensor
struct ob_frame_t ob_frame
enum OBDepthPrecisionLevel OBDepthUnit
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
enum OBDepthPrecisionLevel ob_depth_unit
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 OBAccelValue ob_float_3d
OBIMUSampleRate
Enumeration of IMU sample rate values (gyroscope or accelerometer)
@ OB_SAMPLE_RATE_3_125_HZ
@ OB_SAMPLE_RATE_1_5625_HZ
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
struct OBColorPoint ob_color_point
struct OBDeviceSyncConfig OB_DEVICE_SYNC_CONFIG
struct ob_device_info_t ob_device_info
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
struct ob_context_t ob_context
enum OBLogSeverity OBDeviceLogSeverityLevel
enum OBIMUSampleRate OB_SAMPLE_RATE
struct ob_stream_profile_t ob_stream_profile
struct OBXYTables ob_xy_tables
uint64_t OBDeviceState
Device state.
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.
@ OB_POWER_LINE_FREQ_MODE_60HZ
60Hz
@ OB_POWER_LINE_FREQ_MODE_50HZ
50Hz
@ OB_POWER_LINE_FREQ_MODE_CLOSE
Close.
OBMediaState
Enumeration for record playback status.
OBFormat
Enumeration value describing the pixel format.
OBCameraDistortionModel
Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
@ OB_DISTORTION_INVERSE_BROWN_CONRADY
@ OB_DISTORTION_BROWN_CONRADY
@ OB_DISTORTION_KANNALA_BRANDT4
@ OB_DISTORTION_BROWN_CONRADY_K6
@ OB_DISTORTION_MODIFIED_BROWN_CONRADY
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.
@ 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
struct ob_stream_profile_list_t ob_stream_profile_list
struct HDR_CONFIG OBHdrConfig
enum OBDepthCroppingMode OB_DEPTH_CROPPING_MODE
struct OBAccelIntrinsic ob_accel_intrinsic
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 ob_multi_device_sync_mode OBMultiDeviceSyncMode
enum ob_frame_metadata_type OBFrameMetadataType
OBFrameType
Enumeration value describing the type of frame.
OBStreamType
Enumeration value describing the type of data stream.
ob_uvc_backend_type
For Linux, there are two ways to access the UVC device, libuvc and v4l2. The backend type is used to ...
@ OB_UVC_BACKEND_TYPE_MSMF
Use MSMF backend to access the UVC device.
@ OB_UVC_BACKEND_TYPE_V4L2
Use v4l2 backend to access the UVC device.
@ OB_UVC_BACKEND_TYPE_LIBUVC
Use libuvc backend to access the UVC device.
@ OB_UVC_BACKEND_TYPE_AUTO
Auto detect system capabilities and device hint to select backend.
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 OBDisparityParam ob_disparity_param
struct ob_playback_device_t ob_playback_device
struct OBDeviceSerialNumber OBSerialNumber
enum OBAccelFullScaleRange OB_ACCEL_FULL_SCALE_RANGE
struct ob_device_t ob_device
enum OBDepthPrecisionLevel OB_DEPTH_PRECISION_LEVEL
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
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
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_STD_EXCEPTION
@ OB_EXCEPTION_TYPE_CAMERA_DISCONNECTED
struct OBAccelValue ob_accel_value
struct OBCompressionParams ob_compression_params
enum OBAlignMode ob_align_mode
struct ob_filter_t ob_filter
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_log_callback(ob_log_severity severity, const char *message, void *user_data)
Callback for receiving log.
enum OBLogSeverity ob_device_log_severity_level
struct ob_depth_work_mode_list_t ob_depth_work_mode_list
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.
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 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
@ 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_IR_IMU_SYNC
IR and IMU sync signal.
@ 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 OBUpgradeState ob_fw_update_state
struct ob_filter_config_schema_list_t ob_filter_config_schema_list
ob_playback_status
The playback status of the media.
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.
@ OB_DEVICE_DEPTH_WORK_MODE
@ OB_CUSTOM_DEPTH_WORK_MODE
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_ANY_SITUATION
FrameSet for any case will be output.
@ OB_FRAME_AGGREGATE_OUTPUT_DISABLE
Disable Frame Aggreate.
@ OB_FRAME_AGGREGATE_OUTPUT_ALL_TYPE_FRAME_REQUIRE
Only FrameSet that contains all types of data frames will be output.
struct OBFilterConfigSchemaItem ob_filter_config_schema_item
enum OBFilterConfigValueType ob_filter_config_value_type
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
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.
enum OBDepthWorkModeTag ob_depth_work_mode_tag
ob_multi_device_sync_mode
The synchronization mode of the device.
@ OB_MULTI_DEVICE_SYNC_MODE_IR_IMU_SYNC
IR and IMU sync mode.
@ 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
enum OBIMUSampleRate ob_gyro_sample_rate
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.
ob_intra_camera_sync_reference
Intra-camera Sync Reference based on the exposure start time, the exposure middle time,...
enum OBAccelFullScaleRange ob_accel_full_scale_range
void ob_frame_destroy_callback(uint8_t *buffer, void *user_data)
Customize the delete callback.
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
struct OBD2CTransform ob_transform
OBUpgradeState
Enumeration value describing the firmware upgrade status.
@ STAT_DONE_WITH_DUPLICATES
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
struct ob_device_list_t ob_device_list
struct OBAccelValue OBFloat3D
OBPixelType
Enumeration value describing the pixel type of frame (usually used for depth frame)
struct ob_device_preset_list_t ob_device_preset_list
enum OBFrameType ob_frame_type
struct OBSpatialFastFilterParams ob_spatial_fast_filter_params
struct ob_preset_resolution_config_list_t ob_preset_resolution_config_list
enum ob_playback_status OBPlaybackStatus
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.
OBCameraPerformanceMode
Camera performance mode.
@ ADAPTIVE_PERFORMANCE_MODE
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 OBDispOffsetConfig ob_disp_offset_config
struct ob_sensor_list_t ob_sensor_list
struct OBProtocolVersion ob_protocol_version
enum ob_rotate_degree_type OBRotateDegreeType
struct ob_pipeline_t ob_pipeline
void(* ob_playback_status_changed_callback)(ob_playback_status status, void *user_data)
void(* ob_media_state_callback)(ob_media_state state, void *user_data)
Callback for media status (recording and playback)
void(* ob_device_fw_update_callback)(ob_fw_update_state state, const char *message, uint8_t percent, void *user_data)
Callback for firmware upgrade.
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_DISPARITY_SEARCH_RANGE
disparity search range
@ 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_DISPARITY_SEARCH_OFFSET
disparity search offset value
@ 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 ob_record_device_t ob_record_device
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
enum OBPixelType ob_pixel_type
@ OB_FILTER_CONFIG_VALUE_TYPE_FLOAT
@ OB_FILTER_CONFIG_VALUE_TYPE_INT
@ OB_FILTER_CONFIG_VALUE_TYPE_BOOLEAN
@ OB_FILTER_CONFIG_VALUE_TYPE_INVALID
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 gravity[3]
gravity direction for x, y, z axis
double bias[3]
bias for x, y, z axis
double scaleMisalignment[9]
scale factor and three-axis non-orthogonal error
double randomWalk
random walk
double noiseDensity
In-run bias instability.
double referenceTemp
reference temperature
double tempSlope[9]
linear temperature drift coefficient
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.
OBCameraDistortion distortion[OB_SENSOR_TYPE_COUNT]
Sensor distortion.
OBExtrinsic extrinsics[OB_SENSOR_TYPE_COUNT][OB_SENSOR_TYPE_COUNT]
OBCameraIntrinsic intrinsics[OB_SENSOR_TYPE_COUNT]
Sensor internal parameters.
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.
OBCameraDistortionModel model
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.
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.
3D point structure with color information
float g
Green channel component.
float b
Blue channel component.
float r
Red channel component.
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.
OBDepthWorkModeTag tag
Preset tag.
uint8_t checksum[16]
Checksum of work mode.
char name[32]
Name of work mode.
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.
Disparity offset interleaving configuration.
disparity parameters for disparity based camera
OBEdgeNoiseRemovalType type
Configuration Item for the filter.
double min
Minimum value casted to double.
OBFilterConfigValueType type
Value type of the configuration item.
double max
Maximum value casted to double.
const char * name
Name of the configuration item.
double def
Default value casted to double.
double step
Step value casted to double.
const char * desc
Description of the configuration item.
Structure for float range.
Structure for gyroscope intrinsic parameters.
double randomWalk
random walk
double scaleMisalignment[9]
scale factor and three-axis non-orthogonal error
double bias[3]
bias for x, y, z axis
double noiseDensity
In-run bias instability.
double tempSlope[9]
linear temperature drift coefficient
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)
uint8_t gateway[4]
Gateway (big endian)
uint16_t dhcp
DHCP status.
uint8_t mask[4]
Subnet mask (big endian)
uint8_t address[4]
IP address (IPv4, big endian: 192.168.1.10, address[0] = 192, address[1] = 168, address[2] = 1,...
OBDDONoiseRemovalType type
2D point structure in the SDK
3D point structure in the SDK
int depthDecimationFactor
depth decimation factor
int irDecimationFactor
ir decimation factor
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...
OBMultiDeviceSyncMode syncMode
The sync mode of the device.
int triggerOutDelayUs
The delay time of the trigger signal output after receiving the capture command or trigger signal in ...
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.