提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
7412dd
|
5 |
import static com.iailab.netsdk.lib.constant.SDKStructureFieldLenth.CFG_MAX_CAPTURE_SIZE_NUM; |
149dd0
|
6 |
|
H |
7 |
/** |
|
8 |
* 支持的视频分辨率细节 |
|
9 |
* 是 {@link NET_STREAM_CFG_CAPS#stuIndivResolutionTypes} 的第二维拆分数组 |
|
10 |
* |
|
11 |
* @author 47040 |
|
12 |
* @since Created at 2021/5/26 9:12 |
|
13 |
*/ |
|
14 |
public class NET_RESOLUTION_INFO_ARRAY extends NetSDKLib.SdkStructure { |
|
15 |
|
|
16 |
/** |
|
17 |
* 支持的视频分辨率 |
|
18 |
* 有效长度由 {@link NET_STREAM_CFG_CAPS#nIndivResolutionNums} 决定 |
|
19 |
* 其下标与 {@link NET_STREAM_CFG_CAPS#stuIndivResolutionTypes} 第一维数组精确匹配 |
|
20 |
*/ |
|
21 |
public NetSDKLib.NET_RESOLUTION_INFO[] stuIndivResolutions = new NetSDKLib.NET_RESOLUTION_INFO[CFG_MAX_CAPTURE_SIZE_NUM]; |
|
22 |
|
|
23 |
public NET_RESOLUTION_INFO_ARRAY() { |
|
24 |
for (int i = 0; i < stuIndivResolutions.length; i++) { |
|
25 |
stuIndivResolutions[i] = new NetSDKLib.NET_RESOLUTION_INFO(); |
|
26 |
} |
|
27 |
} |
|
28 |
|
|
29 |
} |