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