#ifndef EMVT_H
#define EMVT_H
#define MAXIMAGE 4
#define BLOCK_SIZE 16
#define ROWS 288
#define COLS 352
#define BROWS 18
#define BCOLS 22
//#define MAXBCOL 1
//#define MAXBROW 1
#define MAXBCOL BCOLS
#define MAXBROW BROWS
#define MAXVAL 255
#define EXCURSION 32 // (-32..31)


extern unsigned char cur_block[BLOCK_SIZE][BLOCK_SIZE] ;
extern unsigned char ref_block[BLOCK_SIZE+2*EXCURSION][BLOCK_SIZE+2*EXCURSION] ;
extern char ref_dx,ref_dy ;
#endif
