⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tuner-types.h

📁 V4l driver for DVB HD
💻 H
字号:
/* * descriptions for simple tuners. */#ifndef __TUNER_TYPES_H__#define __TUNER_TYPES_H__enum param_type {	TUNER_PARAM_TYPE_RADIO, \	TUNER_PARAM_TYPE_PAL, \	TUNER_PARAM_TYPE_SECAM, \	TUNER_PARAM_TYPE_NTSC#if 0 /* to be added when we merge dvb-pll */	TUNER_PARAM_TYPE_ATSC, \	TUNER_PARAM_TYPE_DVBT, \	TUNER_PARAM_TYPE_DVBS, \	TUNER_PARAM_TYPE_DVBC, \	TUNER_PARAM_TYPE_DVBS2#endif};struct tuner_range {	unsigned short limit;	unsigned char config;	unsigned char cb;};struct tuner_params {	enum param_type type;#if 0 /* disabled for 2.6.16 merge window, since it's unused */	unsigned int tda988x;#endif	/* Many Philips based tuners have a comment like this in their	 * datasheet:	 *	 *   For channel selection involving band switching, and to ensure	 *   smooth tuning to the desired channel without causing	 *   unnecessary charge pump action, it is recommended to consider	 *   the difference between wanted channel frequency and the	 *   current channel frequency.  Unnecessary charge pump action	 *   will result in very low tuning voltage which may drive the	 *   oscillator to extreme conditions.	 *	 * Set cb_first_if_lower_freq to 1, if this check is	 * required for this tuner.	 *	 * I tested this for PAL by first setting the TV frequency to	 * 203 MHz and then switching to 96.6 MHz FM radio. The result was	 * static unless the control byte was sent first.	 */	unsigned int cb_first_if_lower_freq:1;#if 0 /* to be used when we merge dvb-pll */	u32 min;	u32 max;	u32 offset	u32 stepsize	void (*setbw)(u8 *buf, u32 freq, int bandwidth);#endif	unsigned int count;	struct tuner_range *ranges;};struct tunertype {	char *name;	unsigned int count;	struct tuner_params *params;};extern struct tunertype tuners[];extern unsigned const int tuner_count;#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -