OrbbecSDK  1.0.0
函数
StreamProfile.h 文件参考

流配置相关函数,用于获取流的宽、高、帧率及格式等信息 更多...

#include "ObTypes.h"
StreamProfile.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

函数

uint32_t ob_stream_profile_fps (ob_stream_profile *profile, ob_error **error)
 获取流配置的帧率 更多...
 
uint32_t ob_stream_profile_width (ob_stream_profile *profile, ob_error **error)
 获取流配置的宽 更多...
 
uint32_t ob_stream_profile_height (ob_stream_profile *profile, ob_error **error)
 获取流配置的高 更多...
 
ob_format ob_stream_profile_format (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)
 删除流配置列表 更多...
 
void ob_delete_stream_profile (ob_stream_profile *profile, ob_error **error)
 删除流配置 更多...
 

详细描述

流配置相关函数,用于获取流的宽、高、帧率及格式等信息

在文件 StreamProfile.h 中定义.

函数说明

void ob_delete_stream_profile ( ob_stream_profile *  profile,
ob_error **  error 
)

删除流配置

参数
[in]profile流配置对象
[out]error记录错误信息
void ob_delete_stream_profiles ( ob_stream_profile **  profiles,
uint32_t  count,
ob_error **  error 
)

删除流配置列表

参数
[in]profiles流配置列表
[in]count流配置数量
[out]error记录错误信息
ob_format ob_stream_profile_format ( ob_stream_profile *  profile,
ob_error **  error 
)

获取流配置的格式

参数
[in]profile流配置对象
[out]error记录错误信息
返回
ob_format 返回流的格式
uint32_t ob_stream_profile_fps ( ob_stream_profile *  profile,
ob_error **  error 
)

获取流配置的帧率

参数
[in]profile流配置对象
[out]error记录错误信息
返回
uint32_t 返回流的帧率
uint32_t ob_stream_profile_height ( ob_stream_profile *  profile,
ob_error **  error 
)

获取流配置的高

参数
[in]profile流配置对象
[out]error记录错误信息
返回
uint32_t 返回流的高
ob_stream_type ob_stream_profile_type ( ob_stream_profile *  profile,
ob_error **  error 
)

获取流的类型

参数
[in]profile流配置对象
[out]error记录错误信息
返回
ob_stream_type 流的类型
uint32_t ob_stream_profile_width ( ob_stream_profile *  profile,
ob_error **  error 
)

获取流配置的宽

参数
[in]profile流配置对象
[out]error记录错误信息
返回
uint32_t 返回流的宽