summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2005-03-31 19:32:13 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2005-03-31 19:32:13 (GMT)
commit0692fd3ae8c1219b81098de4fa7a8d7a90422afe (patch)
tree204af6c7843be6fc0e381c0f3614357f741ae477 /src/main.c
download5kk53-0692fd3ae8c1219b81098de4fa7a8d7a90422afe.zip
5kk53-0692fd3ae8c1219b81098de4fa7a8d7a90422afe.tar.gz
5kk53-0692fd3ae8c1219b81098de4fa7a8d7a90422afe.tar.bz2
Initial dct modules with dummy main.
forward dct compiles cleanly. Needs to be verified if working. inverse dct needs some type fixing (from original libjpeg).
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..7c9b4ed
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,14 @@
+#include <stdio.h>
+
+#include "dct.h"
+
+int main(void) {
+ int retval;
+ int workspace[DCTSIZE_BLOCK];
+
+ retval = 0;
+
+ fdct(workspace);
+
+ return retval;
+}