bit1601.h

来自「dvr」· C头文件 代码 · 共 47 行

H
47
字号
/*
********************************************************************************
*
* (c) Copyright 2002, Vineyard Technologies, Inc.
*
* Filename : bit1601.h
* Programmer(s): Steve KyeongHyeon Lee
* Created : 2003/05/07
* Modified :
*
* Description :
********************************************************************************
*/

#ifndef TW2804

#ifndef __BIT1601_H__
#define __BIT1601_H__

#include "types.h"

#define YUV_MAD_1                   0x40
#define YUV_MAD_2                   0x42
#define YUV_MAD_3                   0x48
#define YUV_MAD_4                   0x4A


void bit1601_init(u8 ntsc_pal);
u8   bit1601_write(u8 ch, u8 idx, u8 val);
u8   bit1601_read(u8 ch, u8 idx);
u8   bit1601_read_video_active(void);

#if USE_ADJ
extern void YUV_SetBrightness(u8 bAddr, u8 bBrightness);
extern void YUV_SetContrast(u8 bAddr, u8 bContrast);
extern void YUV_SetSaturation(u8 bAddr, u8 bSaturation);
extern void YUV_SetColorTemp(u8 bAddr, u8 bColorTemp);
#endif

#endif // __bit1601_H__

#endif // TW2804




⌨️ 快捷键说明

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