Mercurial > pt1.oyama
comparison src/pt1_dev.h @ 124:9c7bc6c0327e
Add DLNA server function test. (from uShare project)
author | naoyan@johnstown.minaminoshima.org |
---|---|
date | Wed, 29 Sep 2010 23:18:55 +0900 |
parents | recpt1/pt1_dev.h@aeba1988234f |
children | 0db6ccf0fe31 |
comparison
equal
deleted
inserted
replaced
123:215a51fa3df3 | 124:9c7bc6c0327e |
---|---|
1 /* -*- tab-width: 4; indent-tabs-mode: nil -*- */ | |
2 #ifndef _PT1_DEV_H_ | |
3 #define _PT1_DEV_H_ | |
4 | |
5 char *bsdev[NUM_BSDEV] = { | |
6 "/dev/pt1video1", | |
7 "/dev/pt1video0", | |
8 "/dev/pt1video5", | |
9 "/dev/pt1video4", | |
10 "/dev/pt1video9", | |
11 "/dev/pt1video8", | |
12 "/dev/pt1video13", | |
13 "/dev/pt1video12" | |
14 }; | |
15 char *isdb_t_dev[NUM_ISDB_T_DEV] = { | |
16 "/dev/pt1video2", | |
17 "/dev/pt1video3", | |
18 "/dev/pt1video6", | |
19 "/dev/pt1video7", | |
20 "/dev/pt1video10", | |
21 "/dev/pt1video11", | |
22 "/dev/pt1video14", | |
23 "/dev/pt1video15" | |
24 }; | |
25 | |
26 // 変換テーブル(ISDB-T用) | |
27 // 実際にioctl()を行う値の部分はREADMEを参照の事。 | |
28 // BS/CSの設定値およびスロット番号は | |
29 // http://www5e.biglobe.ne.jp/~kazu_f/digital-sat/index.htmlより取得。 | |
30 // | |
31 | |
32 ISDB_T_FREQ_CONV_TABLE isdb_t_conv_table[] = { | |
33 { 0, CHTYPE_SATELLITE, 0, "151"}, /* 151ch:BS朝日 */ | |
34 { 0, CHTYPE_SATELLITE, 1, "161"}, /* 161ch:BS-TBS */ | |
35 { 1, CHTYPE_SATELLITE, 0, "191"}, /* 191ch:WOWOW */ | |
36 { 1, CHTYPE_SATELLITE, 0, "192"}, /* 192ch:WOWOW2 */ | |
37 { 1, CHTYPE_SATELLITE, 0, "193"}, /* 193ch:WOWOW3 */ | |
38 { 1, CHTYPE_SATELLITE, 1, "171"}, /* 171ch:BSジャパン */ | |
39 { 4, CHTYPE_SATELLITE, 0, "211"}, /* 211ch:BS11デジタル */ | |
40 { 4, CHTYPE_SATELLITE, 1, "200"}, /* 200ch:スターチャンネル */ | |
41 { 4, CHTYPE_SATELLITE, 2, "222"}, /* 222ch:TwellV */ | |
42 { 6, CHTYPE_SATELLITE, 0, "141"}, /* 141ch:BS日テレ */ | |
43 { 6, CHTYPE_SATELLITE, 1, "181"}, /* 181ch:BSフジ */ | |
44 { 7, CHTYPE_SATELLITE, 0, "101"}, /* 101ch:NHK衛星第1放送(BS1) */ | |
45 { 7, CHTYPE_SATELLITE, 0, "102"}, /* 102ch:NHK衛星第2放送(BS2) */ | |
46 { 7, CHTYPE_SATELLITE, 1, "103"}, /* 103ch:NHKハイビジョン(BShi) */ | |
47 { 7, CHTYPE_SATELLITE, 1, "104"}, /* 104ch:NHKハイビジョン(BShi)臨時*/ | |
48 { 12, CHTYPE_SATELLITE, 0, "CS2"}, /* ND2: | |
49 * 237ch:スター・チャンネル プラス | |
50 * 239ch:日本映画専門チャンネルHD | |
51 * 306ch:フジテレビCSHD */ | |
52 { 13, CHTYPE_SATELLITE, 0, "CS4"}, /* ND4: | |
53 * 100ch:e2プロモ | |
54 * 256ch:J sports ESPN | |
55 * 312ch:FOX | |
56 * 322ch:スペースシャワーTV | |
57 * 331ch:カートゥーンネットワーク | |
58 * 194ch:インターローカルTV | |
59 * 334ch:トゥーン・ディズニー */ | |
60 { 14, CHTYPE_SATELLITE, 0, "CS6"}, /* ND6: | |
61 * 221ch:東映チャンネル | |
62 * 222ch:衛星劇場 | |
63 * 223ch:チャンネルNECO | |
64 * 224ch:洋画★シネフィル・イマジカ | |
65 * 292ch:時代劇専門チャンネル | |
66 * 238ch:スター・チャンネル クラシック | |
67 * 310ch:スーパー!ドラマTV | |
68 * 311ch:AXN | |
69 * 343ch:ナショナルジオグラフィックチャンネル */ | |
70 | |
71 { 15, CHTYPE_SATELLITE, 0, "CS8"}, /* ND8: | |
72 * 055ch:ショップ チャンネル */ | |
73 { 16, CHTYPE_SATELLITE, 0, "CS10"}, /* ND10: | |
74 * 228ch:ザ・シネマ | |
75 * 800ch:スカチャンHD800 | |
76 * 801ch:スカチャン801 | |
77 * 802ch:スカチャン802 */ | |
78 { 17, CHTYPE_SATELLITE, 0, "CS12"}, /* ND12: | |
79 * 260ch:ザ・ゴルフ・チャンネル | |
80 * 303ch:テレ朝チャンネル | |
81 * 323ch:MTV 324ch:大人の音楽専門TV◆ミュージック・エア | |
82 * 352ch:朝日ニュースター | |
83 * 353ch:BBCワールドニュース | |
84 * 354ch:CNNj | |
85 * 361ch:ジャスト・アイ インフォメーション */ | |
86 { 18, CHTYPE_SATELLITE, 0, "CS14"}, /* ND14: | |
87 * 251ch:J sports 1 | |
88 * 252ch:J sports 2 | |
89 * 253ch:J sports Plus | |
90 * 254ch:GAORA | |
91 * 255ch:スカイ・Asports+ */ | |
92 { 19, CHTYPE_SATELLITE, 0, "CS16"}, /* ND16: | |
93 * 305ch:チャンネル銀河 | |
94 * 333ch:アニメシアターX(AT-X) | |
95 * 342ch:ヒストリーチャンネル | |
96 * 290ch:TAKARAZUKA SKYSTAGE | |
97 * 803ch:スカチャン803 | |
98 * 804ch:スカチャン804 */ | |
99 { 20, CHTYPE_SATELLITE, 0, "CS18"}, /* ND18: | |
100 * 240ch:ムービープラスHD | |
101 * 262ch:ゴルフネットワーク | |
102 * 314ch:LaLa HDHV */ | |
103 { 21, CHTYPE_SATELLITE, 0, "CS20"}, /* ND20: | |
104 * 258ch:フジテレビ739 | |
105 * 302ch:フジテレビ721 | |
106 * 332ch:アニマックス | |
107 * 340ch:ディスカバリーチャンネル | |
108 * 341ch:アニマルプラネット */ | |
109 { 22, CHTYPE_SATELLITE, 0, "CS22"}, /* ND22: | |
110 * 160ch:C-TBSウェルカムチャンネル | |
111 * 161ch:QVC | |
112 * 185ch:プライム365.TV | |
113 * 293ch:ファミリー劇場 | |
114 * 301ch:TBSチャンネル | |
115 * 304ch:ディズニー・チャンネル | |
116 * 325ch:MUSIC ON! TV | |
117 * 330ch:キッズステーション | |
118 * 351ch:TBSニュースバード */ | |
119 { 23, CHTYPE_SATELLITE, 0, "CS24"}, /* ND24: | |
120 * 257ch:日テレG+ | |
121 * 291ch:fashiontv | |
122 * 300ch:日テレプラス | |
123 * 320ch:安らぎの音楽と風景/エコミュージックTV | |
124 * 321ch:MusicJapan TV | |
125 * 350ch:日テレNEWS24 */ | |
126 { 0, CHTYPE_GROUND, 0, "1"}, { 1, CHTYPE_GROUND, 0, "2"}, | |
127 { 2, CHTYPE_GROUND, 0, "3"}, { 3, CHTYPE_GROUND, 0, "C13"}, | |
128 { 4, CHTYPE_GROUND, 0, "C14"}, { 5, CHTYPE_GROUND, 0, "C15"}, | |
129 { 6, CHTYPE_GROUND, 0, "C16"}, { 7, CHTYPE_GROUND, 0, "C17"}, | |
130 { 8, CHTYPE_GROUND, 0, "C18"}, { 9, CHTYPE_GROUND, 0, "C19"}, | |
131 { 10, CHTYPE_GROUND, 0, "C20"}, { 11, CHTYPE_GROUND, 0, "C21"}, | |
132 { 12, CHTYPE_GROUND, 0, "C22"}, { 13, CHTYPE_GROUND, 0, "4"}, | |
133 { 14, CHTYPE_GROUND, 0, "5"}, { 15, CHTYPE_GROUND, 0, "6"}, | |
134 { 16, CHTYPE_GROUND, 0, "7"}, { 17, CHTYPE_GROUND, 0, "8"}, | |
135 { 18, CHTYPE_GROUND, 0, "9"}, { 19, CHTYPE_GROUND, 0, "10"}, | |
136 { 20, CHTYPE_GROUND, 0, "11"}, { 21, CHTYPE_GROUND, 0, "12"}, | |
137 { 22, CHTYPE_GROUND, 0, "C23"}, { 23, CHTYPE_GROUND, 0, "C24"}, | |
138 { 24, CHTYPE_GROUND, 0, "C25"}, { 25, CHTYPE_GROUND, 0, "C26"}, | |
139 { 26, CHTYPE_GROUND, 0, "C27"}, { 27, CHTYPE_GROUND, 0, "C28"}, | |
140 { 28, CHTYPE_GROUND, 0, "C29"}, { 29, CHTYPE_GROUND, 0, "C30"}, | |
141 { 30, CHTYPE_GROUND, 0, "C31"}, { 31, CHTYPE_GROUND, 0, "C32"}, | |
142 { 32, CHTYPE_GROUND, 0, "C33"}, { 33, CHTYPE_GROUND, 0, "C34"}, | |
143 { 34, CHTYPE_GROUND, 0, "C35"}, { 35, CHTYPE_GROUND, 0, "C36"}, | |
144 { 36, CHTYPE_GROUND, 0, "C37"}, { 37, CHTYPE_GROUND, 0, "C38"}, | |
145 { 38, CHTYPE_GROUND, 0, "C39"}, { 39, CHTYPE_GROUND, 0, "C40"}, | |
146 { 40, CHTYPE_GROUND, 0, "C41"}, { 41, CHTYPE_GROUND, 0, "C42"}, | |
147 { 42, CHTYPE_GROUND, 0, "C43"}, { 43, CHTYPE_GROUND, 0, "C44"}, | |
148 { 44, CHTYPE_GROUND, 0, "C45"}, { 45, CHTYPE_GROUND, 0, "C46"}, | |
149 { 46, CHTYPE_GROUND, 0, "C47"}, { 47, CHTYPE_GROUND, 0, "C48"}, | |
150 { 48, CHTYPE_GROUND, 0, "C49"}, { 49, CHTYPE_GROUND, 0, "C50"}, | |
151 { 50, CHTYPE_GROUND, 0, "C51"}, { 51, CHTYPE_GROUND, 0, "C52"}, | |
152 { 52, CHTYPE_GROUND, 0, "C53"}, { 53, CHTYPE_GROUND, 0, "C54"}, | |
153 { 54, CHTYPE_GROUND, 0, "C55"}, { 55, CHTYPE_GROUND, 0, "C56"}, | |
154 { 56, CHTYPE_GROUND, 0, "C57"}, { 57, CHTYPE_GROUND, 0, "C58"}, | |
155 { 58, CHTYPE_GROUND, 0, "C59"}, { 59, CHTYPE_GROUND, 0, "C60"}, | |
156 { 60, CHTYPE_GROUND, 0, "C61"}, { 61, CHTYPE_GROUND, 0, "C62"}, | |
157 { 62, CHTYPE_GROUND, 0, "C63"}, { 63, CHTYPE_GROUND, 0, "13"}, | |
158 { 64, CHTYPE_GROUND, 0, "14"}, { 65, CHTYPE_GROUND, 0, "15"}, | |
159 { 66, CHTYPE_GROUND, 0, "16"}, { 67, CHTYPE_GROUND, 0, "17"}, | |
160 { 68, CHTYPE_GROUND, 0, "18"}, { 69, CHTYPE_GROUND, 0, "19"}, | |
161 { 70, CHTYPE_GROUND, 0, "20"}, { 71, CHTYPE_GROUND, 0, "21"}, | |
162 { 72, CHTYPE_GROUND, 0, "22"}, { 73, CHTYPE_GROUND, 0, "23"}, | |
163 { 74, CHTYPE_GROUND, 0, "24"}, { 75, CHTYPE_GROUND, 0, "25"}, | |
164 { 76, CHTYPE_GROUND, 0, "26"}, { 77, CHTYPE_GROUND, 0, "27"}, | |
165 { 78, CHTYPE_GROUND, 0, "28"}, { 79, CHTYPE_GROUND, 0, "29"}, | |
166 { 80, CHTYPE_GROUND, 0, "30"}, { 81, CHTYPE_GROUND, 0, "31"}, | |
167 { 82, CHTYPE_GROUND, 0, "32"}, { 83, CHTYPE_GROUND, 0, "33"}, | |
168 { 84, CHTYPE_GROUND, 0, "34"}, { 85, CHTYPE_GROUND, 0, "35"}, | |
169 { 86, CHTYPE_GROUND, 0, "36"}, { 87, CHTYPE_GROUND, 0, "37"}, | |
170 { 88, CHTYPE_GROUND, 0, "38"}, { 89, CHTYPE_GROUND, 0, "39"}, | |
171 { 90, CHTYPE_GROUND, 0, "40"}, { 91, CHTYPE_GROUND, 0, "41"}, | |
172 { 92, CHTYPE_GROUND, 0, "42"}, { 93, CHTYPE_GROUND, 0, "43"}, | |
173 { 94, CHTYPE_GROUND, 0, "44"}, { 95, CHTYPE_GROUND, 0, "45"}, | |
174 { 96, CHTYPE_GROUND, 0, "46"}, { 97, CHTYPE_GROUND, 0, "47"}, | |
175 { 98, CHTYPE_GROUND, 0, "48"}, { 99, CHTYPE_GROUND, 0, "49"}, | |
176 { 100, CHTYPE_GROUND, 0, "50"}, { 101, CHTYPE_GROUND, 0, "51"}, | |
177 { 102, CHTYPE_GROUND, 0, "52"}, { 103, CHTYPE_GROUND, 0, "53"}, | |
178 { 104, CHTYPE_GROUND, 0, "54"}, { 105, CHTYPE_GROUND, 0, "55"}, | |
179 { 106, CHTYPE_GROUND, 0, "56"}, { 107, CHTYPE_GROUND, 0, "57"}, | |
180 { 108, CHTYPE_GROUND, 0, "58"}, { 109, CHTYPE_GROUND, 0, "59"}, | |
181 { 110, CHTYPE_GROUND, 0, "60"}, { 111, CHTYPE_GROUND, 0, "61"}, | |
182 { 112, CHTYPE_GROUND, 0, "62"}, | |
183 { 0, 0, 0, NULL} /* terminate */ | |
184 }; | |
185 #endif |