📄 regset.h
字号:
unsigned code adv7194int[54]= {
0xf1,0x5a,0x63,0x00,0x00,0x00,0x01,0x00,0x14,0x00,0x00,0x00,0xcb,0x8a,0x09,0x2a,//normal mode
//0xf1,0x5a,0x63,0x00,0x00,0x00,0x01,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
//0xf1,0x5a,0x63,0x00,0x40,0x00,0x01,0x00,0x14,0x00,0x01,0x00,0xcb,0x8a,0x09,0x2a,//color bar generator
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x44,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x72,
};
unsigned code tvp5146RegComp[16]={0x00,0x00, 0x02,0x00 , 0x04,0x3f, 0x06,0x40, 0x0e,0x04, 0x33,0x40, 0x36,0xaf, 0x34,0x11}; //regsiter set,comp in
unsigned code tvp5146RegYuv[16] ={0x00,0x95, 0x02,0x00, 0x04,0x3f, 0x06,0x40, 0x0e,0x04, 0x33,0x40, 0x36,0xaf, 0x34,0x11};//PbYPc in
unsigned code adv7194ext[54]={
0xf1,0x5f, 0x63, 0x00, 0x06, 0x00, 0x01, 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x44, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x72
};
unsigned code badt5145[0x3c]={
0x00,0x02,0x01,0x15,0x02,0x20,0x03,0x19,0x06,0x00,0x07,0x00,0x08,0x00,0x09,0x80,//00-0f
0x0a,0x80,0x0b,0x00,0x0c,0x80,0x0d,0x47,0x0e,0x00,0x11,0x00,0x12,0x00,0x13,0x00,//10-1f
0x14,0x00,0x15,0x00,0x16,0x80,0x18,0x00,0x19,0x00,0x1a,0x0c,0x1b,0x57,0x1c,0x00,//20-2f
0x1d,0x00,0x1e,0x00,0x20,0x20,0x25,0x00,0x26,0x00,0x28,0x00,//30
};
unsigned code adt5145[0x3c]={
0x00,0x07,0x01,0x15,0x02,0x30,0x03,0x19,0x06,0x00,0x07,0x00,0x08,0x00,0x09,0x80,//00-0f
0x0a,0x80,0x0b,0x00,0x0c,0x80,0x0d,0x47,0x0e,0x00,0x11,0x00,0x12,0x00,0x13,0x00,//10-1f
0x14,0x00,0x15,0x00,0x16,0x80,0x18,0x00,0x19,0x00,0x1a,0x0c,0x1b,0x00,0x1c,0x00,//20-2f
0x1d,0x00,0x1e,0x00,0x20,0x02,0x25,0x01,0x26,0x00,0x28,0x00,//30
};
unsigned code saa7114int[0xc0]=
{
0x00, /*;REG 00, Chip version*/
0x08, /*;REG 01, horizontal increment delay*/
0xc4, /*;REG 02, INPUT CONTROL 1, Mode 4 b4 */
0x33, /*;REG 03, INPUT CONCROL 2, 23H*/
0x00, /*;REG 04, GAIN CONTROL 1, gain1=00h*/
0x00, /*;REG 05, GAIN CONTROL 2, gain2=00h*/
0xfe, /*;REG 06, HS START EB 15H*/
0xfd, /*;REG 07, HS STOP*/
0x98, /*;REG 08, SYNC CONTROL*/
0x40, /*;REG 09, LUMINANCE CONTROL, COMB FILTER, 40h*/
0x7e, /*;REG 0A, LUMINANCE BRIGHTNESS, CCIR level,80H 79h*/
0x42, /*;REG 0B, LUMINANCE CONTRAST, CCIR level, 44H 40h*/
0x3c, /*;REG 0C, CHROMINANCE SATURATION, CCIR level, 40H 36h*/
0x00, /*;REG OD, CHROMA HUE CONTROL, 0 degree*/
0x81, /*;REG 0E, CHROMINANCE CONTROL, */
0x2a, /*;REG 0F, CHROMINANCE GAIN CONTROL 2a*/
0x0c, /*;REG 10, CHROMINANCE LUMINACE CONTROL*/
0x10, /*;REG 11, MODE/DELAY CONTROL 00H*/
0xd9, /*;REG 12, RTS0/RTS1 CONTROL */
0x40, /*;REG 13, RT/X-PORT CONTROL, 00h*/
0x04, /*;REG 14, ADC COMPATIBILITY CONTROL*/
0x11, /*;REG 15, VGATE START*/
0xfe, /*;REG 16, VGATE STOP*/
0x00, /*;REG 17, MISC VGATE MSB*/
0x40, /*;REG 18, RAW DATA GAIN CONTROL*/
0x80, /*;REG 19, RAW DATA OFFSET CONTROL*/
0x00, /*;REG 1A, RESERVE*/
0x00, /*;REG 1B, RESERVE*/
0x00, /*;REG 1C, RESERVE*/
0x00, /*;REG 1D, RESERVE*/
0x00, /*;REG 1E, RESERVE*/
0x00, /*;REG 1F, RESERVE*/
0x00, /*;REG 20, RESERVE*/
0x00, /*;REG 21, RESERVE*/
0x00, /*;REG 22, RESERVE*/
0x00, /*;REG 23, RESERVE*/
0x00, /*;REG 24, RESERVE*/
0x00, /*;REG 25, RESERVE*/
0x00, /*;REG 26, RESERVE*/
0x00, /*;REG 27, RESERVE*/
0x00, /*;REG 28, RESERVE*/
0x00, /*;REG 29, RESERVE*/
0x00, /*;REG 2A, RESERVE*/
0x00, /*;REG 2B, RESERVE*/
0x00, /*;REG 2C, RESERVE*/
0x00, /*;REG 2D, RESERVE*/
0x00, /*;REG 2E, RESERVE*/
0x00, /*;REG 2F, RESERVE*/
0xbc, /*;REG 30, AUDIO MASTER CLOCK*/
0xdf, /*;REG 31, AUDIO MASTER CLOCK*/
0x02, /*;REG 32, audio master clock*/
0x00, /*;REG 33, reserve*/
0xcd, /*;REG 34, audio master clock increment*/
0xcc, /*;REG 35, audio master clock increment*/
0x3a, /*;REG 36, audio master clock increment*/
0x00, /*;REG 37, reserve*/
0x03, /*;REG 38, clock ratio AMXCLK to ASCLK*/
0x20, /*;REG 39, clock ratio AMXCLK to ALRCLK*/
0x00, /*;REG 3A, AUDIO CLOCK generator*/
0x00, /*;REG 3B, RESERVE*/
0x00, /*;REG 3C, RESERVE*/
0x00, /*;REG 3D, RESERVE*/
0x00, /*;REG 3E, RESERVE*/
0x00, /*;REG 3F, RESERVE*/
0x00, /*;REG 40, slicer control 1*/
0xff, /*;REG 41, LCR2*/
0xff, /*;REG 42, LCR3*/
0xff, /*;REG 43, LCR4*/
0xff, /*;REG 44, LCR5*/
0xff, /*;REG 45, LCR6*/
0xff, /*;REG 46, LCR7*/
0xff, /*;REG 47, LCR8*/
0xff, /*;REG 48, LCR9*/
0xff, /*;REG 49, LCR10*/
0xff, /*;REG 4A, LCR11*/
0xff, /*;REG 4B, LCR12*/
0xff, /*;REG 4C, LCR13*/
0xff, /*;REG 4D, LCR14*/
0xff, /*;REG 4E, LCR15*/
0xff, /*;REG 4F, LCR16*/
0xff, /*;REG 50, LCR17*/
0xff, /*;REG 51, LCR18*/
0xff, /*;REG 52, LCR19*/
0xff, /*;REG 53, LCR20*/
0xff, /*;REG 54, LCR21*/
0xff, /*;REG 55, LCR22*/
0xff, /*;REG 56, LCR23*/
0xff, /*;REG 57, LCR24*/
0x00, /*;REG 58, prog. frame code*/
0x47, /*;REG 59, horizontal offset for slicer*/
0x06, /*;REG 5A, vertical offset for slicer*/
0x03, /*;REG 5b, field offset MSB for horizontal and vertical*/
0x00, /*;REG 5c,reserve */
0x00, /*;REG 5d, RESERVE*/
0x00, /*;REG 5e, sliced data ident code*/
0x00, /*;REG 5f, reserved*/
0x00, /*;REG 60,slicer status byte1 */
0x00, /*;REG 61,slicer status byte2 */
0x00, /*;REG 62,slicer status byte3 */
0x00, /*;REG 63, RESERVE*/
0x00, /*;REG 64, RESERVE*/
0x00, /*;REG 65, RESERVE*/
0x00, /*;REG 66, RESERVE*/
0x00, /*;REG 67, RESERVE*/
0x00, /*;REG 68, RESERVE*/
0x00, /*;REG 69, RESERVE*/
0x00, /*;REG 6a, RESERVE*/
0x00, /*;REG 6b, RESERVE*/
0x00, /*;REG 6c, RESERVE*/
0x00, /*;REG 6d, RESERVE*/
0x00, /*;REG 6e, RESERVE*/
0x00, /*;REG 6f, RESERVE*/
0x00, /*;REG 70, RESERVE*/
0x00, /*;REG 71, RESERVE*/
0x00, /*;REG 72, RESERVE*/
0x00, /*;REG 73, RESERVE*/
0x00, /*;REG 74, RESERVE*/
0x00, /*;REG 75, RESERVE*/
0x00, /*;REG 76, RESERVE*/
0x00, /*;REG 77, RESERVE*/
0x00, /*;REG 78, RESERVE*/
0x00, /*;REG 79, RESERVE*/
0x00, /*;REG 7a, RESERVE*/
0x00, /*;REG 7b, RESERVE*/
0x00, /*;REG 7c, RESERVE*/
0x00, /*;REG 7d, RESERVE*/
0x00, /*;REG 7e, RESERVE*/
0x00, /*;REG 7f, RESERVE*/
0x10, /*;REG 80, task enable and IDQ and backed clock definition*/
0x00, /*;REG 81, RESERVE*/
0x00, /*;REG 82, RESERVE*/
0x01, /*;REG 83, XCLK output phase and X-port output enable*/
0xa0, /*;REG 84, IGPH, IGPV, IGP0, IGP1 output definition*/
0x10, /*;REG 85, Signal ploarity control and I -port byte swaping*/
0x45, /*;REG 86, FIFO flag thresholds and video/text arbitration*/
0x01, /*;REG 87, ICLK and IDQ output phase I-port enable*/
0xca, /*;REG 88, power save control and software reset*/
/*;scaler and audio clock in power down*/
0x00, /*;REG 89, RESERVE*/
0x00, /*;REG 8a, RESERVE*/
0x00, /*;REG 8b, RESERVE*/
0x00, /*;REG 8c, RESERVE*/
0x00, /*;REG 8d, RESERVE*/
0x00, /*;REG 8e, RESERVE*/
0x00, /*;REG 8f, RESERVE*/
0x00, /*;REG 90, task handling*/
0x00, /*;REG 91, scaler input source and format definition*/
0x00, /*;REG 92, reference signal definition at scaler input*/
0x00, /*;REG 93, I-port output formats and configuration*/
0x10, /*;REG 94, XO H input offset*/
0x00, /*;REG 95, XO H input offset*/
0xd0, /*;REG 96, XS LENGTH*/
0x02, /*;REG 97, XS LENGTH*/
0x0a, /*;REG 98, VO*/
0x00, /*;REG 99, VO*/
0xf2, /*;REG 9A, VS*/
0x00, /*;REG 9B, VS*/
0xd0, /*;REG 9C, XD*/
0x02, /*;REG 9D, XD*/
0xf0, /*;REG 9E, VD*/
0x00, /*;REG 9F, VD*/
0x01, /*;REG a0, interger prescale */
0x00, /*;REG a1, accumullation length for prescaler*/
0x00, /*;REG a2, FIR-prefilter and prescaler DC-Normalization */
0x00, /*;REG a3, RESERVE*/
0x80, /*;REG a4, scaler brightness control*/
0x40, /*;REG a5, scaler contrast control*/
0x40, /*;REG a6, scaler saturation control */
0x00, /*;REG a7, RESERVE*/
0x00, /*;REG a8, horizontal scaling increment for luminance*/
0x04, /*;REG a9, horizontal scaling increment for luminance*/
0x00, /*;REG aa, horizontal phase offset*/
0x00, /*;REG ab, RESERVE*/
0x00, /*REG ac, horizontal scaling increment for luminance*/
0x02, /*;REG ad, horizontal scaling increment for luminance*/
0x00, /*;REG ae, horizontal phase offset chrominace*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -