Mercurial > libavcodec.hg
comparison dct-test.c @ 1557:5d53c03186a1 libavcodec
floating point AAN DCT
author | michael |
---|---|
date | Wed, 22 Oct 2003 18:26:38 +0000 |
parents | 1e39f273ecd6 |
children | bf452704100f |
comparison
equal
deleted
inserted
replaced
1556:5ebb4ae753d3 | 1557:5d53c03186a1 |
---|---|
12 | 12 |
13 #include "dsputil.h" | 13 #include "dsputil.h" |
14 | 14 |
15 #include "i386/mmx.h" | 15 #include "i386/mmx.h" |
16 #include "simple_idct.h" | 16 #include "simple_idct.h" |
17 #include "faandct.h" | |
17 | 18 |
18 #ifndef MAX | 19 #ifndef MAX |
19 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | 20 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) |
20 #endif | 21 #endif |
21 | 22 |
477 if (!test_idct) { | 478 if (!test_idct) { |
478 dct_error("REF-DBL", 0, fdct, fdct, test); /* only to verify code ! */ | 479 dct_error("REF-DBL", 0, fdct, fdct, test); /* only to verify code ! */ |
479 dct_error("IJG-AAN-INT", 0, fdct_ifast, fdct, test); | 480 dct_error("IJG-AAN-INT", 0, fdct_ifast, fdct, test); |
480 dct_error("IJG-LLM-INT", 0, ff_jpeg_fdct_islow, fdct, test); | 481 dct_error("IJG-LLM-INT", 0, ff_jpeg_fdct_islow, fdct, test); |
481 dct_error("MMX", 0, ff_fdct_mmx, fdct, test); | 482 dct_error("MMX", 0, ff_fdct_mmx, fdct, test); |
483 dct_error("FAAN", 0, ff_faandct, fdct, test); | |
482 } else { | 484 } else { |
483 dct_error("REF-DBL", 1, idct, idct, test); | 485 dct_error("REF-DBL", 1, idct, idct, test); |
484 dct_error("INT", 1, j_rev_dct, idct, test); | 486 dct_error("INT", 1, j_rev_dct, idct, test); |
485 dct_error("LIBMPEG2-MMX", 1, ff_mmx_idct, idct, test); | 487 dct_error("LIBMPEG2-MMX", 1, ff_mmx_idct, idct, test); |
486 dct_error("LIBMPEG2-MMXEXT", 1, ff_mmxext_idct, idct, test); | 488 dct_error("LIBMPEG2-MMXEXT", 1, ff_mmxext_idct, idct, test); |