
#if !defined(__RV_BCR_H_INCLUDED_)
#define      __RV_BCR_H_INCLUDED_

#ifdef BCR_EXPORTS
#define BCR_API  __declspec(dllexport)
#else
#define BCR_API __declspec(dllimport)
#endif

#include <cali\AreaCal.h>


#define BL_1D      1
#define BL_2D      (1<<1)  //
#define BL_DMAT    (1<<2)  //BC_DATAMATRIX

#define   RV_UC_BARCODE_1D     (RV_UC_BARCODE_READER + 1)
#define   RV_UC_BARCODE_2D     (RV_UC_BARCODE_READER + 2) 
#define   RV_UC_LASER_BARCODE_2D     (RV_UC_BARCODE_READER + 3)
#define   RV_UC_LASER_DATA_MATRIX    (RV_UC_BARCODE_READER + 4)

#define MAX_BARCODE_COUNT      16
 
#define MIN_BAR_SIZE           12

//ÌõÂëÍ¼Ïñ³ß´ç 
#define MAX_BARCODE_IMAGE_SIZE    512
#define MAX_BARCODE_BLOBCK_COUNT  128

 int DecodeDataMatrix(  RvImage image, CUtString& strOut, int timeout);
 int DecodeWithZbar( const RvImage imTarget, int& symbolType, CUtString& strOut );

#endif