OrbbecSDK  1.0.0
StreamProfile.h
浏览该文件的文档.
1 
6 #pragma once
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include "ObTypes.h"
13 
21 uint32_t ob_stream_profile_fps( ob_stream_profile* profile, ob_error** error );
22 
30 uint32_t ob_stream_profile_width( ob_stream_profile* profile, ob_error** error );
31 
39 uint32_t ob_stream_profile_height( ob_stream_profile* profile, ob_error** error );
40 
48 ob_format ob_stream_profile_format( ob_stream_profile* profile, ob_error** error );
49 
57 ob_stream_type ob_stream_profile_type( ob_stream_profile* profile, ob_error** error );
58 
66 void ob_delete_stream_profiles( ob_stream_profile** profiles, uint32_t count, ob_error** error );
67 
74 void ob_delete_stream_profile( ob_stream_profile* profile, ob_error** error );
75 
76 #ifdef __cplusplus
77 }
78 #endif
提供SDK常用的的结构体、枚举常量定义。
ob_format ob_stream_profile_format(ob_stream_profile *profile, ob_error **error)
获取流配置的格式
uint32_t ob_stream_profile_fps(ob_stream_profile *profile, ob_error **error)
获取流配置的帧率
ob_stream_type ob_stream_profile_type(ob_stream_profile *profile, ob_error **error)
获取流的类型
void ob_delete_stream_profiles(ob_stream_profile **profiles, uint32_t count, ob_error **error)
删除流配置列表
uint32_t ob_stream_profile_height(ob_stream_profile *profile, ob_error **error)
获取流配置的高
ob_stream_type
描述数据流类型的枚举值
Definition: ObTypes.h:353
void ob_delete_stream_profile(ob_stream_profile *profile, ob_error **error)
删除流配置
ob_format
描述像素格式的枚举值
Definition: ObTypes.h:381
uint32_t ob_stream_profile_width(ob_stream_profile *profile, ob_error **error)
获取流配置的宽
SDK的对外暴露的错误类,用户可以根据该错误类,获取详细的错误信息 ob_status: 描述错误的状态码,作为兼容...
Definition: ObTypes.h:329