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

📄 porttable.c

📁 GM5621原代码
💻 C
📖 第 1 页 / 共 3 页
字号:
#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 defined(RD3_57XX) && (BOARD==RD3_57XX)
{	// 1-B
	IP_DVI, // Port:3, Port on 52xx
#ifdef MUX_ON_PCD_DVI_ENABLE
	MUX_ON_DVI_B,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_TRUE,  //MuxFlag gmd_TRUE if this is a MUX input.
#else
	0x00,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_FALSE,  //MuxFlag gmd_TRUE if this is a MUX input.
#endif	
	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.
#ifdef PHOENIX_U
	USE_ACC_ACM | USE_ACM_3D,  //ACC_En gmd_TRUE to enable ACC on this port.
	USE_ACC_ACM | USE_ACM_3D,  //ACM_En gmd_TRUE to enable AFM on this port.
#else
	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.
#endif
	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.
#ifdef MUX_ON_AUDIO_PATH_ENABLE
	MUX_ON_PC_AUDIO,       //AudioMuxInput, if Audio MUX attached, this is input on MUX.
#else
	0x00,       //AudioMuxInput, if Audio MUX attached, this is input on MUX.
#endif	
	// 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

},
#endif   // (BOARD==RD3_57XX)
#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.
#ifdef PHOENIX_U
	USE_ACC_ACM | USE_ACM_3D,  //ACC_En gmd_TRUE to enable ACC on this port.
	USE_ACC_ACM | USE_ACM_3D,  //ACM_En gmd_TRUE to enable AFM on this port.
#else
	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.
#endif
	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.
#ifdef MUX_ON_AUDIO_PATH_ENABLE
	MUX_ON_VPORT_AUDIO,       //AudioMuxInput, if Audio MUX attached, this is input on MUX.
#else
	0x00,       //AudioMuxInput, if Audio MUX attached, this is input on MUX.
#endif	
	// Video decoder related elements
	DEV_VIDEO_DECODER,//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
	150,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.
	100, //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.
#ifdef PHOENIX_U
	USE_ACC_ACM | USE_ACM_3D,  //ACC_En gmd_TRUE to enable ACC on this port.
	USE_ACC_ACM | USE_ACM_3D,  //ACM_En gmd_TRUE to enable AFM on this port.
#else
	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.
#endif
	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.
#ifdef MUX_ON_AUDIO_PATH_ENABLE
	MUX_ON_VPORT_AUDIO,       //AudioMuxInput, if Audio MUX attached, this is input on MUX.
#else
	0x00,       //AudioMuxInput, if Audio MUX attached, this is input on MUX.
#endif	
	// Video decoder related elements
	DEV_VIDEO_DECODER,//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
	150,     //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.
	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
},
#endif //USE_VPORT && VPORT_CTRL
#if USE_COMPONENT_INPUT_ON_RGB
{/* Port 4 */
   IP_COMPONENT, //Port:3 Port on 52xx
#ifdef MUX_ON_PCD_RGB_ENABLE
	MUX_ON_COMPONENT,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_TRUE,  //MuxFlag gmd_TRUE if this is a MUX input.
#else
	0x00,   //MuxInput:3 If MUX attached, this is input on MUX.
	gmd_FALSE,  //MuxFlag gmd_TRUE if this is a MUX input.
#endif	
   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.
#ifdef PHOENIX_U
	USE_ACC_ACM | USE_ACM_3D,  //ACC_En gmd_TRUE to enable ACC on this port.
	USE_ACC_ACM | USE_ACM_3D,  //ACM_En gmd_TRUE to enable AFM on this port.
#else
	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.
#endif
   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.
#ifdef MUX_ON_AUDIO_PATH_ENABLE
	MUX_ON_VPORT_AUDIO,       //AudioMuxInput, if Audio MUX attached, this is input on MUX.
#else
	0x00,       //AudioMuxInput, if Audio MUX attached, this is input on MUX.
#endif	
   // Video decoder related elements
   DEV_NONE,//DeviceType, i.e. DEV_VPC3230
   0x00, // VIF_COMPONENT,   // VideoInputFamilyType i.e. VIF_TUNER
   VDD_INTYP_COMPONENT,   //VideoInput, i.e. VDD_INTYP_SVIDEO device specific. see divice header file
   // Port scan and stability timeouts
   100,     //StabilityCheckTime how long to wait for sync while scanning Ports in 10ms units.
   200,    //StabilityHoldTime how long to wait while sync lost before scanning Ports in 10ms units.
   50,     //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_CompStdModeArray, //*StdModeArray[] ptr to Array of StandardMode table indicies.
   VIDEO_CompEstModeArray, //*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 //COMPONENT_INPUT_ON_RGB
};
PortSyncInfoArrayType InputPortSyncArray[(sizeof(InputPortArray) / sizeof(InputPortArrayType))];
#else  //PHOENIX_U
InputPortArrayType ROM InputPortArray[] = {
{	// 0
	IP_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_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.

⌨️ 快捷键说明

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