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

📄 porttable.c

📁 GM5621原代码
💻 C
📖 第 1 页 / 共 3 页
字号:
	0x00,   //Unused.
	// Video decoder related elements
	DEV_NONE,//DeviceType, i.e. DEV_VPC3230
	0x00,   //InputFormat, i.e. VDD_MODE_NTSC device specific. see device header file
	0x00,   //VideoInput, i.e. VDD_INTYP_SVIDEO device specific. see divice header file
	// Port scan and stability timeouts
	100, // 50,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.	// 1116
	200, // 150,    //StabilityHoldTime how long to wait while sync lost before scanning Ports in 10ms units. // 1116
	10,     //IsStablePeriod how long signal is stable before actually becoming stable in 10ms. units.
	gmd_PCD_RGB,//PowerControlDeviceType PowerDev device enum to pass to PowerUp/DownDevice(dev)
	SyncArray,// *SyncArray; NULL terminated ordered array of supported syncs.
	RGB_StdModeArray, //*StdModeArray[] ptr to Array of StandardMode table indicies.
	RGB_EstModeArray, //*EstModeArray[] ptr to Array of EstimatedMode table indicies.
	NULL_PTR, // *UserTypeInfo ptr to additional data for future expansion
	NULL_PTR, // *SystemTypeInfo ptr to additional data for future expansion
},
{	// 1
	IP_DVI, // Port:3, Port on 52xx
	0x00,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_FALSE,  //MuxFlag gmd_TRUE if this is a MUX input.
	gmd_FALSE,	//YUV, gmd_TRUE if input is YUV.
	gmd_FALSE,  //Component, gmd_TRUE if Component source.
	gmd_FALSE,  //AudioFlag gmd_TRUE if audio config. required on this input.
	USE_ACC_ACM,  //ACC_En gmd_TRUE to enable ACC on this port.
	USE_ACC_ACM,  //ACM_En gmd_TRUE to enable AFM on this port.
	gmd_TRUE,   //AFR_Enable gmd_TRUE to Enable AFR on this port.
	gmd_FALSE,  //SkipAutoScan, gmd_TRUE to skip port when performing an auto scan.
	0x00,   //Unused.
	// Video decoder related elements
	DEV_NONE,//DeviceType, i.e. DEV_VPC3230
	0x00,   //InputFormat, i.e. VDD_MODE_NTSC device specific. see device header file
	0x00,   //VideoInput, i.e. VDD_INTYP_SVIDEO device specific. see divice header file
	// Port scan and stability timeouts
	// Louis, 0616. Add "RunDVI" in GSel, StabilityCheckTime 50 is not enough. Change to 100.
#if !defined(TUCSON) && HDCP_ENABLE_4TH
	100,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.
	250,    //StabilityHoldTime how long to wait while sync lost before scanning Ports in 10ms units.	
	20,     //IsStablePeriod how long signal is stable before actually becoming stable in 10ms. units.	
#else
	50,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.
	100,    //StabilityHoldTime how long to wait while sync lost before scanning Ports in 10ms units.	
	10,     //IsStablePeriod how long signal is stable before actually becoming stable in 10ms. units.
#endif	
	gmd_PCD_DVI,//PowerControlDeviceType PowerDev device enum to pass to PowerUp/DownDevice(dev)
	DviSyncArray,// *SyncArray; NULL terminated ordered array of supported syncs.
	DVI_StdModeArray, //*StdModeArray[] ptr to Array of StandardMode table indicies.
	DVI_EstModeArray, //*EstModeArray[] ptr to Array of EstimatedMode table indicies.
	// Future expansion pointers:
	NULL_PTR, // *UserTypeInfo ptr to additional data for future expansion
	NULL_PTR, // *SystemTypeInfo ptr to additional data for future expansion

},
#if USE_VPORT && VPORT_CTRL // if no VPORT, don't include video ports.
{	// 2
	IP_VIDEO,// Port:3, Port on 52xx
	0x00,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_FALSE,  //MuxFlag gmd_TRUE if this is a MUX input.
	gmd_TRUE,	//YUV, gmd_TRUE if input is YUV.
	gmd_FALSE,  //Component, gmd_TRUE if Component source.
	gmd_FALSE,  //AudioFlag gmd_TRUE if audio config. required on this input.
	USE_ACC_ACM,  //ACC_En gmd_TRUE to enable ACC on this port.
	USE_ACC_ACM,  //ACM_En gmd_TRUE to enable AFM on this port.
	gmd_FALSE,  //AFR_Enable gmd_TRUE to Enable AFR on this port.
	gmd_FALSE,  //SkipAutoScan, gmd_TRUE to skip port when performing an auto scan.
	0x00,   //Unused.
	// Video decoder related elements
	DEV_VPC3230,//DeviceType, i.e. DEV_VPC3230
	0x00,   //InputFormat, i.e. VDD_MODE_NTSC device specific. see device header file
	VDD_INTYP_SVIDEO,   //VideoInput, i.e. VDD_INTYP_SVIDEO device specific. see divice header file
	// Port scan and stability timeouts
	200,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.
	300,    //StabilityHoldTime how long to wait while sync lost before scanning Ports in 10ms units.
	30,     //IsStablePeriod how long signal is stable before actually becoming stable in 10ms. units.
	gmd_PCD_VIDEO,//PowerControlDeviceType PowerDev device enum to pass to PowerUp/DownDevice(dev)
	VideoSyncArray,// *SyncArray; NULL terminated ordered array of supported syncs.
	VIDEO_StdModeArray, //*StdModeArray[] ptr to Array of StandardMode table indicies.
	VIDEO_EstModeArray, //*EstModeArray[] ptr to Array of EstimatedMode table indicies.
	NULL_PTR, // *UserTypeInfo ptr to additional data for future expansion
	NULL_PTR, // *SystemTypeInfo ptr to additional data for future expansion
},
{	// 3
	IP_VIDEO,// Port:3, Port on 52xx
	0x00,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_FALSE,  //MuxFlag gmd_TRUE if this is a MUX input.
	gmd_TRUE,	//YUV, gmd_TRUE if input is YUV.
	gmd_FALSE,  //Component, gmd_TRUE if Component source.
	gmd_FALSE,  //AudioFlag gmd_TRUE if audio config. required on this input.
	USE_ACC_ACM,  //ACC_En gmd_TRUE to enable ACC on this port.
	USE_ACC_ACM,  //ACM_En gmd_TRUE to enable AFM on this port.
	gmd_FALSE,  //AFR_Enable gmd_TRUE to Enable AFR on this port.
	gmd_FALSE,  //SkipAutoScan, gmd_TRUE to skip port when performing an auto scan.
	0x00,   //Unused.
	// Video decoder related elements
	DEV_VPC3230,//DeviceType, i.e. DEV_VPC3230
	0x00,   //InputFormat, i.e. VDD_MODE_NTSC device specific. see device header file
	VDD_INTYP_COMPOSITE,   //VideoInput, i.e. VDD_INTYP_SVIDEO device specific. see divice header file
	// Port scan and stability timeouts
	200,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.
	300,    //StabilityHoldTime how long to wait while sync lost before scanning Ports in 10ms units.
	30,     //IsStablePeriod how long signal is stable before actually becoming stable in 10ms. units.
	gmd_PCD_VIDEO,//PowerControlDeviceType PowerDev device enum to pass to PowerUp/DownDevice(dev)
	VideoSyncArray,// *SyncArray; NULL terminated ordered array of supported syncs.
	VIDEO_StdModeArray, //*StdModeArray[] ptr to Array of StandardMode table indicies.
	VIDEO_EstModeArray, //*EstModeArray[] ptr to Array of EstimatedMode table indicies.
	NULL_PTR, // *UserTypeInfo ptr to additional data for future expansion
	NULL_PTR, // *SystemTypeInfo ptr to additional data for future expansion
},
{	// 4
	IP_VIDEO,// Port:3, Port on 52xx
	0x00,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_FALSE,  //MuxFlag gmd_TRUE if this is a MUX input.
	gmd_TRUE,	//YUV, gmd_TRUE if input is YUV.
	gmd_FALSE,  //Component, gmd_TRUE if Component source.
	gmd_FALSE,  //AudioFlag gmd_TRUE if audio config. required on this input.
	USE_ACC_ACM,  //ACC_En gmd_TRUE to enable ACC on this port.
	USE_ACC_ACM,  //ACM_En gmd_TRUE to enable AFM on this port.
	gmd_FALSE,  //AFR_Enable gmd_TRUE to Enable AFR on this port.
	gmd_FALSE,  //SkipAutoScan, gmd_TRUE to skip port when performing an auto scan.
	0x00,   //Unused.
	// Video decoder related elements
	DEV_VPC3230,//DeviceType, i.e. DEV_VPC3230
	0x00,   //InputFormat, i.e. VDD_MODE_NTSC device specific. see device header file
	VDD_INTYP_COMPONENT,   //VideoInput, i.e. VDD_INTYP_SVIDEO device specific. see divice header file
	// Port scan and stability timeouts
	200,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.
	300,    //StabilityHoldTime how long to wait while sync lost before scanning Ports in 10ms units.
	30,     //IsStablePeriod how long signal is stable before actually becoming stable in 10ms. units.
	gmd_PCD_VIDEO,//PowerControlDeviceType PowerDev device enum to pass to PowerUp/DownDevice(dev)
	VideoSyncArray,// *SyncArray; NULL terminated ordered array of supported syncs.
	VIDEO_StdModeArray, //*StdModeArray[] ptr to Array of StandardMode table indicies.
	VIDEO_EstModeArray, //*EstModeArray[] ptr to Array of EstimatedMode table indicies.
	NULL_PTR, // *UserTypeInfo ptr to additional data for future expansion
	NULL_PTR, // *SystemTypeInfo ptr to additional data for future expansion
},
{	// 5
	IP_VIDEO_ON_RGB, //Port:3 Port on 52xx
	0x00,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_FALSE,  //MuxFlag gmd_TRUE if this is a MUX input.
	gmd_TRUE,   //YUV, gmd_TRUE if input is YUV.
	gmd_TRUE,	  //Component, gmd_TRUE if Component source.
	gmd_FALSE,  //AudioFlag gmd_TRUE if audio config. required on this input.
	USE_ACC_ACM,  //ACC_En gmd_TRUE to enable ACC on this port.
	USE_ACC_ACM,  //ACM_En gmd_TRUE to enable AFM on this port.
	gmd_FALSE,  //AFR_Enable gmd_TRUE to Enable AFR on this port.
	gmd_FALSE,  //SkipAutoScan, gmd_TRUE to skip port when performing an auto scan.
	0x00,   //Unused.
	// Video decoder related elements
	DEV_NONE,//DeviceType, i.e. DEV_VPC3230
	0x00,   //InputFormat, i.e. VDD_MODE_NTSC device specific. see device header file
	0x00,   //VideoInput, i.e. VDD_INTYP_SVIDEO device specific. see divice header file
	// Port scan and stability timeouts
	50,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.
	150,    //StabilityHoldTime how long to wait while sync lost before scanning Ports in 10ms units.
	10,     //IsStablePeriod how long signal is stable before actually becoming stable in 10ms. units.
	gmd_PCD_RGB,//PowerControlDeviceType PowerDev device enum to pass to PowerUp/DownDevice(dev)
	CompSyncArray,// *SyncArray; NULL terminated ordered array of supported syncs.
	VIDEO_StdModeArray, //*StdModeArray[] ptr to Array of StandardMode table indicies.
	VIDEO_EstModeArray, //*EstModeArray[] ptr to Array of EstimatedMode table indicies.
	NULL_PTR, // *UserTypeInfo ptr to additional data for future expansion
	NULL_PTR, // *SystemTypeInfo ptr to additional data for future expansion
},
{	// 6
	IP_VIDEO_ON_DVI, //Port:3 Port on 52xx
	0x00,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_FALSE,  //MuxFlag gmd_TRUE if this is a MUX input.
	gmd_TRUE,   //YUV, gmd_TRUE if input is YUV.
	gmd_TRUE,	  //Component, gmd_TRUE if Component source.
	gmd_FALSE,  //AudioFlag gmd_TRUE if audio config. required on this input.
	gmd_FALSE,  //ACC_En gmd_TRUE to enable ACC on this port.
	gmd_FALSE,  //ACM_En gmd_TRUE to enable AFM on this port.
	gmd_TRUE,   //AFR_Enable gmd_TRUE to Enable AFR on this port.
	gmd_TRUE,   //SkipAutoScan, gmd_TRUE to skip port when performing an auto scan.
	0x00,   //Unused.
	// Video decoder related elements
	DEV_NONE,//DeviceType, i.e. DEV_VPC3230
	0x00,   //InputFormat, i.e. VDD_MODE_NTSC device specific. see device header file
	0x00,   //VideoInput, i.e. VDD_INTYP_SVIDEO device specific. see divice header file
	// Port scan and stability timeouts
	50,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.
	100,    //StabilityHoldTime how long to wait while sync lost before scanning Ports in 10ms units.
	10,     //IsStablePeriod how long signal is stable before actually becoming stable in 10ms. units.
	gmd_PCD_DVI,//PowerControlDeviceType PowerDev device enum to pass to PowerUp/DownDevice(dev)
	DviSyncArray,// *SyncArray; NULL terminated ordered array of supported syncs.
	VIDEO_StdModeArray, //*StdModeArray[] ptr to Array of StandardMode table indicies.
	VIDEO_EstModeArray, //*EstModeArray[] ptr to Array of EstimatedMode table indicies.
	NULL_PTR, // *UserTypeInfo ptr to additional data for future expansion
	NULL_PTR, // *SystemTypeInfo ptr to additional data for future expansion
},
#endif //#if( BOARD != RD5 ) && VPORT_CTRL
};
PortSyncInfoArrayType InputPortSyncArray[(sizeof(InputPortArray) / sizeof(InputPortArrayType))];
#endif // PHOENIX_U

BYTE const far NumInputPorts = (sizeof(InputPortArray) / sizeof(InputPortArrayType));

⌨️ 快捷键说明

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