tbl_init_page0.h
来自「1、基于韩国at2041芯片开发的Linux环境的DVR代码。 2、以原来代码」· C头文件 代码 · 共 120 行
H
120 行
//* set tabstop=4 */
/********************************************************************************
* *
* Copyright(C) 2004 Penta-Micro *
* *
* ALL RIGHT RESERVED *
* *
* This software is the property of Penta-Micro and is furnished under *
* license by Penta-Micro. This software may be used only in accordance *
* with the terms of said license. This copyright notice may not be *
* removed, modified or obliterated without the prior written permission *
* of Penta-Micro. *
* *
* This software may not be copyed, transmitted, provided to or otherwise *
* made available to any other person, company, corporation or other entity *
* except as specified in the terms of said license. *
* *
* No right, title, ownership or other interest in the software is hereby *
* granted or transferred. *
* *
* The information contained herein is subject to change without notice and *
* should not be construed as a commitment by Penta-Micro. *
* *
********************************************************************************
MODULE NAME: tbl_init_page0.h
REVISION HISTORY:
Date Ver Name Description
---------- --- --------------------- -----------------------------------------
05/04/2005 1.0 JiGwanKang(xchannel) Created
...............................................................................
DESCRIPTION:
This Module contains definition for TW2834 register value
...............................................................................
*/
//==================================================================================
// Page0 initialize table description
//==================================================================================
//-------------------------- NTSC ------------------------------//
unsigned char tbl_ntsc_page0_common[] = {
// CH1 CH2 CH3 CH4
//0x00,0xc4,0xa5,0x1a, //... 0x00~0x03 0x40~0x43 0x80~0x83 0xc0~0xc3
0x00,0xc4,0xa5,0x1a, //... 0x00~0x03 0x40~0x43 0x80~0x83 0xc0~0xc3
0xd0,0x1a,0xd0,0x88, //... 0x04~0x07 0x44~0x47 0x84~0x87 0xc4~0xc7
0x20,0x06,0xf0,0x06, //... 0x08~0x0b 0x48~0x4b 0x88~0x8b 0xc8~0xcb
0xf0,0x00,0xd2,0x80, //... 0x0c~0x0f 0x4c~0x4f 0x8c~0x8f 0xcc~0xcf
0x80,0x80,0x80,0x1f, //... 0x10~0x13 0x50~0x53 0x90~0x93 0xd0~0xd3
//org 0x50,0x00,0x00,0x00, //... 0x14~0x17 0x54~0x57 0x94~0x97 0xd4~0xd7
0xfc,0xa5,0x40,0x40, //... 0x14~0x17 0x54~0x57 0x94~0x97 0xd4~0xd7 // filter test
0x7f,0xff,0x7f,0xff, //... 0x18~0x1b 0x58~0x5b 0x98~0x9b 0xd8~0xdb
0x7f,0xff,0x7f,0xff, //... 0x1c~0x1f 0x5c~0x5f 0x9c~0x9f 0xdc~0xdf
0x07,0x07,0x00,0x11 //... 0x20~0x23 0x60~0x63 0xa0~0xa3 0xe0~0xe3
};
unsigned char tbl_ntsc_page0_sfr1[] = {
0x00,0x00,0x00,0x00, //... 0x38~0x3b
0x80,0x80,0x82,0x82 //... 0x3c~0x3f
};
unsigned char tbl_ntsc_page0_sfr2[] = {
0xa0,0x00,0x00,0x00, //... 0x78~0x7b //... 0x78:0x80->0xa0 on 050222
0x0f,0x00,0x00,0x00 //... 0x7c~0x7f //... 0x7c:0x08->0x0f on 050218
};
unsigned char tbl_ntsc_page0_sfr3[] = {
0x05,0x00,0x00,0x00, //... 0xb8~0xbb
0x00,0x00,0x00,0x00 //... 0xbc~0xbf
};
unsigned char tbl_ntsc_page0_sfr4[] = {
0x0a,0x40,0x3c,0x10, //... 0xf8~0xfb
//org 0xf0,0x00,0x08,0x00 //... 0xfc~0xff
0x00,0x00,0x08,0x00 //... 0xfc~0xff // anti aliasing filter on
};
//=================================================================================
//-------------------------- PAL ------------------------------//
unsigned char tbl_pal_page0_common[] = {
// CH1 CH2 CH3 CH4
//0x00,0x84,0xa5,0x22, //... 0x00~0x03 0x40~0x43 0x80~0x83 0xc0~0xc3
0x00,0x84,0xa5,0x22, //... 0x00~0x03 0x40~0x43 0x80~0x83 0xc0~0xc3
0xd0,0x22,0xd0,0x88, //... 0x04~0x07 0x44~0x47 0x84~0x87 0xc4~0xc7
0x20,0x05,0x20,0x05, //... 0x08~0x0b 0x48~0x4b 0x88~0x8b 0xc8~0xcb
0x20,0x0a,0xd2,0x80, //... 0x0c~0x0f 0x4c~0x4f 0x8c~0x8f 0xcc~0xcf
0x80,0x80,0x80,0x2f, //... 0x10~0x13 0x50~0x53 0x90~0x93 0xd0~0xd3
//org 0x50,0x00,0xc0,0xc0, //... 0x14~0x17 0x54~0x57 0x94~0x97 0xd4~0xd7
0x50,0xa0,0xc0,0xc0, //... 0x14~0x17 0x54~0x57 0x94~0x97 0xd4~0xd7
0x7f,0xff,0x7f,0xff, //... 0x18~0x1b 0x58~0x5b 0x98~0x9b 0xd8~0xdb
0x7f,0xff,0x7f,0xff, //... 0x1c~0x1f 0x5c~0x5f 0x9c~0x9f 0xdc~0xdf
//org 0x07,0x0f,0x00,0x11 //... 0x20~0x23 0x60~0x63 0xa0~0xa3 0xe0~0xe3
0x07,0x07,0x00,0x11 //... 0x20~0x23 0x60~0x63 0xa0~0xa3 0xe0~0xe3
};
unsigned char tbl_pal_page0_sfr1[] = {
0x00,0x00,0x00,0x00, //... 0x38~0x3b
0x80,0x80,0x82,0x82 //... 0x3c~0x3f
};
unsigned char tbl_pal_page0_sfr2[] = {
0xa0,0x00,0x00,0x00, //... 0x78~0x7b
0x0f,0x00,0x00,0x00 //... 0x7c~0x7f //... 0x7c:0x08->0x0f on 050218
};
unsigned char tbl_pal_page0_sfr3[] = {
0x05,0x00,0x00,0x00, //... 0xb8~0xbb
0x00,0x00,0x00,0x00 //... 0xbc~0xbf
};
unsigned char tbl_pal_page0_sfr4[] = {
0x0a,0x40,0x3c,0x10, //... 0xf8~0xfb
0x00,0x00,0x08,0x00 //... 0xfc~0xff
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?