comparison ppc/idct_altivec.c @ 4521:891590781d9e libavcodec

rename POWERPC_PERFORMANCE_REPORT to CONFIG_POWERPC_PERF
author mru
date Tue, 13 Feb 2007 23:45:28 +0000
parents b28edd190fc0
children d5ba514e3f4a
comparison
equal deleted inserted replaced
4520:9bf957e669f0 4521:891590781d9e
169 void idct_put_altivec(uint8_t* dest, int stride, vector_s16_t* block) 169 void idct_put_altivec(uint8_t* dest, int stride, vector_s16_t* block)
170 { 170 {
171 POWERPC_PERF_DECLARE(altivec_idct_put_num, 1); 171 POWERPC_PERF_DECLARE(altivec_idct_put_num, 1);
172 vector_u8_t tmp; 172 vector_u8_t tmp;
173 173
174 #ifdef POWERPC_PERFORMANCE_REPORT 174 #ifdef CONFIG_POWERPC_PERF
175 POWERPC_PERF_START_COUNT(altivec_idct_put_num, 1); 175 POWERPC_PERF_START_COUNT(altivec_idct_put_num, 1);
176 #endif 176 #endif
177 IDCT 177 IDCT
178 178
179 #define COPY(dest,src) \ 179 #define COPY(dest,src) \
200 vector_s16_t tmp2, tmp3; 200 vector_s16_t tmp2, tmp3;
201 vector_u8_t perm0; 201 vector_u8_t perm0;
202 vector_u8_t perm1; 202 vector_u8_t perm1;
203 vector_u8_t p0, p1, p; 203 vector_u8_t p0, p1, p;
204 204
205 #ifdef POWERPC_PERFORMANCE_REPORT 205 #ifdef CONFIG_POWERPC_PERF
206 POWERPC_PERF_START_COUNT(altivec_idct_add_num, 1); 206 POWERPC_PERF_START_COUNT(altivec_idct_add_num, 1);
207 #endif 207 #endif
208 208
209 IDCT 209 IDCT
210 210