📄 cv_wvga.txt
字号:
/*---------------------------------------------------------------------------*/
/* Componnent Video Mode Initial Setup */
/*---------------------------------------------------------------------------*/
#ifdef SUPPORT_COMPONENT
CODE BYTE COMP_YPbPr_480I_Reg[] = {
TW88I2CAddress, 8,
0x02, 0x6a, // YSEL = Y4, IFSEL=Component interlace
0x0a, 0x2a, // H delay
0x36, 0x00, // RGB ADC Power On
0x3f, 0x08, // Y ADC= G ADC Input Select
0xfc, 0x5a,
0x60, 0xdc,
0x62, 0x7c,
0xb9, 0x31,
0xff, 0xff
};
CODE BYTE COMP_YPbPr_576I_Reg[] = {
TW88I2CAddress, 10,
0x02, 0x6a, // YSEL = Y4, IFSEL=Component interlace
0x07, 0x12, // HV Active-HL
0x09, 0x20, // V Active-L
0x0a, 0x23, // H delay
0x36, 0x00, // RGB ADC Power On
0x3f, 0x08, // Y ADC= G ADC Input Select
0xfc, 0x5a,
0x60, 0xdc,
0x62, 0x94,
0xb9, 0x31,
0xff, 0xff
};
CODE BYTE COMP_YPbPr_480P_Reg[] = {
TW88I2CAddress, 15,
0x02, 0x7a, // YSEL = Y4, IFSEL=Component interlace
0x07, 0x12, // HV Active-HL
0x09, 0xf0, // V Active-L
0x0a, 0x3a, // H delay
0x1c, 0x00,//60Hz
0x36, 0x00, // RGB ADC Power On
0x27, 0x20,
0x33, 0x03,
0x36, 0x00, // RGB ADC Power On
0x37, 0x08,
0x3f, 0x08, // Y ADC= G ADC Input Select
0xfc, 0x5a,
0x60, 0xc3,
0x62, 0xfb,
0xb9, 0x26,
0xff, 0xff
};
CODE BYTE COMP_YPbPr_576P_Reg[] = {
TW88I2CAddress, 13,
0x02, 0x7a, // YSEL = Y4, IFSEL=Component interlace
0x07, 0x22, // HV Active-HL
0x08, 0x23,
0x09, 0x40, // V Active-L
0x0a, 0x3f, // H delay
0x27, 0x20, //04,
0x36, 0x00, // RGB ADC Power On
0x3f, 0x08, // Y ADC= G ADC Input Select
0xfc, 0x5a,
0x60, 0xc3,
0x62, 0x29,
0x63, 0x04,
0xb9, 0x2e,
0xff, 0xff
};
CODE BYTE COMP_YPbPr_1080I_Reg[] = {
TW88I2CAddress, 15,
0x02, 0x7a, // YSEL = Y4, IFSEL=Component interlace
0x07, 0x22, // HV Active-H
0x08, 0x12, // V Delay
0x09, 0x1f, // V Active-L
0x0a, 0x23, // H delay
0x0b, 0x9e, // H Active-L
0x27, 0x1a, //04,
0x36, 0x00, // RGB ADC Power On
0x3f, 0x08, // Y ADC= G ADC Input Select
0xfc, 0x5a,
0x60, 0xc8,
0x62, 0x14,
0x63, 0x04,
0xb9, 0x1f,
0xfa, 0x85,
0xff, 0xff
};
CODE BYTE COMP_YPbPr_720P_Reg[] = {
// 1280*720 --> 466*720
TW88I2CAddress, 16,
0x02, 0x7a, // YSEL = Y4, IFSEL=Component interlace
0x07, 0x21, // HV Active-H
0x08, 0x18, // V Delay
0x09, 0xd0, // V Active-L
0x0a, 0x28, // H delay
0x0b, 0xd2, // H Active-L
0x1c, 0x00,
0x27, 0x17, //04,
0x36, 0x00, // RGB ADC Power On
0x3f, 0x08,//0x00, // Y ADC= Y(1)/G(0) ADC Input Select
0xfc, 0x5a,
0x60, 0x84,
0x62, 0x6a,
0x63, 0x04,
0xb9, 0x16,
0xbe, 0x43, // Auto Cal=Force short
0xff, 0xff
};
/*
CODE BYTE COMP_YPbPr_720P50_Reg[] = {
TW88I2CAddress, 12,
0x02, 0x7a, // YSEL = Y4, IFSEL=Component interlace
0x07, 0x21, // HV Active-H
0x08, 0x18, // V Delay
0x09, 0xd0, // V Active-L
0x0a, 0x1c, // H delay
0x0b, 0xa5, // H Active-L
0x36, 0x00, // RGB ADC Power On
0x3f, 0x08,//0x00, // Y ADC= Y(1)/G(0) ADC Input Select
0xfc, 0x82,
0x60, 0x69,
0x62, 0xe6,
// 0xb6, 0x45,
// 0xb2, 0x11,
0xb9, 0x3e,
0xff, 0xff
};
*/
//=============================================================================
#endif // SUPPORT_COMPONENT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -