OrbbecSDK  1.5.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices
StreamProfile.h
浏览该文件的文档.
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)
获取陀螺仪流配置的量程范围
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)
获取StreamProfile列表的数量
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)
获取加速度计流配置的采样频率
ob_accel_full_scale_range ob_accel_stream_profile_full_scale_range(ob_stream_profile *profile, ob_error **error)
获取加速度计流配置的量程范围
uint32_t ob_video_stream_profile_height(ob_stream_profile *profile, ob_error **error)
获取视频流配置的高
提供 SDK 常用的结构体、枚举常量定义。
ob_stream_profile * ob_stream_profile_list_get_profile(ob_stream_profile_list *profile_list, int index, ob_error **error)
通过下标获取对应的StreamProfile
uint32_t ob_video_stream_profile_fps(ob_stream_profile *profile, ob_error **error)
获取视频流配置的帧率
void ob_delete_stream_profile_list(ob_stream_profile_list *profile_list, ob_error **error)
删除流配置列表
ob_format ob_stream_profile_format(ob_stream_profile *profile, ob_error **error)
获取流配置的格式
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)
通过传入的参数进行匹配对应的ob_stream_profile。若有多个匹配项默认返回列表中的第一个, 若未找打匹配的项,则返回错误。
struct StreamProfileImpl ob_stream_profile
Definition: ObTypes.h:54
void ob_delete_stream_profile(ob_stream_profile *profile, ob_error **error)
删除流配置
ob_stream_type ob_stream_profile_type(ob_stream_profile *profile, ob_error **error)
获取流的类型
ob_gyro_sample_rate ob_gyro_stream_profile_sample_rate(ob_stream_profile *profile, ob_error **error)
获取陀螺仪流配置的采样频率
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)
获取视频流配置的宽
SDK 的对外暴露的错误类,用户可以根据该错误类,获取详细的错误信息
Definition: ObTypes.h:142