void ob_frameset_push_frame(ob_frame *frameset, ob_frame_type type, ob_frame *frame, ob_error **error)
push帧
ob_accel_value ob_accel_frame_value(ob_frame *frame, ob_error **error)
Get accelerometer frame data.
uint8_t ob_video_frame_pixel_available_bit_size(ob_frame *frame, ob_error **error)
Get the effective number of pixels (such as Y16 format frame, but only the lower 10 bits are effectiv...
ob_gyro_value ob_gyro_frame_value(ob_frame *frame, ob_error **error)
Get gyroscope frame data.
uint32_t ob_frameset_frame_count(ob_frame *frameset, ob_error **error)
Get the number of frames contained in the frameset.
enum OBSensorType ob_sensor_type
float ob_depth_frame_get_value_scale(ob_frame *frame, ob_error **error)
Get the value scale of the depth frame. The pixel value of depth frame is multiplied by the scale to ...
uint32_t ob_frame_data_size(ob_frame *frame, ob_error **error)
Get the frame data size.
ob_frame_type ob_frame_get_type(ob_frame *frame, ob_error **error)
Get the frame type.
ob_format ob_frame_format(ob_frame *frame, ob_error **error)
Get the frame format.
uint64_t ob_frame_time_stamp_us(ob_frame *frame, ob_error **error)
Get frame time stamp (hardware) us.
uint64_t ob_frame_time_stamp(ob_frame *frame, ob_error **error)
Get frame time stamp (hardware)
Provide structs commonly used in the SDK, enumerating constant definitions.
Data structures for accelerometers and gyroscopes.
uint32_t ob_video_frame_width(ob_frame *frame, ob_error **error)
Get video frame width.
enum OBFrameType ob_frame_type
ob_frame * ob_frameset_points_frame(ob_frame *frameset, ob_error **error)
Get point cloud data from the frameset.
uint64_t ob_frame_system_time_stamp(ob_frame *frame, ob_error **error)
Get frame time stamp (system)
ob_frame * ob_frameset_depth_frame(ob_frame *frameset, ob_error **error)
Get the depth frame from the frameset.
float ob_gyro_frame_temperature(ob_frame *frame, ob_error **error)
Get the temperature when acquiring the gyroscope frame.
void ob_frame_set_device_time_stamp_us(ob_frame *frame, uint64_t device_timestamp_us, ob_error **error)
设置帧的设备时间戳
float ob_points_frame_get_position_value_scale(ob_frame *frame, ob_error **error)
Get the point position value scale of the points frame. the point position value of points frame is m...
ob_frame * ob_frameset_ir_frame(ob_frame *frameset, ob_error **error)
Get the infrared frame from the frameset.
ob_frame * ob_create_frame_from_buffer(ob_format frame_format, uint32_t frame_width, uint32_t frame_height, uint8_t *buffer, uint32_t buffer_size, ob_frame_destroy_callback *buffer_destroy_cb, void *buffer_destroy_context, ob_error **error)
根据外部创建的Buffer创建帧对象
uint64_t ob_frame_index(ob_frame *frame, ob_error **error)
Get the frame index.
ob_sensor_type ob_ir_frame_get_source_sensor_type(ob_frame *frame, ob_error **ob_error)
ob_frame * ob_create_frame(ob_format frame_format, int width, int height, int stride_bytes, ob_frame_type frame_type, ob_error **error)
创建空的帧对象
void * ob_frame_data(ob_frame *frame, ob_error **error)
Get frame data.
struct CFrameImpl ob_frame
ob_frame * ob_frameset_color_frame(ob_frame *frameset, ob_error **error)
Get the color frame from the frameset.
void( ob_frame_destroy_callback)(void *buffer, void *context)
Customize the delete callback, 当引用计数为 0 时主动调用
ob_frame * ob_create_frameset(ob_error **error)
创建空的帧集合
ob_frame * ob_frameset_get_frame(ob_frame *frameset, ob_frame_type frame_type, ob_error **error)
void ob_frame_set_device_time_stamp(ob_frame *frame, uint64_t device_timestamp, ob_error **error)
设置帧的设备时间戳
float ob_accel_frame_temperature(ob_frame *frame, ob_error **error)
Get the temperature when acquiring the accelerometer frame.
void ob_frame_add_ref(ob_frame *frame, ob_error **error)
增加引用计数
uint32_t ob_video_frame_height(ob_frame *frame, ob_error **error)
Get video frame height.
void ob_delete_frame(ob_frame *frame, ob_error **error)
Delete frame.
void ob_frame_set_system_time_stamp(ob_frame *frame, uint64_t system_timestamp, ob_error **error)
设置帧的系统时间戳
uint32_t ob_video_frame_metadata_size(ob_frame *frame, ob_error **error)
Get the metadata size of the frame.
The error class exposed by the SDK, users can get detailed error information according to the erro...
void * ob_video_frame_metadata(ob_frame *frame, ob_error **error)
Get the metadata of the frame.