| OrbbecSDK 1.10.18 OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras

Loading...
Searching...
No Matches
StreamProfile.h
Go to the documentation of this file.
1
6#pragma once
7
8#ifdef __cplusplus
9 extern "C" {
10#endif
11
12#include "ObTypes.h"
13
21 ob_format ob_stream_profile_format(ob_stream_profile *profile, ob_error **error);
22
30 ob_stream_type ob_stream_profile_type(ob_stream_profile *profile, ob_error **error);
31
40 ob_extrinsic ob_stream_profile_get_extrinsic_to(ob_stream_profile *source, ob_stream_profile *target, ob_error **error);
41
49uint32_t ob_video_stream_profile_fps(ob_stream_profile *profile, ob_error **error);
50
58uint32_t ob_video_stream_profile_width(ob_stream_profile *profile, ob_error **error);
59
67uint32_t ob_video_stream_profile_height(ob_stream_profile *profile, ob_error **error);
68
76 ob_camera_intrinsic ob_video_stream_get_intrinsic(ob_stream_profile *profile, ob_error **error);
77
85 ob_camera_distortion ob_video_stream_get_distortion(ob_stream_profile *profile, ob_error **error);
86
94 ob_accel_full_scale_range ob_accel_stream_profile_full_scale_range(ob_stream_profile *profile, ob_error **error);
95
103 ob_accel_sample_rate ob_accel_stream_profile_sample_rate(ob_stream_profile *profile, ob_error **error);
104
112 ob_accel_intrinsic ob_accel_stream_profile_get_intrinsic(ob_stream_profile *profile, ob_error **error);
113
121 ob_gyro_full_scale_range ob_gyro_stream_profile_full_scale_range(ob_stream_profile *profile, ob_error **error);
122
130 ob_gyro_intrinsic ob_gyro_stream_get_intrinsic(ob_stream_profile *profile, ob_error **error);
131
139 ob_gyro_sample_rate ob_gyro_stream_profile_sample_rate(ob_stream_profile *profile, ob_error **error);
140
153 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,
154 ob_error **error);
155
166 ob_stream_profile *ob_stream_profile_list_get_accel_stream_profile(ob_stream_profile_list *profile_list, ob_accel_full_scale_range fullScaleRange,
167 ob_accel_sample_rate sampleRate, ob_error **error);
168
179 ob_stream_profile *ob_stream_profile_list_get_gyro_stream_profile(ob_stream_profile_list *profile_list, ob_gyro_full_scale_range fullScaleRange,
180 ob_gyro_sample_rate sampleRate, ob_error **error);
181
190 ob_stream_profile *ob_stream_profile_list_get_profile(ob_stream_profile_list *profile_list, int index, ob_error **error);
191
199uint32_t ob_stream_profile_list_count(ob_stream_profile_list *profile_list, ob_error **error);
200
207 void ob_delete_stream_profile_list(ob_stream_profile_list *profile_list, ob_error **error);
208
215 void ob_delete_stream_profile(ob_stream_profile *profile, ob_error **error);
216
217#ifdef __cplusplus
218}
219#endif
ObTypes.h
Provide structs commonly used in the SDK, enumerating constant definitions.
ob_format
enum OBFormat ob_format
ob_gyro_sample_rate
enum OBGyroSampleRate ob_gyro_sample_rate
ob_gyro_full_scale_range
enum OBGyroFullScaleRange ob_gyro_full_scale_range
ob_stream_profile_list
struct StreamProfileListImpl ob_stream_profile_list
Definition ObTypes.h:62
ob_stream_type
enum OBStreamType ob_stream_type
ob_accel_sample_rate
enum OBGyroSampleRate ob_accel_sample_rate
ob_stream_profile
struct StreamProfileImpl ob_stream_profile
Definition ObTypes.h:61
ob_accel_full_scale_range
enum OBAccelFullScaleRange ob_accel_full_scale_range
ob_stream_profile_list_get_accel_stream_profile
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_list_get_gyro_stream_profile
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_list_get_video_stream_profile
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_profile_type
ob_stream_type ob_stream_profile_type(ob_stream_profile *profile, ob_error **error)
Get stream profile type.
ob_video_stream_get_distortion
ob_camera_distortion ob_video_stream_get_distortion(ob_stream_profile *profile, ob_error **error)
Get the distortion of the video stream.
ob_stream_profile_list_count
uint32_t ob_stream_profile_list_count(ob_stream_profile_list *profile_list, ob_error **error)
Get the number of StreamProfile lists.
ob_accel_stream_profile_get_intrinsic
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_stream_get_intrinsic
ob_gyro_intrinsic ob_gyro_stream_get_intrinsic(ob_stream_profile *profile, ob_error **error)
Get the intrinsic of the gyroscope stream.
ob_gyro_stream_profile_full_scale_range
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_stream_profile_get_extrinsic_to
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.
ob_video_stream_profile_height
uint32_t ob_video_stream_profile_height(ob_stream_profile *profile, ob_error **error)
Get the height of the video stream.
ob_accel_stream_profile_sample_rate
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_stream_profile_full_scale_range
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_video_stream_get_intrinsic
ob_camera_intrinsic ob_video_stream_get_intrinsic(ob_stream_profile *profile, ob_error **error)
Get the intrinsic of the video stream.
ob_gyro_stream_profile_sample_rate
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.
ob_video_stream_profile_width
uint32_t ob_video_stream_profile_width(ob_stream_profile *profile, ob_error **error)
Get the width of the video stream.
ob_delete_stream_profile_list
void ob_delete_stream_profile_list(ob_stream_profile_list *profile_list, ob_error **error)
Delete the stream profile list.
ob_stream_profile_list_get_profile
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.
ob_video_stream_profile_fps
uint32_t ob_video_stream_profile_fps(ob_stream_profile *profile, ob_error **error)
Get the frame rate of the video stream.
ob_stream_profile_format
ob_format ob_stream_profile_format(ob_stream_profile *profile, ob_error **error)
Get stream profile format.
ob_delete_stream_profile
void ob_delete_stream_profile(ob_stream_profile *profile, ob_error **error)
Delete the stream configuration.
OBAccelIntrinsic
Structure for accelerometer intrinsic parameters.
Definition ObTypes.h:392
OBCameraDistortion
Structure for distortion parameters.
Definition ObTypes.h:417
OBCameraIntrinsic
Structure for camera intrinsic parameters.
Definition ObTypes.h:380
OBD2CTransform
Structure for rotation/transformation.
Definition ObTypes.h:454
OBGyroIntrinsic
Structure for gyroscope intrinsic parameters.
Definition ObTypes.h:405
ob_error
The error class exposed by the SDK, users can get detailed error information according to the error.
Definition ObTypes.h:151