Lines Matching refs:WIDTH
40 #define WIDTH 64
43 static uint8_t img1[WIDTH * HEIGHT];
44 static uint8_t img2[WIDTH * HEIGHT];
78 fill_random(img1, WIDTH * HEIGHT);
79 fill_random(img2, WIDTH * HEIGHT);
82 for(x=0;x<WIDTH-17;x++) {
83 ptr = img2 + y * WIDTH + x;
84 d1 = test_func(NULL, img1, ptr, WIDTH, 8);
85 d2 = ref_func(NULL, img1, ptr, WIDTH, 8);
99 for(x=0;x<WIDTH-17;x++) {
100 ptr = img2 + y * WIDTH + x;
101 d1 += test_func(NULL, img1, ptr, WIDTH, 8);
110 (double)NB_ITS * (WIDTH - 16) * (HEIGHT - 16) /