?代码如下,这样看起来比较一目了然。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25 |
typedef
struct tagHW_PRODUCT { int
Product; int
Lvch; int
Pbch; int
Audioch; int
Alarmch; int
Enc3di; int
Dec3di; int
Subcap; } HW_PRODUCT; HW_PRODUCT hw_product[] = { {PROTYPE_32CHN_8D1_16PB, 0,16, Audioch:16,16, Enc3di:1,0,0}, {PROTYPE_32CHN_32D1_16PB, 0,16, Audioch:16,16, Enc3di:0,1,0}, {PROTYPE_24CHN_960H_16PB, 0,16, Audioch:16,16, Enc3di:0,0,1}, {PROTYPE_24CHN_24D1_16PB, 0,16, Audioch:16,16, Enc3di:0,1,0}, {PROTYPE_16CHN_16D1_16PB, 0,16, Audioch:16,16, Enc3di:1,0,0}, {PROTYPE_16CHN_960H_16PB, 0,16, Audioch:16,16, Enc3di:0,0,1}, {PROTYPE_8CHN_1080P_8PB, 0,8, Audioch:8,8, Enc3di:0,0,1}, {PROTYPE_4CHN_1080P_4PB, 0,4, Audioch:4,4, Enc3di:0,0,1}, {PROTYPE_8CHN_720P_8PB, 0,8, Audioch:8,8, Enc3di:0,0,1}, {PROTYPE_4CHN_720P_4PB, 0,4, Audioch:4,4, Enc3di:0,0,1}, }; |
原文:http://www.cnblogs.com/freezlz/p/3560744.html