]> git.sesse.net Git - fjl/blobdiff - idct_test.c
Add a stupid integerization of the AA&N IDCT -- 30% faster or so, mostly
[fjl] / idct_test.c
index 78374f89860b4f788bcee3d2c62fed8c9ac8a3bb..d7b543cbc931f3f6f63782ab175524eedb438f8f 100644 (file)
@@ -6,6 +6,9 @@
 
 #include "benchmark.h"
 #include "idct.h"
+#include "idct_reference.h"
+#include "idct_float.h"
+#include "idct_imprecise_int.h"
 
 // Generate random coefficients in the range [-15..15].
 void gen_random_coeffs(int16_t* dst, size_t len)
@@ -142,6 +145,9 @@ int main(void)
 
        printf("idct_float:\n");
        test_all_idct(idct_float_alloc, idct_float_free, idct_float);
+       
+       printf("idct_imprecise_int:\n");
+       test_all_idct(idct_imprecise_int_alloc, idct_imprecise_int_free, idct_imprecise_int);
 
        printf("All tests pass.\n");
        return 0;