|
typedef struct ContextImpl | ob_context |
|
typedef struct DeviceImpl | ob_device |
|
typedef struct DeviceInfoImpl | ob_device_info |
|
typedef struct DeviceListImpl | ob_device_list |
|
typedef struct CameraParamListImpl | ob_camera_param_list |
|
typedef struct SensorImpl | ob_sensor |
|
typedef struct SensorListImpl | ob_sensor_list |
|
typedef struct StreamProfileImpl | ob_stream_profile |
|
typedef struct StreamProfileListImpl | ob_stream_profile_list |
|
typedef struct CFrameImpl | ob_frame |
|
typedef struct FilterImpl | ob_filter |
|
typedef struct PipelineImpl | ob_pipeline |
|
typedef struct ConfigImpl | ob_config |
|
typedef struct RecorderImpl | ob_recorder |
|
typedef struct PlaybackImpl | ob_playback |
|
typedef struct OBDepthWorkModeListImpl | ob_depth_work_mode_list |
|
typedef enum OBPermissionType | ob_permission_type |
|
typedef enum OBStatus | ob_status |
|
typedef enum OBLogSeverity | ob_log_severity |
|
typedef enum OBLogSeverity | DEVICE_LOG_SEVERITY_LEVEL |
|
typedef enum OBLogSeverity | OBDeviceLogSeverityLevel |
|
typedef enum OBLogSeverity | ob_device_log_severity_level |
|
typedef enum OBExceptionType | ob_exception_type |
|
typedef struct ob_error | ob_error |
| The error class exposed by the SDK, users can get detailed error information according to the erro. More...
|
|
typedef enum OBSensorType | ob_sensor_type |
|
typedef enum OBStreamType | ob_stream_type |
|
typedef enum OBFrameType | ob_frame_type |
|
typedef enum OBFormat | ob_format |
|
typedef enum OBUpgradeState | ob_upgrade_state |
|
typedef enum OBFileTranState | ob_file_tran_state |
|
typedef enum OBDataTranState | ob_data_tran_state |
|
typedef struct OBDataChunk | ob_data_chunk |
|
typedef struct OBIntPropertyRange | ob_int_property_range |
|
typedef struct OBFloatPropertyRange | ob_float_property_range |
|
typedef struct OBBoolPropertyRange | ob_bool_property_range |
|
typedef struct OBCameraIntrinsic | ob_camera_intrinsic |
|
typedef struct OBCameraDistortion | ob_camera_distortion |
|
typedef struct OBD2CTransform | ob_d2c_transform |
|
typedef struct OBCameraParam | ob_camera_param |
|
typedef struct OBCameraParam_V0 | ob_camera_param_v0 |
|
typedef struct OBDERectifyMaskParams | OBDERectifyMaskParams_V0 |
|
typedef struct MaskFilterConfig_S | ob_mask_filter_config |
|
typedef struct MaskFilterConfig_S | OBMaskFilterConfig |
|
typedef enum OBAlignMode | ob_align_mode |
|
typedef struct OBRect | ob_rect |
|
typedef enum OBConvertFormat | ob_convert_format |
|
typedef enum OBGyroSampleRate | ob_gyro_sample_rate |
|
typedef enum OBGyroSampleRate | OBAccelSampleRate |
|
typedef enum OBGyroSampleRate | ob_accel_sample_rate |
|
typedef enum OBGyroSampleRate | OB_SAMPLE_RATE |
|
typedef enum OBGyroFullScaleRange | ob_gyro_full_scale_range |
|
typedef enum OBGyroFullScaleRange | OB_GYRO_FULL_SCALE_RANGE |
|
typedef enum OBAccelFullScaleRange | ob_accel_full_scale_range |
|
typedef enum OBAccelFullScaleRange | OB_ACCEL_FULL_SCALE_RANGE |
|
typedef struct OBAccelValue | OBGyroValue |
|
typedef struct OBAccelValue | ob_accel_value |
|
typedef struct OBAccelValue | ob_gyro_value |
|
typedef uint64_t | OBDeviceState |
| Device state. More...
|
|
typedef uint64_t | ob_device_state |
|
typedef struct OBDeviceTemperature | ob_device_temperature |
|
typedef struct OBDeviceTemperature | DEVICE_TEMPERATURE |
|
typedef enum OBDepthCroppingMode | ob_depth_cropping_mode |
|
typedef enum OBDepthCroppingMode | OB_DEPTH_CROPPING_MODE |
|
typedef enum OBDeviceType | ob_device_type |
|
typedef enum OBDeviceType | OB_DEVICE_TYPE |
|
typedef enum OBMediaType | ob_media_type |
|
typedef enum OBMediaType | OB_MEDIA_TYPE |
|
typedef enum OBMediaState | ob_media_state |
|
typedef enum OBMediaState | OB_MEDIA_STATE_EM |
|
typedef enum OBDepthPrecisionLevel | ob_depth_precision_level |
|
typedef enum OBDepthPrecisionLevel | OB_DEPTH_PRECISION_LEVEL |
|
typedef enum OBTofFilterRange | ob_tof_filter_range |
|
typedef enum OBTofFilterRange | TOF_FILTER_RANGE |
|
typedef struct OBPoint | ob_point |
|
typedef struct OBColorPoint | ob_color_point |
|
typedef enum OBCompressionMode | ob_compression_mode |
|
typedef enum OBCompressionMode | OB_COMPRESSION_MODE |
|
typedef struct OBCompressionParams | ob_compression_params |
|
typedef struct OBCompressionParams | OB_COMPRESSION_PARAMS |
|
typedef struct OBTofExposureThresholdControl | ob_tof_exposure_threshold_control |
|
typedef struct OBTofExposureThresholdControl | TOF_EXPOSURE_THRESHOLD_CONTROL |
|
typedef enum OBSyncMode | ob_sync_mode |
|
typedef enum OBSyncMode | OB_SYNC_MODE |
|
typedef struct OBDeviceSyncConfig | ob_device_sync_config |
|
typedef struct OBDeviceSyncConfig | OB_DEVICE_SYNC_CONFIG |
|
typedef struct OBDepthWorkMode | ob_depth_work_mode |
|
typedef struct OBProtocolVersion | ob_protocol_version |
|
typedef enum OB_CMD_VERSION | OBCmdVersion |
|
typedef enum OB_CMD_VERSION | ob_cmd_version |
|
typedef struct OBDataBundle | OBDataBundle |
|
typedef struct OBDataBundle | ob_data_bundle |
|
typedef struct OBDeviceIpAddrConfig | ob_device_ip_addr_config |
|
typedef struct OBDeviceIpAddrConfig | DEVICE_IP_ADDR_CONFIG |
|
typedef enum OBCommunicationType | ob_communication_type |
|
typedef enum OBCommunicationType | OB_COMMUNICATION_TYPE |
|
typedef enum OBUSBPowerState | ob_usb_power_state |
|
typedef enum OBDCPowerState | ob_dc_power_state |
|
typedef enum ob_rotate_degree_type | OBRotateDegreeType |
|
typedef enum ob_power_line_freq_mode | OBPowerLineFreqMode |
|
typedef enum OB_FRAME_AGGREGATE_OUTPUT_MODE | OBFrameAggregateOutputMode |
|
typedef enum OB_FRAME_AGGREGATE_OUTPUT_MODE | ob_frame_aggregate_output_mode |
|
typedef void(* | ob_file_send_callback) (ob_file_tran_state state, const char *message, uint8_t percent, void *user_data) |
| file transfer callback More...
|
|
typedef void(* | ob_device_upgrade_callback) (ob_upgrade_state state, const char *message, uint8_t percent, void *user_data) |
| Firmware upgrade callback. More...
|
|
typedef void(* | ob_device_state_callback) (ob_device_state state, const char *message, void *user_data) |
| device status callback More...
|
|
typedef void(* | ob_set_data_callback) (ob_data_tran_state state, uint8_t percent, void *user_data) |
| Callback for writing data. More...
|
|
typedef void(* | ob_get_data_callback) (ob_data_tran_state state, ob_data_chunk *dataChunk, void *user_data) |
| read data callback More...
|
|
typedef void(* | ob_media_state_callback) (ob_media_state state, void *user_data) |
| Media status callbacks (recording and playback) More...
|
|
typedef void(* | ob_device_changed_callback) (ob_device_list *removed, ob_device_list *added, void *user_data) |
| Device change (up and down) callback. More...
|
|
typedef void(* | ob_frame_callback) (ob_frame *frame, void *user_data) |
| dataframe callback More...
|
|
typedef void(* | ob_frameset_callback) (ob_frame *frameset, void *user_data) |
| dataframe collection callback More...
|
|
typedef void( | ob_frame_destroy_callback) (void *buffer, void *context) |
| Customize the delete callback, 当引用计数为 0 时主动调用 More...
|
|
|
enum | OBPermissionType { OB_PERMISSION_DENY = 0,
OB_PERMISSION_READ = 1,
OB_PERMISSION_WRITE = 2,
OB_PERMISSION_READ_WRITE = 3
} |
| the permission type of api or property More...
|
|
enum | OBStatus { OB_STATUS_OK = 0,
OB_STATUS_ERROR = 1
} |
| error code More...
|
|
enum | OBLogSeverity {
OB_LOG_SEVERITY_DEBUG,
OB_LOG_SEVERITY_INFO,
OB_LOG_SEVERITY_WARN,
OB_LOG_SEVERITY_ERROR,
OB_LOG_SEVERITY_FATAL,
OB_LOG_SEVERITY_NONE
} |
| log level, the higher the level, the stronger the log filter More...
|
|
enum | OBExceptionType {
OB_EXCEPTION_TYPE_UNKNOWN,
OB_EXCEPTION_TYPE_CAMERA_DISCONNECTED,
OB_EXCEPTION_TYPE_PLATFORM,
OB_EXCEPTION_TYPE_INVALID_VALUE,
OB_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE,
OB_EXCEPTION_TYPE_NOT_IMPLEMENTED,
OB_EXCEPTION_TYPE_IO,
OB_EXCEPTION_TYPE_MEMORY,
OB_EXCEPTION_TYPE_UNSUPPORTED_OPERATION
} |
| The exception types in the SDK, through the exception type, you can easily determine the specific type of error. For detailed error API interface functions and error logs, please refer to the information of ob_error. More...
|
|
enum | OBSensorType {
OB_SENSOR_UNKNOWN = 0,
OB_SENSOR_IR = 1,
OB_SENSOR_COLOR = 2,
OB_SENSOR_DEPTH = 3,
OB_SENSOR_ACCEL = 4,
OB_SENSOR_GYRO = 5,
OB_SENSOR_IR_LEFT = 6,
OB_SENSOR_IR_RIGHT = 7
} |
| Enumeration value describing the sensor type. More...
|
|
enum | OBStreamType {
OB_STREAM_UNKNOWN = -1,
OB_STREAM_VIDEO,
OB_STREAM_IR = 1,
OB_STREAM_COLOR = 2,
OB_STREAM_DEPTH = 3,
OB_STREAM_ACCEL = 4,
OB_STREAM_GYRO = 5,
OB_STREAM_IR_LEFT = 6,
OB_STREAM_IR_RIGHT = 7
} |
| Enumeration value describing the type of data stream. More...
|
|
enum | OBFrameType {
OB_FRAME_UNKNOWN = -1,
OB_FRAME_VIDEO = 0,
OB_FRAME_IR = 1,
OB_FRAME_COLOR = 2,
OB_FRAME_DEPTH = 3,
OB_FRAME_ACCEL = 4,
OB_FRAME_SET = 5,
OB_FRAME_POINTS = 6,
OB_FRAME_GYRO = 7,
OB_FRAME_IR_LEFT = 8,
OB_FRAME_IR_RIGHT = 9
} |
| Describe the Frame type enumeration value. More...
|
|
enum | OBFormat {
OB_FORMAT_YUYV = 0,
OB_FORMAT_YUY2 = 1,
OB_FORMAT_UYVY = 2,
OB_FORMAT_NV12 = 3,
OB_FORMAT_NV21 = 4,
OB_FORMAT_MJPG = 5,
OB_FORMAT_H264 = 6,
OB_FORMAT_H265 = 7,
OB_FORMAT_Y16 = 8,
OB_FORMAT_Y8 = 9,
OB_FORMAT_Y10 = 10,
OB_FORMAT_Y11 = 11,
OB_FORMAT_Y12 = 12,
OB_FORMAT_GRAY = 13,
OB_FORMAT_HEVC = 14,
OB_FORMAT_I420 = 15,
OB_FORMAT_ACCEL = 16,
OB_FORMAT_GYRO = 17,
OB_FORMAT_POINT = 19,
OB_FORMAT_RGB_POINT = 20,
OB_FORMAT_RLE = 21,
OB_FORMAT_RGB = 22,
OB_FORMAT_BGR = 23,
OB_FORMAT_Y14 = 24,
OB_FORMAT_BGRA = 25,
OB_FORMAT_COMPRESSED = 26,
OB_FORMAT_UNKNOWN = 0xff
} |
| Enumeration value describing the pixel format. More...
|
|
enum | OBUpgradeState {
STAT_FILE_TRANSFER = 4,
STAT_DONE = 3,
STAT_IN_PROGRESS = 2,
STAT_START = 1,
STAT_VERIFY_IMAGE = 0,
ERR_VERIFY = -1,
ERR_PROGRAM = -2,
ERR_ERASE = -3,
ERR_FLASH_TYPE = -4,
ERR_IMAGE_SIZE = -5,
ERR_OTHER = -6,
ERR_DDR = -7,
ERR_TIMEOUT = -8
} |
| Firmware upgrade status. More...
|
|
enum | OBFileTranState {
FILE_TRAN_STAT_TRANSFER = 2,
FILE_TRAN_STAT_DONE = 1,
FILE_TRAN_STAT_PREPAR = 0,
FILE_TRAN_ERR_DDR = -1,
FILE_TRAN_ERR_NOT_ENOUGH_SPACE = -2,
FILE_TRAN_ERR_PATH_NOT_WRITABLE = -3,
FILE_TRAN_ERR_MD5_ERROR = -4,
FILE_TRAN_ERR_WRITE_FLASH_ERROR = -5,
FILE_TRAN_ERR_TIMEOUT = -6
} |
| file transfer status More...
|
|
enum | OBDataTranState {
DATA_TRAN_STAT_STOPPED = 3,
DATA_TRAN_STAT_DONE = 2,
DATA_TRAN_STAT_VERIFYING = 1,
DATA_TRAN_STAT_TRANSFERRING = 0,
DATA_TRAN_ERR_BUSY = -1,
DATA_TRAN_ERR_UNSUPPORTED = -2,
DATA_TRAN_ERR_TRAN_FAILED = -3,
DATA_TRAN_ERR_VERIFY_FAILED = -4,
DATA_TRAN_ERR_OTHER = -5
} |
| data transfer status More...
|
|
enum | OBAlignMode { ALIGN_DISABLE,
ALIGN_D2C_HW_MODE,
ALIGN_D2C_SW_MODE
} |
| alignment mode More...
|
|
enum | OBConvertFormat {
FORMAT_YUYV_TO_RGB888 = 0,
FORMAT_I420_TO_RGB888,
FORMAT_NV21_TO_RGB888,
FORMAT_NV12_TO_RGB888,
FORMAT_MJPG_TO_I420,
FORMAT_RGB888_TO_BGR,
FORMAT_MJPG_TO_NV21,
FORMAT_MJPG_TO_RGB888,
FORMAT_MJPG_TO_BGR888,
FORMAT_MJPG_TO_BGRA,
FORMAT_UYVY_TO_RGB888,
FORMAT_BGR_TO_RGB
} |
| format conversion type enumeration More...
|
|
enum | OBGyroSampleRate {
OB_SAMPLE_RATE_1_5625_HZ = 1,
OB_SAMPLE_RATE_3_125_HZ,
OB_SAMPLE_RATE_6_25_HZ,
OB_SAMPLE_RATE_12_5_HZ,
OB_SAMPLE_RATE_25_HZ,
OB_SAMPLE_RATE_50_HZ,
OB_SAMPLE_RATE_100_HZ,
OB_SAMPLE_RATE_200_HZ,
OB_SAMPLE_RATE_500_HZ,
OB_SAMPLE_RATE_1_KHZ,
OB_SAMPLE_RATE_2_KHZ,
OB_SAMPLE_RATE_4_KHZ,
OB_SAMPLE_RATE_8_KHZ,
OB_SAMPLE_RATE_16_KHZ,
OB_SAMPLE_RATE_32_KHZ
} |
| Enumeration of IMU sample rate values (gyroscope or accelerometer) More...
|
|
enum | OBGyroFullScaleRange {
OB_GYRO_FS_16dps = 1,
OB_GYRO_FS_31dps,
OB_GYRO_FS_62dps,
OB_GYRO_FS_125dps,
OB_GYRO_FS_250dps,
OB_GYRO_FS_500dps,
OB_GYRO_FS_1000dps,
OB_GYRO_FS_2000dps
} |
| Enumeration of gyroscope ranges. More...
|
|
enum | OBAccelFullScaleRange { OB_ACCEL_FS_2g = 1,
OB_ACCEL_FS_4g,
OB_ACCEL_FS_8g,
OB_ACCEL_FS_16g
} |
| Accelerometer range enumeration. More...
|
|
enum | OBDepthCroppingMode { DEPTH_CROPPING_MODE_AUTO = 0,
DEPTH_CROPPING_MODE_CLOSE = 1,
DEPTH_CROPPING_MODE_OPEN = 2
} |
| Depth crop mode enumeration. More...
|
|
enum | OBDeviceType { OB_STRUCTURED_LIGHT_MONOCULAR_CAMERA = 0,
OB_STRUCTURED_LIGHT_BINOCULAR_CAMERA = 1,
OB_TOF_CAMERA = 2
} |
| device type enumeration More...
|
|
enum | OBMediaType {
OB_MEDIA_COLOR_STREAM = 1,
OB_MEDIA_DEPTH_STREAM = 2,
OB_MEDIA_IR_STREAM = 4,
OB_MEDIA_GYRO_STREAM = 8,
OB_MEDIA_ACCEL_STREAM = 16,
OB_MEDIA_CAMERA_PARAM = 32,
OB_MEDIA_DEVICE_INFO = 64,
OB_MEDIA_STREAM_INFO = 128,
OB_MEDIA_IR_LEFT_STREAM = 256,
OB_MEDIA_IR_RIGHT_STREAM = 512,
OB_MEDIA_ALL
} |
| record playback of the type of interest More...
|
|
enum | OBMediaState { OB_MEDIA_BEGIN = 0,
OB_MEDIA_PAUSE,
OB_MEDIA_RESUME,
OB_MEDIA_END
} |
| Record playback status. More...
|
|
enum | OBDepthPrecisionLevel {
OB_PRECISION_1MM,
OB_PRECISION_0MM8,
OB_PRECISION_0MM4,
OB_PRECISION_0MM1,
OB_PRECISION_0MM2,
OB_PRECISION_COUNT
} |
| depth accuracy class More...
|
|
enum | OBTofFilterRange { OB_TOF_FILTER_RANGE_CLOSE = 0,
OB_TOF_FILTER_RANGE_MIDDLE = 1,
OB_TOF_FILTER_RANGE_LONG = 2,
OB_TOF_FILTER_RANGE_DEBUG = 100
} |
| tof filter scene range More...
|
|
enum | OBCompressionMode { OB_COMPRESSION_LOSSLESS = 0,
OB_COMPRESSION_LOSSY = 1
} |
|
enum | OBSyncMode {
OB_SYNC_MODE_CLOSE = 0x00,
OB_SYNC_MODE_STANDALONE = 0x01,
OB_SYNC_MODE_PRIMARY = 0x02,
OB_SYNC_MODE_SECONDARY = 0x03,
OB_SYNC_MODE_PRIMARY_MCU_TRIGGER = 0x04,
OB_SYNC_MODE_PRIMARY_IR_TRIGGER = 0x05,
OB_SYNC_MODE_PRIMARY_SOFT_TRIGGER = 0x06,
OB_SYNC_MODE_SECONDARY_SOFT_TRIGGER = 0x07,
OB_SYNC_MODE_UNKNOWN = 0xff
} |
| Sync mode. More...
|
|
enum | OB_CMD_VERSION {
OB_CMD_VERSION_V0 = (uint16_t)0,
OB_CMD_VERSION_V1 = (uint16_t)1,
OB_CMD_VERSION_V2 = (uint16_t)2,
OB_CMD_VERSION_V3 = (uint16_t)3,
OB_CMD_VERSION_NOVERSION = (uint16_t)0xfffe,
OB_CMD_VERSION_INVALID = (uint16_t)0xffff
} |
|
enum | OBCommunicationType { OB_COMM_USB = 0x00,
OB_COMM_NET = 0x01
} |
| Device communication mode. More...
|
|
enum | OBUSBPowerState { OB_USB_POWER_NO_PLUGIN = 0,
OB_USB_POWER_5V_0A9 = 1,
OB_USB_POWER_5V_1A5 = 2,
OB_USB_POWER_5V_3A0 = 3
} |
| USB power status. More...
|
|
enum | OBDCPowerState { OB_DC_POWER_NO_PLUGIN = 0,
OB_DC_POWER_PLUGIN = 1
} |
| DC power status. More...
|
|
enum | ob_rotate_degree_type { OB_ROTATE_DEGREE_0 = 0,
OB_ROTATE_DEGREE_90 = 90,
OB_ROTATE_DEGREE_180 = 180,
OB_ROTATE_DEGREE_270 = 270
} |
| Rotate degree. More...
|
|
enum | ob_power_line_freq_mode { OB_POWER_LINE_FREQ_MODE_CLOSE = 0,
OB_POWER_LINE_FREQ_MODE_50HZ = 1,
OB_POWER_LINE_FREQ_MODE_60HZ = 2
} |
| Power line frequency mode,for Color camera anti-flicker configuration. More...
|
|
enum | OB_FRAME_AGGREGATE_OUTPUT_MODE { OB_FRAME_AGGREGATE_OUTPUT_FULL_FRAME_REQUIRE = 0,
OB_FRAME_AGGREGATE_OUTPUT_COLOR_FRAME_REQUIRE,
OB_FRAME_AGGREGATE_OUTPUT_ANY_SITUATION
} |
| Frame aggregate output mode. More...
|
|
Provide structs commonly used in the SDK, enumerating constant definitions.
Definition in file ObTypes.h.