]> git.sesse.net Git - fjl/blobdiff - idct_float.h
Split the two IDCTs into different files.
[fjl] / idct_float.h
diff --git a/idct_float.h b/idct_float.h
new file mode 100644 (file)
index 0000000..a0b7c8d
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef _IDCT_FLOAT_H
+#define _IDCT_FLOAT_H
+
+#include "idct.h"
+
+// Floating-point IDCT due to Arai, Agui and Nakajima (also known as AA&N).
+// See idct.c for more details.
+void* idct_float_alloc(const uint32_t* quant_table);
+void idct_float_free(void* userdata);
+void idct_float(const int16_t* input, const void* userdata, uint8_t* output);
+
+#endif /* !defined(_IDCT_FLOAT_H) */