aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+