OrbbecSDK  1.5.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices
StreamProfile.h
Go to the documentation of this file.
1 
11 #pragma once
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 #include "ObTypes.h"
18 
35 
52 
68 uint32_t ob_video_stream_profile_fps(ob_stream_profile *profile, ob_error **error);
69 
85 uint32_t ob_video_stream_profile_width(ob_stream_profile *profile, ob_error **error);
86 
102 uint32_t ob_video_stream_profile_height(ob_stream_profile *profile, ob_error **error);
103 
120 
137 
154 
171 
196 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,
197  ob_error **error);
198 
217 
233 uint32_t ob_stream_profile_list_count(ob_stream_profile_list *profile_list, ob_error **error);
234 
249 
263 void ob_delete_stream_profile(ob_stream_profile *profile, ob_error **error);
264 
265 #ifdef __cplusplus
266 }
267 #endif
enum OBGyroSampleRate ob_accel_sample_rate
ob_gyro_full_scale_range ob_gyro_stream_profile_full_scale_range(ob_stream_profile *profile, ob_error **error)
Get scale range of gyroscope stream.
enum OBGyroSampleRate ob_gyro_sample_rate
struct StreamProfileListImpl ob_stream_profile_list
Definition: ObTypes.h:55
uint32_t ob_stream_profile_list_count(ob_stream_profile_list *profile_list, ob_error **error)
Get the number of StreamProfile lists.
enum OBAccelFullScaleRange ob_accel_full_scale_range
enum OBStreamType ob_stream_type
ob_accel_sample_rate ob_accel_stream_profile_sample_rate(ob_stream_profile *profile, ob_error **error)
Get 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 scale range of accelerometer stream.
uint32_t ob_video_stream_profile_height(ob_stream_profile *profile, ob_error **error)
Get the height of the video stream configuration.
Provide structs commonly used in the SDK, enumerating constant definitions.
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 configuration.
void ob_delete_stream_profile_list(ob_stream_profile_list *profile_list, ob_error **error)
Delete stream configuration list.
ob_format ob_stream_profile_format(ob_stream_profile *profile, ob_error **error)
Get stream profile format.
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...
struct StreamProfileImpl ob_stream_profile
Definition: ObTypes.h:54
void ob_delete_stream_profile(ob_stream_profile *profile, ob_error **error)
Delete stream configuration.
ob_stream_type ob_stream_profile_type(ob_stream_profile *profile, ob_error **error)
Get stream profile type.
ob_gyro_sample_rate ob_gyro_stream_profile_sample_rate(ob_stream_profile *profile, ob_error **error)
Get the sampling frequency of the gyro flow configuration.
enum OBFormat ob_format
enum OBGyroFullScaleRange ob_gyro_full_scale_range
uint32_t ob_video_stream_profile_width(ob_stream_profile *profile, ob_error **error)
Get the width of the video stream configuration.
The error class exposed by the SDK, users can get detailed error information according to the erro...
Definition: ObTypes.h:142