--- /dev/null
+#ifndef _IDCT_H
+#define _IDCT_H
+
+#include <stdint.h>
+
+#define DCTSIZE 8
+#define DCTSIZE2 64
+
+typedef void (idct_func_t)(const int16_t*, const uint32_t*, uint8_t*);
+
+// Non-factorized reference version (section A.3.3 of the JPEG standard).
+void idct_reference(const int16_t* input, const uint32_t* quant_table, uint8_t* output);
+
+#endif /* !defined(_IDCT_H) */