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

📄 saa7182.h

📁 用于TM1300/PNX1300系列DSP(主要用于视频处理)的设备库的源码
💻 H
字号:
/*
 * Copyright (c) 1995,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              : saa7182.h    1.7
 *
 *  Last update              : 18:43:46 - 00/11/09
 *
 *  Description              : 
 *
 *  Initialize and control routines for saa7182 DENC (video output).
 *
 *  Revision                 :
 *		Built for the TCS 2.0 release
 *      
 *		
 */

#ifndef _SAA7182_H
#define _SAA7182_H

#include <tm1/tmBoard.h>	/* for subaddInfo_t */
#include <tm1/tmVOboard.h>	/* for subaddInfo_t */

#include <tm1/tmAvFormats.h>
#include <tmlib/tmtypes.h>

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

#define SAA7182_SUPPORTED_STANDARDS	(vasNone | vasNTSC | vasPAL | vasSECAM)
#define SAA7182_SUPPORTED_ADAPTERS	(vaaNone | vaaCVBS | vaaSvideo)

/****  Public Init function ****/  
extern tmLibdevErr_t saa7182Init(pboardVOParam_t param);

/****  Public Config function ****/  
extern tmLibdevErr_t saa7182Configure(UInt32 subaddr, UInt32 value);

/************************** Turn Denc DAC on  *****************************/
extern tmLibdevErr_t saa7182Start(tmVideoAnalogStandard_t standard);

/************************** Turn Denc DAC off  *****************************/
extern tmLibdevErr_t saa7182Stop(tmVideoAnalogStandard_t standard);

extern tmLibdevErr_t saa7182SetBrightness(UInt val);

#if defined(__cplusplus)
}
#endif

#endif

⌨️ 快捷键说明

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