aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2010-01-04 10:01:31 -0800
committerJohn Hawthorn <john.hawthorn@gmail.com>2010-01-04 10:01:31 -0800
commitd6bffd293a1443d90c22c24ea162d4ebd6004b00 (patch)
tree83ae3d10aefdc98eada1baa762af423a3e9f34e1
parent7b6b8b7d817a2c26f3e8ef9b7e763ac22174ec96 (diff)
downloadmirror-meh-d6bffd293a1443d90c22c24ea162d4ebd6004b00.tar.gz
mirror-meh-d6bffd293a1443d90c22c24ea162d4ebd6004b00.tar.bz2
mirror-meh-d6bffd293a1443d90c22c24ea162d4ebd6004b00.zip
major cleanup. all xlib methods have been abstracted away as a more
generic backend.
-rw-r--r--src/scale.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/scale.h b/src/scale.h
new file mode 100644
index 0000000..64aee2d
--- /dev/null
+++ b/src/scale.h
@@ -0,0 +1,9 @@
+#ifndef SCALE_H
+#define SCALE_H SCALE_H
+
+/* scale */
+void scale(struct image *img, unsigned int width, unsigned int height, unsigned int bytesperline, char* __restrict__ newBuf);
+void nearestscale(struct image *img, unsigned int width, unsigned int height, unsigned int bytesperline, char* __restrict__ newBuf);
+
+#endif
+