diff options
author | John Hawthorn <john.hawthorn@gmail.com> | 2010-01-04 10:01:31 -0800 |
---|---|---|
committer | John Hawthorn <john.hawthorn@gmail.com> | 2010-01-04 10:01:31 -0800 |
commit | d6bffd293a1443d90c22c24ea162d4ebd6004b00 (patch) | |
tree | 83ae3d10aefdc98eada1baa762af423a3e9f34e1 | |
parent | 7b6b8b7d817a2c26f3e8ef9b7e763ac22174ec96 (diff) | |
download | mirror-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.h | 9 |
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 + |