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

📄 tw98.h

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的设备库的源码
💻 H
字号:
/*
 * Copyright (c) 1999 by TriMedia Technologies. 
 *
 * +------------------------------------------------------------------+
 * | This software is furnished under a license and may only be used  |
 * | and copied in accordance with the terms and conditions of  such  |
 * | a license and with the inclusion of this copyright notice. This  |
 * | software or any other copies of this software may not be provided|
 * | or otherwise made available to any other person.  The ownership  |
 * | and title of this software is not transferred.                   |
 * |                                                                  |
 * | The information in this software is subject  to change without   |
 * | any  prior notice and should not be construed as a commitment by |
 * | TriMedia Technologies.                                           |
 * |                                                                  |
 * | this code and information is provided "as is" without any        |
 * | warranty of any kind, either expressed or implied, including but |
 * | not limited to the implied warranties of merchantability and/or  |
 * | fitness for any particular purpose.                              |
 * +------------------------------------------------------------------+
 *
 *  Module name              : tw98.h  1.1                 
 *
 *  Last update              : 19:04:42  -  99/09/16         
 *
 *  Description              :
 *
 */
 
#include <tmlib/tmtypes.h>
#include <tm1/tmVIboard.h>

#ifndef _TW98_H_
#define _TW98_H_


#define TW98_IIC_ADDRESS            0x88

#define TW98_SUPPORTED_STANDARDS    (vasNone | vasNTSC | vasPAL)
#define TW98_SUPPORTED_ADAPTERS     (vaaNone | vaaCVBS | vaaSvideo)
#define TW98_CAPABILITIES_FLAGS     (vcapNone)
#define TW98_OUTPUT_FORMATS         (vdfNone)

#if	defined(__cplusplus)
extern	"C"	{
#endif	/* defined(__cplusplus) */


extern tmLibdevErr_t tw98Init(pboardVIDec_t pVD, pboardVIParam_t param);

extern tmLibdevErr_t tw98SetBrightness(pboardVIDec_t pVD, UInt val);
extern tmLibdevErr_t tw98SetContrast(pboardVIDec_t pVD, UInt val);
extern tmLibdevErr_t tw98SetHue(pboardVIDec_t pVD, UInt val);
extern tmLibdevErr_t tw98SetAnalogInput(pboardVIDec_t pVD, UInt num);
extern tmLibdevErr_t tw98GetAnalogInput(pboardVIDec_t pVD, UInt *num);
extern tmLibdevErr_t tw98SetStandard(pboardVIDec_t pVD, tmVideoAnalogStandard_t standard);
extern tmLibdevErr_t tw98GetDefaultAcquisitionWnd(pboardVIDec_t pVD, UInt *beginX, UInt *beginY, UInt *endX, UInt *endY);
extern tmLibdevErr_t tw98Configure(pboardVIDec_t pVD, UInt32 subaddr, UInt32 value);
extern tmLibdevErr_t tw98GetVSyncFallingEdge(pboardVIDec_t pVD, UInt *line);

#if	defined(__cplusplus)
}
#endif	/* defined(__cplusplus) */

#endif /* _TW98_H_ */

⌨️ 快捷键说明

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