X-Git-Url: https://git.sesse.net/?p=fjl;a=blobdiff_plain;f=idct_test.c;h=d7b543cbc931f3f6f63782ab175524eedb438f8f;hp=78374f89860b4f788bcee3d2c62fed8c9ac8a3bb;hb=85cda6b1da31916b0127d1217825dea725619245;hpb=13b48c4e2de5ceb4922ee47db32dd1a18edfffe4 diff --git a/idct_test.c b/idct_test.c index 78374f8..d7b543c 100644 --- a/idct_test.c +++ b/idct_test.c @@ -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;