#include #define MBSIZE 16 /* size of a macroblock */ #define SEARCHSIZE 200 /* size of search area */ int blk[MBSIZE][MBSIZE]; /* the macroblock to be tested */ int search[SEARCHSIZE][SEARCHSIZE]; /* the search area */ int main (int argc, char * const argv[]) { int x, y, i, j, result, min=32767, minx=0, miny=0; /* search the entire search area */ for (x=0; x */ for (i=0, result=0; i\n"; return 0; }