📄 tw2834_config.h
字号:
#endif};static const unsigned char tbl_page1_y_ch_nrml_pic_quad[] ={// function mode, dec path, many property & recall for each channel// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F// 0x00,0x02,0x00,0x01,0x02,0x00,0x02,0x02, 0x00,0x03,0x02,0x00,0x00,0xe4,0x00,0x00 //... 0x60 // disable 0x80,0x00,0x00,0x81,0x00,0x00,0x82,0x00, 0x00,0x83,0x00,0x00,0x00,0xe4,0x00,0x00 //... 0x60 // channel};static const unsigned char tbl_page1_cas_popup[] = {// popup & position control for Cascade or Path Overlay// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F// 0xc0,0x00,0x1f,0x00,0x00,0x00,0x00,0x00, 0x04,0xff,0x00,0x00,0x00,0x00//0x22//,0x00,0x41 //... 0x70 0x40,0x00,0x1f,0x00,0x00,0x00,0x00,0x00, 0x04,0xf0,0x00,0x00,0x00,0x00//0x22//,0x00,0x41 //... 0x70 // 0x70 from 0xc0 to 0x40,for Y path no popup,this is for 2834 cscade,only this can record work well! 2007.3.9 by wangdy// disable motion irq 0x79=0xff-->0x79=0xf0;};//-------------------------- NTSC ------------------------------////=============================================================static const unsigned char tbl_ntsc_page1_enc[] = {// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F//0x77,0x23,0x55,0x01,0xc8,0x10,0x00,0x0d, 0x20,0x09,0xaa,0x00//,0x08,0x66,0x00 // 0x80 ~ 0x8e 0x77,0x88,0x88,0x01,0xc0,0x10,0x00,0x0d, 0x19,0x4c,0xaa,0x00//,0x08,0x66,0x00 // 0x80 ~ 0x8e/* 1x84 =0x8c or 0x80 odd even order for Y path */}; //delete 1x8c,1x8d,1x8e; 2006.12.13 by wangdongyang//-------------------------- PAL ------------------------------////=============================================================static const unsigned char tbl_pal_page1_enc[] = {// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F//0x77,0x11,0x55,0x01,0xc0,0x10,0x00,0x0d, 0x20,0x4c,0xaa,0x00//,0x08,0x66,0x00 // ... 0x80 ~ 0x8e 0x77,0x88,0x88,0x01,0xc0,0x10,0x00,0x0d, 0x20,0x4c,0xaa,0x00//,0x08,0x66,0x00 // ... 0x80 ~ 0x8e //shoutdown DAC of tw2834 2007-6-22};//=============================================================static const unsigned char tbl_page1_channel_id_ctrl[] = {// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F// 0x1f,0x00,0x3f,0xeb,0x10,0x00,0x00,0x00, 0x00,0x00,0x1f,0x00,0x3f,0x80,0x00,0x00 //... 0xc0 ~ 0xcd 0x50,0xc0,0x00,0x1f,0xe7,0xeb,0x10,0x00, 0x00,0xd0,0x00,0x1f,0xe7,0x80,0x00,0x00 //... 0xc0 ~ 0xcd};static const unsigned char tbl_page1_channel_id_data_x[] = {// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 0x01,0x23,0x45,0x67,0x89,0xab,0xcd,0xef, 0x5a,0xa5,0x5a,0xa5,0x5a,0xa5,0x5a,0xa5 //... 0xd0 ~ 0xdf};static const unsigned char tbl_page1_channel_id_data_y[] = {// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 0xa5,0x5a,0xa5,0x5a,0xa5,0x5a,0xa5,0x5a, 0xfe,0xdc,0xba,0x98,0x76,0x54,0x32,0x10 //... 0xe0 ~ 0xef};//==============================================================//==============================================================// Page2 initialize table description//==============================================================//==============================================================//-------------------------- PAGE 2 ------------------------------//static const unsigned char tbl_page2_cur_3d_box[] = // 96 EA{// 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 0xb0,0x00,0x00,0x00,0x01,0x10,0x32,0x54, 0x76,0x98,0xba,0xdc,0xfe,0x00,0x00,0x00, //... 0x00 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x10 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x20 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x30 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, //... 0x40 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 //... 0x50};static const unsigned char tbl_ntsc_page2_ary_box[] = // 32 EA{ 0x84,0x4c, 1,0x0a, 0x00,0x09,0xfb,0x00, // 0x60 ~ 0x84,0x4c,0x5b,0x0a, 0x00,0x09,0xfb,0x00, // 0x68 ~ 0x84,0x4c, 1,0x0a, 0x3c,0x09,0xfb,0x00, // 0x70 ~ 0x84,0x4c,0x5b,0x0a, 0x3c,0x09,0xfb,0x00 // 0x78 ~};static const unsigned char tbl_pal_page2_ary_box[] = // 32 EA{ 0x84,0x4c, 1,0x0a, 0x00,0x0b,0xfb,0x00, // 0x60 ~ 0x84,0x4c,0x5b,0x0a, 0x00,0x0b,0xfb,0x00, // 0x68 ~ 0x84,0x4c, 1,0x0a, 0x48,0x0b,0xfb,0x00, // 0x70 ~ 0x84,0x4c,0x5b,0x0a, 0x48,0x0b,0xfb,0x00 // 0x78 ~};static const unsigned char tbl_page2_motn_sens[] = // 6 EA{ 0x17,0x08,0x6a,0x07,0x00,0x24 //... 0x80 ~ 0x85};static const unsigned char tbl_page2_motn_mask[] = // 24 EA{ 0x00,0x00, //... 0x86 ~ 0x87 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, //... 0x88 ~ 0x8f 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, //... 0x90 ~ 0x97 0x00,0x00,0x00,0x00, 0x00,0x00 //... 0x98 ~ 0x9d};/* add scale related regs; preview position convert to fixed position and set fixed scale rate *//* 2007.3.15 wangdy*///tableunsigned int hscale1[] = {0xff7f,0xff7f};unsigned int vscale1[] = {0xffff,0xffff};unsigned int hscale4[] = {0x75ff,0x76ff};unsigned int vscale4[] = {0x7aff,0x80ff};unsigned int hscale9[] = {0x4fff,0x4fff};unsigned int vscale9[] = {0x5060,0x54f0};unsigned int hscale16[] = {0x3d00,0x3d00};unsigned int vscale16[] = {0x3e00,0x4000};static const unsigned char preview_position_1[]={ //left right top bottom 10, 172, 2, 134, //pal 10, 172, 2, 113, //ntsc addr=1*4};static const unsigned char preview_position_4[]={ //left right top bottom 11, 91, 2, 68, //pal 91, 171, 2, 68, 11, 91, 68, 134, 91, 171, 68, 134, //left right top bottom 11, 91, 2, 58, //ntsc addr=4*4 91, 171, 2, 58, 11, 91, 58, 113, 91, 171, 58, 113,};static const unsigned char preview_position_9[]={ //split for 9 table //left right top bottom 11, 64, 2, 46, //pal 64, 117, 2, 46, 117, 171, 2, 46, 11, 64, 46, 90, 64, 117, 46, 90, 117, 171, 46, 90, 11, 64, 90, 134, 64, 117, 90, 134, 117, 171, 90, 134, //left right top bottom 11, 64, 2, 39, //ntsc addr =9*4 64, 117, 2, 39, 117, 171, 2, 39, 11, 64, 39, 76, 64, 117, 39, 76, 117, 171, 39, 76, 11, 64, 76, 113, 64, 117, 76, 113, 117, 171, 76, 113,}; static const unsigned char preview_position_16[]={ //split for 16 table //left right top bottom 11, 51, 2, 35, //pal 51, 91, 2, 35, 91, 131, 2, 35, 131, 171, 2, 35, 11, 51, 35, 68, 51, 91, 35, 68, 91, 131, 35, 68, 131, 171, 35, 68, 11, 51, 68, 101, 51, 91, 68, 101, 91, 131, 68, 101, 131, 171, 68, 101, 11, 51, 101, 134, 51, 91, 101, 134, 91, 131, 101, 134, 131, 171, 101, 134, //left right top bottom 11, 51, 2, 30, //ntdc addr=16*4 = split_num*4 51, 91, 2, 30, 91, 131, 2, 30, 131, 171, 2, 30, 11, 51, 30, 58, 51, 91, 30, 58, 91, 131, 30, 58, 131, 171, 30, 58, 11, 51, 58, 86, 51, 91, 58, 86, 91, 131, 58, 86, 131, 171, 58, 86, 11, 51, 86, 113, 51, 91, 86, 113, 91, 131, 86, 113, 131, 171, 86, 113,};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -