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

📄 capplybk.h

📁 视频601芯片的驱动源码,你可以完全掌控该芯片了,对于其它多媒体芯片的设计具有参考价值
💻 H
字号:
/*------------------------------------------------------------------------

$Workfile: CAPPLYBK.H $
$Date: 12/10/96 4:42p $
$Revision: 9 $
* Purpose:	
*			Header for Capture and Play Back configuration.			
* Notes:       
*			This header file is also shared by some modules needed to build 
*			601rpman.vxd.
$History: CAPPLYBK.H $
 * 
 * *****************  Version 9  *****************
 * User: Stevel       Date: 12/10/96   Time: 4:42p
 * Updated in $/601cman
 * 
 * *****************  Version 8  *****************
 * User: Stevel       Date: 7/24/96    Time: 8:14p
 * Updated in $/601rpman/ihbmbwc
 * Add a new field that we might need in the future.
 * 
 * *****************  Version 7  *****************
 * User: Stevel       Date: 7/08/96    Time: 2:49p
 * Updated in $/601rpman/ihbmbwc
 * Add new constant for Rewind.
 * 
 * *****************  Version 6  *****************
 * User: Stevel       Date: 7/02/96    Time: 12:41p
 * Updated in $/601cman
 * Add new fields in CapPlyBkRTinfo structure.
 * 
 * *****************  Version 5  *****************
 * User: Stevel       Date: 6/26/96    Time: 12:36p
 * Updated in $/601rpman/ihbmbwc
 * Add a new structure used to export Capture/Playback status. This 
 * structure is shared by both Ring 0 and Ring 3 codes.
 * 
 * *****************  Version 4  *****************
 * User: Stevel       Date: 6/23/96    Time: 9:27p
 * Updated in $/601cman
 * Add changes to support run time Bin Width Calculation.
 * 
 * *****************  Version 3  *****************
 * User: Stevel       Date: 5/23/96    Time: 2:59p
 * Updated in $/601rpman
 * Add a new field in CapPlyBk structure.
 * 
 * *****************  Version 2  *****************
 * User: Stevel       Date: 3/12/96    Time: 2:40p
 * Updated in $/601cman
 * Add two new fields in CapVideoCfg structure.
 * 
 * *****************  Version 1  *****************
 * User: Stevel       Date: 3/06/96    Time: 7:54p
 * Created in $/601cman
 * Initial release

  
    This code and information is provided "as is" without warranty of any
    kind, either expressed or implied, including but not limited to the
    implied warranties of merchantability and/or fitness for a particular
    purpose.
  
    1996 Analog Devices, Inc. 
  
-------------------------------------------------------------------------*/
#ifndef	CAPPLYBK_H
#define	CAPPLYBK_H

#include "globsym.h"

//-------------------------------------------------------------------------
// Action Status definition
//-------------------------------------------------------------------------
enum 
{
	A_Start = 0,
	A_Stop,
	A_Pause_On,
	A_Pause_Off
};

//-------------------------------------------------------------------------
// Capture/Playback state definition
//-------------------------------------------------------------------------
enum 
{
	S_Stop	= 0,
	S_Capture,
	S_CapturePause,
	S_CaptureResume,
	S_PlayBack,
	S_PlayBackPause,
	S_PlayBackResume,
	S_PlayBackFF,
	S_PlayBackFFPause,
	S_PlayBackFFResume,
	S_MemCaptureDiag,
	S_MemPlayBackDiag,
	S_ColorRampPlyBkDiag,
	S_PlayBackREW
};

typedef	struct CapVideoCfg
{
	word		VideoFormat;
	word		VideoSrc;
	word		VideoOut;
	word		VCRmode;
	word		PixelType;				 
}	CapVideoCfg;


typedef	struct CaptureCfg
{
	word		Resolution;
	word		Contrast;
	word		Saturation;
	word		Balance;
	word		ImageType;
	float		BitPerPixel;
    float * 	pAlphaGain;
    float * 	pBetaGain;
	word		SceneDetectFlg;
	word		SpecialEffectFlg;
}	CaptureCfg;


// This structure contain information and status of some of
// the AMCC and ADV601 registers during capture and playback.
typedef struct CapPlyBkRTinfo
{
	dword		ADV601_INTCSR;		// status of ADV601 INTCSR reg. (from 601rpman)
	dword		AMCC_INTCSR;		// status of AMCC INTCSR reg. (from 601rpman)
	dword		AMCC_MWAR;			// status of AMCC MWAR reg. (from 601rpman)
	dword		AMCC_MWTC;			// status of AMCC MWTC reg. (from 601rpman)
	dword		AMCC_MRAR;			// status of AMCC MRAR reg. (from 601rpman)
	dword		AMCC_MRTC;			// status of AMCC MRTC reg. (from 601rpman)
	dword		IntSrvCnt;			// # of interrupts have been served (from 601rpman)
	dword		TotalByteCnt;		// # of total bytes have been xfered (from 601rpman)
	dword		FioEventDone;		// status of scheduling File I/O event (from 601rpman)
	dword		FIOSrvCnt;			// # of File I/O have been schduled (from 601rpman)
	dword		BufIdx;				// the current buffer being used for data xfer (from 601rpman)
	dword		SkipFIFOErrCnt;		// # of FIFO error interrupts were ignored (from 601rpman)
	dword		StatRdyCnt;			// # of statistic ready interrupts have been served (from 601rpman)
	dword		WatchIntCnt;		//
	dword		BMXferIntCnt; 
	dword		BWCcnt;				// # of Bin Width calculations have been done (from 601cman)
	//dword		FieldCnt;
} CapPlyBkRTinfo;

#endif	// CAPPLYBK_H


⌨️ 快捷键说明

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