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

📄 601cman.h

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

$Workfile: 601CMAN.H $
$Date: 6/20/97 3:45p $
$Revision: 24 $
* Purpose:	
*			Header for 601 Compression Manager.			
* Notes:       
*
$History: 601CMAN.H $
 * 
 * *****************  Version 24  *****************
 * User: Stevel       Date: 6/20/97    Time: 3:45p
 * Updated in $/601cman
 * Add new function prototype to turn Blue Screen error report on/off.
 * 
 * *****************  Version 23  *****************
 * User: Stevel       Date: 4/18/97    Time: 1:18p
 * Updated in $/601cman
 * Add new function prototype.
 * 
 * *****************  Version 22  *****************
 * User: Stevel       Date: 1/14/97    Time: 11:57a
 * Updated in $/601cman
 * Change the HwConfig4Diag() prototype back to what it waw before .
 * 
 * *****************  Version 21  *****************
 * User: Stevel       Date: 1/10/97    Time: 6:22p
 * Updated in $/601cman
 * Change version #.
 * 
 * *****************  Version 20  *****************
 * User: Stevel       Date: 1/07/97    Time: 6:29p
 * Updated in $/601cman
 * Add a new parameter to HwConfig4Diag().
 * 
 * *****************  Version 19  *****************
 * User: Stevel       Date: 12/13/96   Time: 10:12a
 * Updated in $/601cman
 * Change Version #.
 * 
 * *****************  Version 18  *****************
 * User: Stevel       Date: 7/15/96    Time: 11:34a
 * Updated in $/601cman
 * Change memory capture/playback, file capture/playback and color ramp
 * diag. function prototypes to return full error report.
 * 
 * *****************  Version 17  *****************
 * User: Stevel       Date: 7/02/96    Time: 12:40p
 * Updated in $/601cman
 * Add new function prototype for reporting run time status during capture
 * and plalyback.
 * 
 * *****************  Version 16  *****************
 * User: Dstarr       Date: 7/01/96    Time: 9:21a
 * Updated in $/601cman
 * Add cropping register support
 * 
 * *****************  Version 15  *****************
 * User: Stevel       Date: 6/23/96    Time: 9:24p
 * Updated in $/601cman
 * Add changes to support run time Bin Width Calculation.
 * 
 * *****************  Version 14  *****************
 * User: Stevel       Date: 6/06/96    Time: 1:49p
 * Updated in $/601cman
 * Modify some functions prototype to support new wavelet_int().
 * 
 * *****************  Version 13  *****************
 * User: Stevel       Date: 5/17/96    Time: 5:26p
 * Updated in $/601cman
 * Demo version.
 * 
 * *****************  Version 12  *****************
 * User: Stevel       Date: 5/10/96    Time: 11:30a
 * Updated in $/601cman
 * Add a new parameter in MemCaptureDiag().
 * 
 * *****************  Version 11  *****************
 * User: Stevel       Date: 5/10/96    Time: 10:41a
 * Updated in $/601cman
 * Change the function prototype on ColorRampDiag(), MemCaptureDiag(),
 * MemCaptureDiag().
 * 
 * *****************  Version 10  *****************
 * User: Dstarr       Date: 5/03/96    Time: 12:27p
 * Updated in $/601cman
 * Add calliong args to memcapture diag
 * 
 * *****************  Version 9  *****************
 * User: Dstarr       Date: 5/02/96    Time: 3:20p
 * Updated in $/601cman
 * hwconf4diag now takes input source for arguement
 * 
 * *****************  Version 8  *****************
 * User: Stevel       Date: 4/15/96    Time: 7:43p
 * Updated in $/601cman
 * Add GetBuildDriverInfo() function prototype.
 * 
 * *****************  Version 7  *****************
 * User: Stevel       Date: 4/14/96    Time: 5:29p
 * Updated in $/601cman
 * Add a new functioin prototype LoadCapData2Mem().
 * 
 * *****************  Version 6  *****************
 * User: Stevel       Date: 4/10/96    Time: 3:39p
 * Updated in $/601cman
 * Add  HwConfig4Diag() function prototype.
 * 
 * *****************  Version 5  *****************
 * User: Stevel       Date: 3/26/96    Time: 3:40p
 * Updated in $/601cman
 * 
 * *****************  Version 4  *****************
 * User: Stevel       Date: 3/22/96    Time: 3:43p
 * Updated in $/601cman
 * Some function prototype changes.
 * 
 * *****************  Version 3  *****************
 * User: Stevel       Date: 3/12/96    Time: 2:38p
 * Updated in $/601cman
 * Export all DLL functions for diagnostic test. 
 * 
 * *****************  Version 2  *****************
 * User: Stevel       Date: 3/11/96    Time: 7:37p
 * Updated in $/601cman
 * Minor changes in some function prototypes.
 * 
 * *****************  Version 1  *****************
 * User: Stevel       Date: 3/06/96    Time: 7:53p
 * 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 CMAN601_H
#define CMAN601_H

#include <windows.h>
#include "capplybk.h"
#include "amcc.h"
#include "bw.h"
#include "601error.h"

#define DLLEXPORT __declspec(dllexport)

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// HIGH LEVEL Function prototypes for EXPORT Window API
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
DLLEXPORT Error * WINAPI Stop(void);
DLLEXPORT Error * WINAPI Capture(dword);
DLLEXPORT Error * WINAPI PlayBack(dword, dword, int);
DLLEXPORT Error * WINAPI PlayBackPause(int);
DLLEXPORT Error * WINAPI ColorRampDiag(void);
DLLEXPORT Error * WINAPI MemCaptureDiag(int vformat,int vsource,int pllmode);
DLLEXPORT Error * WINAPI MemPlayBackDiag(void);
DLLEXPORT Error * HwConfig4Diag(int);

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Function prototypes for EXPORT Window API
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
DLLEXPORT int WINAPI HwConfig(void);
DLLEXPORT int WINAPI VideoIOConfig(int, int, int, int);
DLLEXPORT int WINAPI VideoCroppingConfig(int, int, int,	int);

DLLEXPORT int WINAPI SetCaptureCfg(CaptureCfg *);
DLLEXPORT int WINAPI CapturePause(int);
DLLEXPORT int WINAPI SetPlayBackCfg(float *);

DLLEXPORT int WINAPI FastForward(void);
DLLEXPORT int WINAPI FastForwardPause(int);

DLLEXPORT int WINAPI Rewind(void);		// may be we don't need this function

DLLEXPORT int WINAPI GetVITC(void);

DLLEXPORT int WINAPI Open601File(char *);
DLLEXPORT int WINAPI Close601File(void);

DLLEXPORT int WINAPI SetVxdOption(int, int, int, int);


DLLEXPORT DWORD GetCapPlyBkRunTimeStatus(CapPlyBkRTinfo *);
DLLEXPORT int RegisterAppCallBack(DWORD Event, PVOID pProc);

Error *				PrepareErrorReport(void);			

//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Diagnostic function prototypes for EXPORT API
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
DLLEXPORT int WINAPI HwDiag(void);

#define LINKTODLL __declspec(dllimport)


/*  ADV601 Cropping registers */
LINKTODLL   int hstart;
LINKTODLL   int hend;
LINKTODLL   int vstart;
LINKTODLL   int vend;




//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
// Other function prototypes 
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
DLLEXPORT int	 	Load601VxD(EV601 * *);
DLLEXPORT int	 	QueryPCIInfo(void);
DLLEXPORT int	 	Query601Config(void);
DLLEXPORT int		InitBWCalculator(CaptureCfg *);
DLLEXPORT int		Read601Statistic(BWCinput *);
DLLEXPORT int		WriteBWCoeff(BWCoutput *);
DLLEXPORT int		BWCalculationEnable(void);
DLLEXPORT int		BWCalculationDisable(void);
DLLEXPORT int		OpenADV601File(char *);
DLLEXPORT int		ClosADV601File(void);
DLLEXPORT Error *	BashBoard(int, int, int, int, int, byte);
DWORD 				ServiceThread(PVOID);

DLLEXPORT DWORD 	WINAPI BWCalculation(void);
DLLEXPORT DWORD 	WINAPI RPmanAPC(DWORD);
DLLEXPORT int		DumpCap2MemData(char *);
DLLEXPORT int		LoadCapData2Mem(char *);
DLLEXPORT int		GetBuildDriverInfo(char * * *, char * * *);

//-------------------------------------------------------------------------
// Product identifier string defines
//-------------------------------------------------------------------------
#define SZAPPNAME     "601CMAN"
#define SZDESCRIPTION "ADV601 Compression Manager DLL"
#define SZVERSION     "Version 1.6"


//-------------------------------------------------------------------------
// Version string definitions
//-------------------------------------------------------------------------
#define SZRCOMPANYNAME "Analog Devices"
#define SZRDESCRIPTION "FileDescription"
#define SZRVERSION     "FileVersion"
#define SZRAPPNAME     "InternalName"
#define SZRCOPYRIGHT   "LegalCopyright"
#define SZRTRADEMARK   "LegalTrademarks"
#define SZRPRODNAME    "ProductName"
#define SZRPRODVER     "ProductVersion"


#endif  // CMAN601_H

⌨️ 快捷键说明

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