view driver/pt1_tuner_data.h @ 63:ca419e61f7f2

fix for a bug that recpt1 crashes if dirname(3) returns '.'
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 10 Oct 2009 01:11:34 +0900
parents 07b2fc07ff48
children 272a8fba970b
line wrap: on
line source

#ifndef		__PT1_TUNER_DATA_H__
#define		__PT1_TUNER_DATA_H__
/***************************************************************************/
/*                                                                         */
/***************************************************************************/
#define		MAX_ISDB_S_INIT		19			// ISDB-S 初期化データ数
#define		MAX_ISDB_T_INIT		16			// ISDB-S 初期化データ数
#define		MAX_BS_CHANNEL		36			// 周波数テーブル数
#define		MAX_ISDB_T_CHANNEL	113			// 周波数テーブル数(地デジタル)
#define		MAX_BS_CHANNEL_PLL_COMMAND	3	// PLLロックするためのコマンド数
/***************************************************************************/
/*                                                                         */
/***************************************************************************/

/***************************************************************************/
/*                                                                         */
/***************************************************************************/
typedef	struct	_WBLOCK_BS_PLL{
	WBLOCK	*wblock[MAX_BS_CHANNEL_PLL_COMMAND] ;
}WBLOCK_BS_PLL;

/***************************************************************************/
/*                                                                         */
/***************************************************************************/
extern	WBLOCK	com_initdata;		//初期化(共通)
extern	WBLOCK	isdb_s_init1;		//ISDB-S先頭
extern	WBLOCK	isdb_s_init21;		//ISDB-S最終
extern	WBLOCK	isdb_t_init17;		//ISDB-T最終
extern	WBLOCK	bs_pll_lock;		//ISDB-S PLLロック確認
extern	WBLOCK	*isdb_s_initial[MAX_ISDB_S_INIT];
extern	WBLOCK	*isdb_t_initial[MAX_ISDB_T_INIT];
/***************************************************************************/
/* BS用データ定義                                                          */
/***************************************************************************/
extern	WBLOCK_BS_PLL	bs_pll[MAX_BS_CHANNEL] ;	// 周波数テーブル
extern	WBLOCK	*bs_get_ts_id[(MAX_BS_TS_ID / 2)] ;	// TS-ID取得テーブル
extern	WBLOCK	bs_tmcc_get_1;						// TMCC取得テーブル
extern	WBLOCK	bs_tmcc_get_2;						// TMCC取得テーブル
extern	WBLOCK	bs_get_ts_lock;
extern	WBLOCK	bs_set_ts_lock;
extern	WBLOCK	bs_get_slot;
extern	WBLOCK	bs_get_clock;
extern	WBLOCK	bs_get_carrir;
extern	WBLOCK	bs_get_signal1;
extern	WBLOCK	bs_get_signal2;
extern	WBLOCK	bs_get_agc;
/***************************************************************************/
/* 地デジ用データ定義                                                      */
/***************************************************************************/
extern	WBLOCK	isdb_t_pll_base;			// 地デジ用周波数テーブルbase
extern	WBLOCK	isdb_t_pll_lock;
extern	WBLOCK_BS_PLL	isdb_t_info[MAX_ISDB_T_INFO_LEN];
extern	WBLOCK	isdb_t_check_tune;
extern	WBLOCK	isdb_t_tune_read;
extern	WBLOCK	isdb_t_tmcc_read_1;
extern	WBLOCK	isdb_t_tmcc_read_1;
extern	WBLOCK	isdb_t_signal1;
extern	WBLOCK	isdb_t_signal2;
extern	WBLOCK	isdb_t_agc2;

extern	WBLOCK	isdb_t_get_clock;
extern	WBLOCK	isdb_t_get_carrir;

/***************************************************************************/
/* 省電力用データ定義                                                      */
/***************************************************************************/
extern	WBLOCK	isdb_s_wake;
extern	WBLOCK	isdb_t_wake;

extern	WBLOCK	isdb_s_sleep;
extern	WBLOCK	isdb_t_sleep;

extern	ISDB_S_CH_TABLE	isdb_t_table[11];

#endif