comparison dct-test.c @ 8622:a754939aea51 libavcodec

dct-test: add Alpha idct
author mru
date Sun, 18 Jan 2009 05:52:20 +0000
parents 7a463923ecd1
children 18737839ed27
comparison
equal deleted inserted replaced
8621:72e109759617 8622:a754939aea51
68 void simple_idct_ARM(DCTELEM *data); 68 void simple_idct_ARM(DCTELEM *data);
69 void simple_idct_armv5te(DCTELEM *data); 69 void simple_idct_armv5te(DCTELEM *data);
70 void ff_simple_idct_armv6(DCTELEM *data); 70 void ff_simple_idct_armv6(DCTELEM *data);
71 void ff_simple_idct_neon(DCTELEM *data); 71 void ff_simple_idct_neon(DCTELEM *data);
72 72
73 void ff_simple_idct_axp(DCTELEM *data);
74
73 struct algo { 75 struct algo {
74 const char *name; 76 const char *name;
75 enum { FDCT, IDCT } is_idct; 77 enum { FDCT, IDCT } is_idct;
76 void (* func) (DCTELEM *block); 78 void (* func) (DCTELEM *block);
77 void (* ref) (DCTELEM *block); 79 void (* ref) (DCTELEM *block);
134 #endif 136 #endif
135 #if HAVE_NEON 137 #if HAVE_NEON
136 {"SIMPLE-NEON", 1, ff_simple_idct_neon, idct, PARTTRANS_PERM }, 138 {"SIMPLE-NEON", 1, ff_simple_idct_neon, idct, PARTTRANS_PERM },
137 #endif 139 #endif
138 #endif /* ARCH_ARM */ 140 #endif /* ARCH_ARM */
141
142 #if ARCH_ALPHA
143 {"SIMPLE-ALPHA", 1, ff_simple_idct_axp, idct, NO_PERM },
144 #endif
139 145
140 { 0 } 146 { 0 }
141 }; 147 };
142 148
143 #define AANSCALE_BITS 12 149 #define AANSCALE_BITS 12