summaryrefslogtreecommitdiff
path: root/tests/make_png/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/make_png/bitmap.h')
-rw-r--r--tests/make_png/bitmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/make_png/bitmap.h b/tests/make_png/bitmap.h
index 95b97ceab..51e05cdec 100644
--- a/tests/make_png/bitmap.h
+++ b/tests/make_png/bitmap.h
@@ -21,6 +21,7 @@
#define BITS_PER_PIXEL_RGBA 32
#define MAX(a, b) ((a) > (b) ? (a) : (b))
+#define MIN(a, b) ((a) < (b) ? (a) : (b))
typedef struct { /* To store 32bit Hash */
FT_UInt32 hash;
@@ -89,3 +90,5 @@ int First_Row(IMAGE* input);
IMAGE* Append_Columns(IMAGE* small, IMAGE* big);
/* Appening white columns with image alignment */
IMAGE* Append_Rows(IMAGE* small, IMAGE* big);
+/* calculating the Pixel Differences */
+int Image_Diff( IMAGE* base, IMAGE* test);