#ifndef _CPB_GLOBAL_H_
#define _CPB_GLOBAL_H_

#include "Processing.h"

#ifndef PC_SIM
extern unsigned char CaptureImage_Buffer[PROCESSING_WIDTH * PROCESSING_HEIGHT];
extern unsigned char ResultImage_Buffer[PROCESSING_WIDTH * PROCESSING_HEIGHT];
#else
extern unsigned char *CaptureImage_Buffer;
extern unsigned char *ResultImage_Buffer;
#endif

extern TDefectData DefectData_CPB;
extern TInspectData InspectData;
extern TTPBInspectionData InspectData_TPB;
extern int CPB_CORE_NUMBER;
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */

#ifdef PC_SIM
	void InitGlobal();
	void ExitGlobal();
#endif

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif
