annotate recpt1/recpt1.h @ 45:05424917a022

add a rule to install an udev rule file
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sun, 19 Jul 2009 03:07:46 +0900
parents f25820d90249
children 33c899c6cc9d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
1 #ifndef _RECPT1_H_
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
2 #define _RECPT1_H_
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
3
32
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
4 #define NUM_BSDEV 4
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
5 #define NUM_ISDB_T_DEV 4
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
6
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
7 char *bsdev[NUM_BSDEV] = {
18
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
8 "/dev/pt1video1",
32
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
9 "/dev/pt1video0",
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
10 "/dev/pt1video5",
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
11 "/dev/pt1video4"
1
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
12 };
32
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
13 char *isdb_t_dev[NUM_ISDB_T_DEV] = {
18
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
14 "/dev/pt1video2",
33
f25820d90249 make recpt1 try other tuner devices when it fails to tune a tuner to the specified channel.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 32
diff changeset
15 "/dev/pt1video3",
32
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
16 "/dev/pt1video6",
6004fe4f37f9 adapted to use of multiple number of pt1:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 18
diff changeset
17 "/dev/pt1video7"
1
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
18 };
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
19
18
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
20 #define CHTYPE_SATELLITE 0 /* satellite digital */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
21 #define CHTYPE_GROUND 1 /* terrestrial digital */
11
4615eaf04415 support signal strength calculation.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 6
diff changeset
22 #define MAX_QUEUE 8192
4615eaf04415 support signal strength calculation.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 6
diff changeset
23 #define MAX_READ_SIZE (1024 * 16)
4615eaf04415 support signal strength calculation.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 6
diff changeset
24 #define WRITE_SIZE (1024 * 1024 * 2)
4615eaf04415 support signal strength calculation.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 6
diff changeset
25 #define TRUE 1
4615eaf04415 support signal strength calculation.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 6
diff changeset
26 #define FALSE 0
1
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
27
4
43d177fa65c9 fixed indentation
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 3
diff changeset
28 typedef struct _BUFSZ {
6
d898fd27547f cleanups
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 5
diff changeset
29 int size;
4
43d177fa65c9 fixed indentation
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 3
diff changeset
30 u_char buffer[MAX_READ_SIZE];
3
6801fe7e04ff updated to ariv25v023
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 2
diff changeset
31 } BUFSZ;
1
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
32
4
43d177fa65c9 fixed indentation
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 3
diff changeset
33 typedef struct _QUEUE_T {
18
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
34 unsigned int in; // 次に入れるインデックス
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
35 unsigned int out; // 次に出すインデックス
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
36 unsigned int size; // キューのサイズ
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
37 unsigned int num_avail; // 満タンになると 0 になる
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
38 unsigned int num_used; // 空っぽになると 0 になる
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
39 pthread_mutex_t mutex;
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
40 pthread_cond_t cond_avail; // データが満タンのときに待つための cond
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
41 pthread_cond_t cond_used; // データが空のときに待つための cond
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
42 BUFSZ *buffer[1]; // バッファポインタ
3
6801fe7e04ff updated to ariv25v023
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 2
diff changeset
43 } QUEUE_T;
1
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
44
4
43d177fa65c9 fixed indentation
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 3
diff changeset
45 typedef struct _ISDB_T_FREQ_CONV_TABLE {
18
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
46 int set_freq; // 実際にioctl()を行う値
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
47 int type; // チャンネルタイプ
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
48 int add_freq; // 追加する周波数(BS/CSの場合はスロット番号)
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
49 char *parm_freq; // パラメータで受ける値
3
6801fe7e04ff updated to ariv25v023
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 2
diff changeset
50 } ISDB_T_FREQ_CONV_TABLE;
1
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
51
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
52 // 変換テーブル(ISDB-T用)
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
53 // 実際にioctl()を行う値の部分はREADMEを参照の事。
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
54 // BS/CSの設定値およびスロット番号は
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
55 // http://www5e.biglobe.ne.jp/~kazu_f/digital-sat/index.htmlより取得。
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
56 //
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
57
18
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
58 ISDB_T_FREQ_CONV_TABLE isdb_t_conv_table[] = {
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
59 { 0, CHTYPE_SATELLITE, 0, "151"}, /* 151ch:BS朝日 */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
60 { 0, CHTYPE_SATELLITE, 1, "161"}, /* 161ch:BS-i */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
61 { 1, CHTYPE_SATELLITE, 0, "191"}, /* 191ch:WOWOW */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
62 { 1, CHTYPE_SATELLITE, 1, "171"}, /* 171ch:BSジャパン */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
63 { 4, CHTYPE_SATELLITE, 0, "211"}, /* 211ch:BS11デジタル */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
64 { 4, CHTYPE_SATELLITE, 1, "200"}, /* 200ch:スターチャンネル */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
65 { 4, CHTYPE_SATELLITE, 2, "222"}, /* 222ch:TwellV */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
66 { 6, CHTYPE_SATELLITE, 0, "141"}, /* 141ch:BS日テレ */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
67 { 6, CHTYPE_SATELLITE, 1, "181"}, /* 181ch:BSフジ */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
68 { 7, CHTYPE_SATELLITE, 0, "101"}, /* 101ch:NHK衛星第1放送(BS1) */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
69 { 7, CHTYPE_SATELLITE, 0, "102"}, /* 102ch:NHK衛星第2放送(BS2) */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
70 { 7, CHTYPE_SATELLITE, 1, "103"}, /* 103ch:NHKハイビジョン(BShi) */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
71 { 12, CHTYPE_SATELLITE, 0, "CS2"}, /* ND2:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
72 * 237ch:スター・チャンネル プラス
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
73 * 239ch:日本映画専門チャンネルHD
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
74 * 306ch:フジテレビCSHD */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
75 { 13, CHTYPE_SATELLITE, 0, "CS4"}, /* ND4:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
76 * 100ch:e2プロモ
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
77 * 256ch:J sports ESPN
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
78 * 312ch:FOX
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
79 * 322ch:スペースシャワーTV
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
80 * 331ch:カートゥーンネットワーク
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
81 * 194ch:インターローカルTV
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
82 * 334ch:トゥーン・ディズニー */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
83 { 14, CHTYPE_SATELLITE, 0, "CS6"}, /* ND6:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
84 * 221ch:東映チャンネル
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
85 * 222ch:衛星劇場
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
86 * 223ch:チャンネルNECO
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
87 * 224ch:洋画★シネフィル・イマジカ
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
88 * 292ch:時代劇専門チャンネル
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
89 * 238ch:スター・チャンネル クラシック
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
90 * 310ch:スーパー!ドラマTV
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
91 * 311ch:AXN
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
92 * 343ch:ナショナルジオグラフィックチャンネル */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
93
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
94 { 15, CHTYPE_SATELLITE, 0, "CS8"}, /* ND8:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
95 * 055ch:ショップ チャンネル */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
96 { 16, CHTYPE_SATELLITE, 0, "CS10"}, /* ND10:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
97 * 228ch:ザ・シネマ
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
98 * 800ch:スカチャンHD800
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
99 * 801ch:スカチャン801
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
100 * 802ch:スカチャン802 */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
101 { 17, CHTYPE_SATELLITE, 0, "CS12"}, /* ND12:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
102 * 260ch:ザ・ゴルフ・チャンネル
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
103 * 303ch:テレ朝チャンネル
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
104 * 323ch:MTV 324ch:大人の音楽専門TV◆ミュージック・エア
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
105 * 352ch:朝日ニュースター
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
106 * 353ch:BBCワールドニュース
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
107 * 354ch:CNNj
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
108 * 361ch:ジャスト・アイ インフォメーション */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
109 { 18, CHTYPE_SATELLITE, 0, "CS14"}, /* ND14:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
110 * 251ch:J sports 1
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
111 * 252ch:J sports 2
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
112 * 253ch:J sports Plus
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
113 * 254ch:GAORA
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
114 * 255ch:スカイ・Asports+ */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
115 { 19, CHTYPE_SATELLITE, 0, "CS16"}, /* ND16:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
116 * 305ch:チャンネル銀河
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
117 * 333ch:アニメシアターX(AT-X)
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
118 * 342ch:ヒストリーチャンネル
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
119 * 290ch:TAKARAZUKA SKYSTAGE
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
120 * 803ch:スカチャン803
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
121 * 804ch:スカチャン804 */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
122 { 20, CHTYPE_SATELLITE, 0, "CS18"}, /* ND18:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
123 * 240ch:ムービープラスHD
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
124 * 262ch:ゴルフネットワーク
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
125 * 314ch:LaLa HDHV */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
126 { 21, CHTYPE_SATELLITE, 0, "CS20"}, /* ND20:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
127 * 258ch:フジテレビ739
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
128 * 302ch:フジテレビ721
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
129 * 332ch:アニマックス
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
130 * 340ch:ディスカバリーチャンネル
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
131 * 341ch:アニマルプラネット */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
132 { 22, CHTYPE_SATELLITE, 0, "CS22"}, /* ND22:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
133 * 160ch:C-TBSウェルカムチャンネル
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
134 * 161ch:QVC
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
135 * 185ch:プライム365.TV
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
136 * 293ch:ファミリー劇場
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
137 * 301ch:TBSチャンネル
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
138 * 304ch:ディズニー・チャンネル
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
139 * 325ch:MUSIC ON! TV
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
140 * 330ch:キッズステーション
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
141 * 351ch:TBSニュースバード */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
142 { 23, CHTYPE_SATELLITE, 0, "CS24"}, /* ND24:
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
143 * 257ch:日テレG+
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
144 * 291ch:fashiontv
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
145 * 300ch:日テレプラス
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
146 * 320ch:安らぎの音楽と風景/エコミュージックTV
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
147 * 321ch:MusicJapan TV
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
148 * 350ch:日テレNEWS24 */
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
149 { 0, CHTYPE_GROUND, 0, "1"}, { 1, CHTYPE_GROUND, 0, "2"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
150 { 2, CHTYPE_GROUND, 0, "3"}, { 3, CHTYPE_GROUND, 0, "C13"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
151 { 4, CHTYPE_GROUND, 0, "C14"}, { 5, CHTYPE_GROUND, 0, "C15"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
152 { 6, CHTYPE_GROUND, 0, "C16"}, { 7, CHTYPE_GROUND, 0, "C17"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
153 { 8, CHTYPE_GROUND, 0, "C18"}, { 9, CHTYPE_GROUND, 0, "C19"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
154 { 10, CHTYPE_GROUND, 0, "C20"}, { 11, CHTYPE_GROUND, 0, "C21"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
155 { 12, CHTYPE_GROUND, 0, "C22"}, { 13, CHTYPE_GROUND, 0, "4"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
156 { 14, CHTYPE_GROUND, 0, "5"}, { 15, CHTYPE_GROUND, 0, "6"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
157 { 16, CHTYPE_GROUND, 0, "7"}, { 17, CHTYPE_GROUND, 0, "8"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
158 { 18, CHTYPE_GROUND, 0, "9"}, { 19, CHTYPE_GROUND, 0, "10"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
159 { 20, CHTYPE_GROUND, 0, "11"}, { 21, CHTYPE_GROUND, 0, "12"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
160 { 22, CHTYPE_GROUND, 0, "C23"}, { 23, CHTYPE_GROUND, 0, "C24"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
161 { 24, CHTYPE_GROUND, 0, "C25"}, { 25, CHTYPE_GROUND, 0, "C26"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
162 { 26, CHTYPE_GROUND, 0, "C27"}, { 27, CHTYPE_GROUND, 0, "C28"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
163 { 28, CHTYPE_GROUND, 0, "C29"}, { 29, CHTYPE_GROUND, 0, "C30"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
164 { 30, CHTYPE_GROUND, 0, "C31"}, { 31, CHTYPE_GROUND, 0, "C32"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
165 { 32, CHTYPE_GROUND, 0, "C33"}, { 33, CHTYPE_GROUND, 0, "C34"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
166 { 34, CHTYPE_GROUND, 0, "C35"}, { 35, CHTYPE_GROUND, 0, "C36"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
167 { 36, CHTYPE_GROUND, 0, "C37"}, { 37, CHTYPE_GROUND, 0, "C38"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
168 { 38, CHTYPE_GROUND, 0, "C39"}, { 39, CHTYPE_GROUND, 0, "C40"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
169 { 40, CHTYPE_GROUND, 0, "C41"}, { 41, CHTYPE_GROUND, 0, "C42"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
170 { 42, CHTYPE_GROUND, 0, "C43"}, { 43, CHTYPE_GROUND, 0, "C44"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
171 { 44, CHTYPE_GROUND, 0, "C45"}, { 45, CHTYPE_GROUND, 0, "C46"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
172 { 46, CHTYPE_GROUND, 0, "C47"}, { 47, CHTYPE_GROUND, 0, "C48"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
173 { 48, CHTYPE_GROUND, 0, "C49"}, { 49, CHTYPE_GROUND, 0, "C50"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
174 { 50, CHTYPE_GROUND, 0, "C51"}, { 51, CHTYPE_GROUND, 0, "C52"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
175 { 52, CHTYPE_GROUND, 0, "C53"}, { 53, CHTYPE_GROUND, 0, "C54"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
176 { 54, CHTYPE_GROUND, 0, "C55"}, { 55, CHTYPE_GROUND, 0, "C56"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
177 { 56, CHTYPE_GROUND, 0, "C57"}, { 57, CHTYPE_GROUND, 0, "C58"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
178 { 58, CHTYPE_GROUND, 0, "C59"}, { 59, CHTYPE_GROUND, 0, "C60"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
179 { 60, CHTYPE_GROUND, 0, "C61"}, { 61, CHTYPE_GROUND, 0, "C62"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
180 { 62, CHTYPE_GROUND, 0, "C63"}, { 63, CHTYPE_GROUND, 0, "13"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
181 { 64, CHTYPE_GROUND, 0, "14"}, { 65, CHTYPE_GROUND, 0, "15"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
182 { 66, CHTYPE_GROUND, 0, "16"}, { 67, CHTYPE_GROUND, 0, "17"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
183 { 68, CHTYPE_GROUND, 0, "18"}, { 69, CHTYPE_GROUND, 0, "19"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
184 { 70, CHTYPE_GROUND, 0, "20"}, { 71, CHTYPE_GROUND, 0, "21"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
185 { 72, CHTYPE_GROUND, 0, "22"}, { 73, CHTYPE_GROUND, 0, "23"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
186 { 74, CHTYPE_GROUND, 0, "24"}, { 75, CHTYPE_GROUND, 0, "25"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
187 { 76, CHTYPE_GROUND, 0, "26"}, { 77, CHTYPE_GROUND, 0, "27"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
188 { 78, CHTYPE_GROUND, 0, "28"}, { 79, CHTYPE_GROUND, 0, "29"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
189 { 80, CHTYPE_GROUND, 0, "30"}, { 81, CHTYPE_GROUND, 0, "31"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
190 { 82, CHTYPE_GROUND, 0, "32"}, { 83, CHTYPE_GROUND, 0, "33"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
191 { 84, CHTYPE_GROUND, 0, "34"}, { 85, CHTYPE_GROUND, 0, "35"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
192 { 86, CHTYPE_GROUND, 0, "36"}, { 87, CHTYPE_GROUND, 0, "37"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
193 { 88, CHTYPE_GROUND, 0, "38"}, { 89, CHTYPE_GROUND, 0, "39"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
194 { 90, CHTYPE_GROUND, 0, "40"}, { 91, CHTYPE_GROUND, 0, "41"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
195 { 92, CHTYPE_GROUND, 0, "42"}, { 93, CHTYPE_GROUND, 0, "43"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
196 { 94, CHTYPE_GROUND, 0, "44"}, { 95, CHTYPE_GROUND, 0, "45"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
197 { 96, CHTYPE_GROUND, 0, "46"}, { 97, CHTYPE_GROUND, 0, "47"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
198 { 98, CHTYPE_GROUND, 0, "48"}, { 99, CHTYPE_GROUND, 0, "49"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
199 { 100, CHTYPE_GROUND, 0, "50"}, { 101, CHTYPE_GROUND, 0, "51"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
200 { 102, CHTYPE_GROUND, 0, "52"}, { 103, CHTYPE_GROUND, 0, "53"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
201 { 104, CHTYPE_GROUND, 0, "54"}, { 105, CHTYPE_GROUND, 0, "55"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
202 { 106, CHTYPE_GROUND, 0, "56"}, { 107, CHTYPE_GROUND, 0, "57"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
203 { 108, CHTYPE_GROUND, 0, "58"}, { 109, CHTYPE_GROUND, 0, "59"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
204 { 110, CHTYPE_GROUND, 0, "60"}, { 111, CHTYPE_GROUND, 0, "61"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
205 { 112, CHTYPE_GROUND, 0, "62"},
84ff6ef710ea - support stdout for output
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 11
diff changeset
206 { 0, 0, 0, NULL} /* terminate */
1
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
207 };
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
208
29f3b2bbbd67 - rename test.c to recpt1.c
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
209 #endif