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

📄 tw2834.h

📁 TW2834的驱动程序设计。包括各个寄存器标准值设计。对于理解TW2834与ITU656非常有帮助
💻 H
字号:
 /* extdrv/include/tw2834.h
 *
 *
 * Copyright (c) 2006 Hisilicon Co., Ltd.
 *
 * History:
 *     10-Apr-2006 Start of Hi3510 tw2834 support
 *     2006-05-23  add record path 2 cif mod
 *     2006-08-12  adjust the order of the record path mod define
 */

#ifndef _TW2834_H
#define _TW2834_H

/*define the norm of input*/
#define VIDEO_NORM_NTSC         1
#define VIDEO_NORM_PAL          0

/************* io control parameter******************/
#define TW2834_READ_REG         0x01
#define TW2834_SET_REG          0x02

#define TW2834_SET_BRIGHT       0x05
#define TW2834_SET_CONTRAST     0x06
#define TW2834_SET_HUE          0x07
#define TW2834_SET_SAT          0x08
#define TW2834_GET_P_N          0x09

#define TW2834_SETNORM          0x10 /*16*/

#define TW2834_SET_1D1          0x11 /*17*/
#define TW2834_SET_1CIF         0x12 /*18*/
#define TW2834_SET_2HALF_D1     0x13 /*19*/
#define TW2834_SET_2CIF         0x14 /*20*/
#define TW2834_SET_4D1          0x15 /*21*/
#define TW2834_SET_4CIF         0x16 /*22*/
#define TW2834_SET_4QCIF        0x17 /*23*/

#define TW2834_SET_Y_SWITCH     0x19 /*25*/

#define TW2834_SET_X_D1         0x20 /*32*/
#define TW2834_SET_X_QUAD       0x21 /*33*/

#define TW2834_SET_VBI_OFFSET_V 0x30 /*48*/
#define TW2834_GET_VBI_OFFSET_V 0x31 /*49*/
#define TW2834_GET_VBI_OFFSET_H 0x32 /*50*/


#endif

⌨️ 快捷键说明

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