Mercurial > libavcodec.hg
comparison dct-test.c @ 6407:7f9e2b5893fc libavcodec
floating point AAN IDCT
author | michael |
---|---|
date | Tue, 26 Feb 2008 14:59:11 +0000 |
parents | f4859c13426b |
children | b4c000318ed4 |
comparison
equal
deleted
inserted
replaced
6406:49dcfab1bda3 | 6407:7f9e2b5893fc |
---|---|
34 | 34 |
35 #include "dsputil.h" | 35 #include "dsputil.h" |
36 | 36 |
37 #include "simple_idct.h" | 37 #include "simple_idct.h" |
38 #include "faandct.h" | 38 #include "faandct.h" |
39 #include "faanidct.h" | |
39 | 40 |
40 #ifndef MAX | 41 #ifndef MAX |
41 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) | 42 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) |
42 #endif | 43 #endif |
43 | 44 |
85 | 86 |
86 | 87 |
87 struct algo algos[] = { | 88 struct algo algos[] = { |
88 DCT_ERROR( "REF-DBL", 0, fdct, fdct, NO_PERM), | 89 DCT_ERROR( "REF-DBL", 0, fdct, fdct, NO_PERM), |
89 DCT_ERROR("FAAN", 0, ff_faandct, fdct, FAAN_SCALE), | 90 DCT_ERROR("FAAN", 0, ff_faandct, fdct, FAAN_SCALE), |
91 DCT_ERROR("FAANI", 1, ff_faanidct, idct, NO_PERM), | |
90 DCT_ERROR("IJG-AAN-INT", 0, fdct_ifast, fdct, SCALE_PERM), | 92 DCT_ERROR("IJG-AAN-INT", 0, fdct_ifast, fdct, SCALE_PERM), |
91 DCT_ERROR("IJG-LLM-INT", 0, ff_jpeg_fdct_islow, fdct, NO_PERM), | 93 DCT_ERROR("IJG-LLM-INT", 0, ff_jpeg_fdct_islow, fdct, NO_PERM), |
92 DCT_ERROR("REF-DBL", 1, idct, idct, NO_PERM), | 94 DCT_ERROR("REF-DBL", 1, idct, idct, NO_PERM), |
93 DCT_ERROR("INT", 1, j_rev_dct, idct, MMX_PERM), | 95 DCT_ERROR("INT", 1, j_rev_dct, idct, MMX_PERM), |
94 DCT_ERROR("SIMPLE-C", 1, ff_simple_idct, idct, NO_PERM), | 96 DCT_ERROR("SIMPLE-C", 1, ff_simple_idct, idct, NO_PERM), |