?? camengine.h
字號:
// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the CAMENGINE_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see
// CAMENGINE_API functions as being imported from a DLL, wheras this DLL sees symbols
// defined with this macro as being exported.
//#pragma comment(lib, "Debug/CamEngine.h")
#ifdef CAMENGINE_EXPORTS
#define CAMENGINE_API __declspec(dllexport)
#else
#define CAMENGINE_API __declspec(dllimport)
#endif
#define SENSOR_17_SMALL 0
#define SENSOR_17_MIDDLE 1
int g_RectifyParm[8][8] = {31,31,606,31,121,463,521,463,
25,6,609,6,104,475,538,475};
int g_SensorID = 0;
#ifdef __cplusplus
extern "C"
{
#endif
// This class is exported from the CamEngine.dll
class CAMENGINE_API CCamEngine {
public:
CCamEngine(void);
// TODO: add your methods here.
};
extern CAMENGINE_API int nCamEngine;
CAMENGINE_API int fnCamEngine(void);
CAMENGINE_API int Camera_Init(void);
CAMENGINE_API int Camera_Exit(void);
CAMENGINE_API int Camera_Capture(BYTE *lpImage, BYTE sensorID);
CAMENGINE_API int Camera_CaptureToFile(LPCSTR lpszFileName, BYTE *lpImage, BYTE sensorID);
CAMENGINE_API void Camera_Pause();
CAMENGINE_API void Camera_Run();
#ifdef __cplusplus
}
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -