Provide structs commonly used in the SDK, enumerating constant definitions.
enum OBGyroSampleRate ob_gyro_sample_rate
enum OBGyroFullScaleRange ob_gyro_full_scale_range
struct StreamProfileListImpl ob_stream_profile_list
enum OBStreamType ob_stream_type
enum OBGyroSampleRate ob_accel_sample_rate
struct StreamProfileImpl ob_stream_profile
enum OBAccelFullScaleRange ob_accel_full_scale_range
ob_stream_profile * ob_stream_profile_list_get_accel_stream_profile(ob_stream_profile_list *profile_list, ob_accel_full_scale_range fullScaleRange, ob_accel_sample_rate sampleRate, ob_error **error)
Match the corresponding ob_stream_profile through the passed parameters. If there are multiple matche...
ob_stream_profile * ob_stream_profile_list_get_gyro_stream_profile(ob_stream_profile_list *profile_list, ob_gyro_full_scale_range fullScaleRange, ob_gyro_sample_rate sampleRate, ob_error **error)
Match the corresponding ob_stream_profile through the passed parameters. If there are multiple matche...
ob_stream_profile * ob_stream_profile_list_get_video_stream_profile(ob_stream_profile_list *profile_list, int width, int height, ob_format format, int fps, ob_error **error)
Match the corresponding ob_stream_profile through the passed parameters. If there are multiple matche...
ob_stream_type ob_stream_profile_type(ob_stream_profile *profile, ob_error **error)
Get stream profile type.
ob_camera_distortion ob_video_stream_get_distortion(ob_stream_profile *profile, ob_error **error)
Get the distortion of the video stream.
uint32_t ob_stream_profile_list_count(ob_stream_profile_list *profile_list, ob_error **error)
Get the number of StreamProfile lists.
ob_accel_intrinsic ob_accel_stream_profile_get_intrinsic(ob_stream_profile *profile, ob_error **error)
Get the intrinsic of the accelerometer stream.
ob_gyro_intrinsic ob_gyro_stream_get_intrinsic(ob_stream_profile *profile, ob_error **error)
Get the intrinsic of the gyroscope stream.
ob_gyro_full_scale_range ob_gyro_stream_profile_full_scale_range(ob_stream_profile *profile, ob_error **error)
Get the full-scale range of the gyroscope stream.
ob_extrinsic ob_stream_profile_get_extrinsic_to(ob_stream_profile *source, ob_stream_profile *target, ob_error **error)
Get the extrinsic for source stream to target stream.
uint32_t ob_video_stream_profile_height(ob_stream_profile *profile, ob_error **error)
Get the height of the video stream.
ob_accel_sample_rate ob_accel_stream_profile_sample_rate(ob_stream_profile *profile, ob_error **error)
Get the sampling frequency of the accelerometer frame.
ob_accel_full_scale_range ob_accel_stream_profile_full_scale_range(ob_stream_profile *profile, ob_error **error)
Get the full-scale range of the accelerometer stream.
ob_camera_intrinsic ob_video_stream_get_intrinsic(ob_stream_profile *profile, ob_error **error)
Get the intrinsic of the video stream.
ob_gyro_sample_rate ob_gyro_stream_profile_sample_rate(ob_stream_profile *profile, ob_error **error)
Get the sampling frequency of the gyroscope stream.
uint32_t ob_video_stream_profile_width(ob_stream_profile *profile, ob_error **error)
Get the width of the video stream.
void ob_delete_stream_profile_list(ob_stream_profile_list *profile_list, ob_error **error)
Delete the stream profile list.
ob_stream_profile * ob_stream_profile_list_get_profile(ob_stream_profile_list *profile_list, int index, ob_error **error)
Get the corresponding StreamProfile by subscripting.
uint32_t ob_video_stream_profile_fps(ob_stream_profile *profile, ob_error **error)
Get the frame rate of the video stream.
ob_format ob_stream_profile_format(ob_stream_profile *profile, ob_error **error)
Get stream profile format.
void ob_delete_stream_profile(ob_stream_profile *profile, ob_error **error)
Delete the stream configuration.
Structure for accelerometer intrinsic parameters.
Structure for distortion parameters.
Structure for camera intrinsic parameters.
Structure for gyroscope intrinsic parameters.
The error class exposed by the SDK, users can get detailed error information according to the error.