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

📄 tmbslsaa7104local.h

📁 PNX1500上7104芯片设置源代码!标准的C代码。
💻 H
📖 第 1 页 / 共 3 页
字号:
	0x54, 0x00, 0x00, 0x00,	0x00, 0x00, 0x00, 0x00};static const UInt8 d2_1920x1080x60i[] = {
    
    0x00,
	0x6f, 0x33, 0x2b, 0x30, 0x00, 0x00, 0x00, 0x00,
	0x6f, 0x43, 0x2b, 0x30, 0x00, 0x00, 0x00, 0x00,
	0x3b, 0x30, 0xbf, 0x03, 0xbf, 0x03, 0x2b, 0x30,
	0x2b, 0x10, 0x2b, 0x20, 0x57, 0x30, 0x00, 0x00,
	0x3b, 0x30, 0xbf, 0x33, 0xbf, 0x33, 0x2b, 0x30,
	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};static const UInt8 d3_1920x1080x60i[] = {	0x00,	0xcc, 0x00,	0x80, 0x00,	0x0a, 0x00,	0xcc, 0x00,	0x80, 0x00
	};static const UInt8 d4_1920x1080x60i[] = {	0x5, 0x00, 0x10, 0x00};static const UInt8 d8_1920x1080x60i[] = {	0x00, 0x00, 0x06, 0x00};	
#if 0/******************************************************************** * 720x576x60p:												        * ********************************************************************/static const UInt8 d0_720x576x60p[] = {	0x00,	0x05, 0x30, // 5 lines black	0x05, 0x10, // 5 lines V-Sync	0x27, 0x30, // 39 lines black	0x40, 0x22, // 576 lines active video	0x00, 0x00};static const UInt8 d1_720x576x60p[] = {	00,	0x01, 0x00, 0x00, 0x00,	0x02, 0x00, 0x00, 0x00,	0x03, 0x00, 0x00, 0x00}; static const UInt8 d2_720x576x60p[] ={	0x00,	// 64 clocks value 0 ,730 clocks value 1,64 clocks value 4	//0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 3, 794 clocks value 2	0x1f, 0x93, 0x3f, 0xB0, 0x00, 0x00, 0x00, 0x00, // vblank	0x0b, 0xB0, 0x3f, 0x90, 0x43, 0xB0, 0xcf, 0x82, // video	0x0b, 0xB0, 0x3f, 0x90, 0x43, 0xB0, 0xcf, 0xB2, // black	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};static const UInt8 d2_720x576x60p_rgb[] = {	00,	// 64 clocks value 0	0x3f, 0x80, 0x3f, 0x80, 0x00, 0x00, 0x00, 0x00,	// 730 clocks value 1	0xd9, 0x92, 0xd9, 0x92, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 4	0x3f, 0xc0, 0x3f, 0xc0, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 3, 794 clocks value 2	0x3f, 0xb0, 0x3f, 0xb0, 0x19, 0xa3, 0x19, 0xa3, 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};static const UInt8 d3_720x576x60p[] = {	00, 	0xcc, 0x00, 	0x80, 0x00,	0x0a, 0x00,	0xcc, 0x00,	0x80, 0x00};static const UInt8 d4_720x576x60p[] = {	0x02, 0x00, 0x10, 0x00};static const UInt8 d8_720x576x60p[] = {	0xdf, 0x05, 0x08, 0x00};/******************************************************************** * 960x540x50p														* ********************************************************************/static const UInt8 d0_960x540x50p[] = {	00, 	0x13, 0x10, 	0xfa, 0x21, 	0x00, 0x00};static const UInt8 d1_960x540x50p[] = {	00, 	0x21, 0x03, 0x00, 0x00, 	0x04, 0x00, 0x00, 0x00};static const UInt8 d2_960x540x50p[] = {	00,	// 64 clocks value 0	0x3f, 0x80, 0x3f, 0x80, 0x00, 0x00, 0x00, 0x00,	// 730 clocks value 1	0xd9, 0x92, 0xd9, 0x92, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 4	0x3f, 0xc0, 0x3f, 0xc0, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 3, 794 clocks value 2	0x3f, 0xb0, 0x3f, 0xb0, 0x19, 0xa3, 0x19, 0xa3, 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};static const UInt8 d2_960x540x50p_rgb[] = {	00,	// 64 clocks value 0	0x3f, 0x80, 0x3f, 0x80, 0x00, 0x00, 0x00, 0x00,	// 730 clocks value 1	0xd9, 0x92, 0xd9, 0x92, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 4	0x3f, 0xc0, 0x3f, 0xc0, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 3, 794 clocks value 2	0x3f, 0xb0, 0x3f, 0xb0, 0x19, 0xa3, 0x19, 0xa3, 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};static const UInt8 d3_960x540x50p[] = {	00, 	// h - and vsync active	0x80, 0x03, 	//!MSB=VSYNC, MSB-1=HSYNC, 8 bits 2's complement	//! 1 LSB equiv. 0.67 IRE	0x80, 0x02,	//! v sync active	0xcc, 0x00,	//! active portion	0x80, 0x01,	0xcc, 0x02,	0x00, 0x00};static const UInt8 d4_960x540x50p[] = {	0x02, 0x00, 0x10, 0x00 };static const UInt8 d8_960x540x50p[] = {	0xdf, 0x05, 0x08, 0x00};/******************************************************************** * 1024x768x60p														* ********************************************************************/static const UInt8 d0_1024x768x60p[] = {	00, 	0x13, 0x10, 	0xfa, 0x21, 	0x00, 0x00};static const UInt8 d1_1024x768x60p[] = {	00, 	0x21, 0x03, 0x00, 0x00, 	0x04, 0x00, 0x00, 0x00}; static const UInt8 d2_1024x768x60p[] = {	00,	// 64 clocks value 0	0x3f, 0x80, 0x3f, 0x80, 0x00, 0x00, 0x00, 0x00,	// 730 clocks value 1	0xd9, 0x92, 0xd9, 0x92, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 4	0x3f, 0xc0, 0x3f, 0xc0, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 3, 794 clocks value 2	0x3f, 0xb0, 0x3f, 0xb0, 0x19, 0xa3, 0x19, 0xa3, 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};static const UInt8 d3_1024x768x60p[] = {	00, 	// h - and vsync active	0x80, 0x03, 	//!MSB=VSYNC, MSB-1=HSYNC, 8 bits 2's complement	//! 1 LSB equiv. 0.67 IRE	0x80, 0x02,	//! v sync active	0xcc, 0x00,	//! active portion	0x80, 0x01,	0xcc, 0x02,	0x00, 0x00};static const UInt8 d4_1024x768x60p[] = {	0x02, 0x00, 0x10, 0x00};static const UInt8 d8_1024x768x60p[] = {	0xdf, 0x05, 0x08, 0x00};/******************************************************************** * 800x600x75p														* ********************************************************************/static const UInt8 d0_800x600x75p[] = {	00, 	0x13, 0x10, 	0xfa, 0x21, 	0x00, 0x00};static const UInt8 d1_800x600x75p[] = {	00, 	0x21, 0x03, 0x00, 0x00, 	0x04, 0x00, 0x00, 0x00}; static const UInt8 d2_800x600x75p[] = {	00,	// 64 clocks value 0	0x3f, 0x80, 0x3f, 0x80, 0x00, 0x00, 0x00, 0x00,	// 730 clocks value 1	0xd9, 0x92, 0xd9, 0x92, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 4	0x3f, 0xc0, 0x3f, 0xc0, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 3, 794 clocks value 2	0x3f, 0xb0, 0x3f, 0xb0, 0x19, 0xa3, 0x19, 0xa3, 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};static const UInt8 d3_800x600x75p[] = {	00, 	// h - and vsync active	0x80, 0x03, 	//!MSB=VSYNC, MSB-1=HSYNC, 8 bits 2's complement	//! 1 LSB equiv. 0.67 IRE	0x80, 0x02,	//! v sync active	0xcc, 0x00,	//! active portion	0x80, 0x01,	0xcc, 0x02,	0x00, 0x00};static const UInt8 d4_800x600x75p[] = {	0x02, 0x00, 0x10, 0x00 };static const UInt8 d8_800x600x75p[] = {	0xdf, 0x05, 0x08, 0x00};/******************************************************************** * 640x480x60p														* ********************************************************************/static const UInt8 d0_640x480x60p[] = {	00, 	0x13, 0x10, 	0xfa, 0x21, 	0x00, 0x00};static const UInt8 d1_640x480x60p[] = {	00, 	0x21, 0x03, 0x00, 0x00, 	0x04, 0x00, 0x00, 0x00}; static const UInt8 d2_640x480x60p[] = {	00,	// 64 clocks value 0	0x3f, 0x80, 0x3f, 0x80, 0x00, 0x00, 0x00, 0x00,	// 730 clocks value 1	0xd9, 0x92, 0xd9, 0x92, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 4	0x3f, 0xc0, 0x3f, 0xc0, 0x00, 0x00, 0x00, 0x00,	// 64 clocks value 3, 794 clocks value 2	0x3f, 0xb0, 0x3f, 0xb0, 0x19, 0xa3, 0x19, 0xa3, 	0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};static const UInt8 d3_640x480x60p[] = {	00, 	// h - and vsync active	0x80, 0x03, 	//!MSB=VSYNC, MSB-1=HSYNC, 8 bits 2's complement	//! 1 LSB equiv. 0.67 IRE	0x80, 0x02,	//! v sync active	0xcc, 0x00,	//! active portion	0x80, 0x01,	0xcc, 0x02,	0x00, 0x00};static const UInt8 d4_640x480x60p[] = {	0x02, 0x00, 0x10, 0x00}; static const UInt8 d8_640x480x60p[] = {	0xdf, 0x05, 0x08, 0x00};#endif /******************************************************************** * HD SYNC TABLE													* ********************************************************************/static const saa7104_HDSync_t gSaa7104HDSyncs[] ={	{ 		"720x480x60p",		sizeof(d0_720x480x60p),	&d0_720x480x60p[0],		sizeof(d1_720x480x60p), &d1_720x480x60p[0],		sizeof(d2_720x480x60p),	&d2_720x480x60p[0],		sizeof(d3_720x480x60p),	&d3_720x480x60p[0],		&d4_720x480x60p[0],		&d8_720x480x60p[0]	},	{ 		"1280x720x60p",		sizeof(d0_1280x720x60p), &d0_1280x720x60p[0],		sizeof(d1_1280x720x60p), &d1_1280x720x60p[0],		sizeof(d2_1280x720x60p), &d2_1280x720x60p[0],		sizeof(d3_1280x720x60p), &d3_1280x720x60p[0],		&d4_1280x720x60p[0],		&d8_1280x720x60p[0]	},	{ 		"1920x1080x60i",		sizeof(d0_1920x1080x60i), &d0_1920x1080x60i[0],		sizeof(d1_1920x1080x60i), &d1_1920x1080x60i[0],		sizeof(d2_1920x1080x60i), &d2_1920x1080x60i[0],		sizeof(d3_1920x1080x60i), &d3_1920x1080x60i[0],		&d4_1920x1080x60i[0],		&d8_1920x1080x60i[0],	},	{		NULL	}};

#ifdef __cplusplus}#endif#endif /* TMBSL_7104_LOCAL_H */

⌨️ 快捷键说明

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