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

📄 prev.h

📁 dm270 source code
💻 H
字号:
/*
    DM270 ARM Evaluation Software

    (c)Texas Instruments 2003
*/

/** \defgroup PREV_USER Preview Engine User APIs */
/*@{*/


/** \file prev.h
	\brief Preview Engine User APIs
*/

#ifndef __PREV_H__
#define __PREV_H__

#include <system/prev270.h>
#include <user/ccdm.h>

/**
	\brief Preview Engine user configuration parameters

	\see Preview Engine system APIs (PREV)
*/
typedef struct {
	PREV_ConfigData		*prevConfig;			///<  Preview Engine configuration parameters
	PREV_ModeData		*prevMode;				///<  Preview Engine mode parameters
	PREV_WbData			*whiteBalance;			///<  Preview Engine white balance parameters
	PREV_Rgb2RgbData	*rgb2rgb;				///<  Preview Engine RGB to RGB transformation parameters
	PREV_Rgb2YuvData	*rgb2yuv;				///<  Preview Engine RGB to YUV transformation parameters
	Int8				offsetR;				///<  Black compensation parameter for R color
	Int8				offsetG;				///<  Black compensation parameter for G color
	Int8				offsetB;				///<  Black compensation parameter for B color
	Uint8				gammaTable;				///<  Gamma table 0 or 1 select
	BOOL				enableGammaR;			///<  Enable gamma for R color
	BOOL				enableGammaG;			///<  Enable gamma for G color
	BOOL				enableGammaB;			///<  Enable gamma for B color
	Uint8				contrastGainY;			///<  Contrast adjustment gain for Y component
	Uint8				contrastOffsetY;		///<  Contrast adjustment offset for Y component
	BOOL				colorSupEnable;			///<  Enable/Disable color suppression
	Uint8				colorSupThreshold;		///<  Color suppression threshold
	Uint8				colorSupGain;			///<  Color suppression gain
	Uint8				minY;					///<  Min Y value
	Uint8				maxY;					///<  Max Y value
	Uint8				minC;					///<  Min C value
	Uint8				maxC;					///<  Max C value
} PREV_UserConfig;


STATUS PREVInit( PREV_UserConfig *prevUserConfig);
STATUS PREVSetMode( CCDM_ID ccdmID, Uint16 mode);


#endif	/*	__PREV_H__	*/


/*@}*/


⌨️ 快捷键说明

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