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