saa7125.h

来自「SAA7125在psos下的驱动程序,相当详细.」· C头文件 代码 · 共 74 行

H
74
字号
/*
 * Copyright (c) 1995,1996,1997 by Philips Semiconductors.
 *
 * +------------------------------------------------------------------+
 * | 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 |
 * | Philips Semiconductors.                                          |
 * |                                                                  |
 * | 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              : saa7125.h   1.14
 *
 *  Last update              : 10:48:34 - 98/05/29
 *
 *  Description              : 
 *
 *  Initialize and control routines for saa7125 DENC (video output).
 *
 *  Revision                 :
 *		Built for the TCS 1.1 release
 *		
 */

#ifndef _SAA7125_H
#define _SAA7125_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 SAA7125_SUPPORTED_STANDARDS	(vasNone | vasNTSC | vasPAL)
#define SAA7125_SUPPORTED_ADAPTERS	(vaaNone | vaaCVBS | vaaSvideo)


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

/****  Public Config function ****/  
extern tmLibdevErr_t saa7125Configure(unsigned long subaddr, unsigned long value);

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

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

extern tmLibdevErr_t saa7125SetBrightness(unsigned int val);
extern tmLibdevErr_t saa7125SetContrast(unsigned int val);
extern tmLibdevErr_t saa7125SetSaturation(unsigned int val);
extern tmLibdevErr_t saa7125SetHue(unsigned int val);

#if defined(__cplusplus)
}
#endif

#endif

⌨️ 快捷键说明

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