comparison armv4l/dsputil_arm.c @ 5641:1e93e637fa21 libavcodec

Fix put_*_xy2_arm bug and enable put_pixels16_arm and put_pixels8_y2_arm. Speed up > 4%. patch by Tao Huang, ulysses.huang gmail com
author diego
date Wed, 05 Sep 2007 11:05:33 +0000
parents d5ba514e3f4a
children bdcb17652343
comparison
equal deleted inserted replaced
5640:5935be5de1f3 5641:1e93e637fa21
252 c->idct = simple_idct_ipp; 252 c->idct = simple_idct_ipp;
253 c->idct_permutation_type= FF_NO_IDCT_PERM; 253 c->idct_permutation_type= FF_NO_IDCT_PERM;
254 #endif 254 #endif
255 } 255 }
256 256
257 /* c->put_pixels_tab[0][0] = put_pixels16_arm; */ // NG! 257 c->put_pixels_tab[0][0] = put_pixels16_arm;
258 c->put_pixels_tab[0][1] = put_pixels16_x2_arm; //OK! 258 c->put_pixels_tab[0][1] = put_pixels16_x2_arm; //OK!
259 c->put_pixels_tab[0][2] = put_pixels16_y2_arm; //OK! 259 c->put_pixels_tab[0][2] = put_pixels16_y2_arm; //OK!
260 /* c->put_pixels_tab[0][3] = put_pixels16_xy2_arm; /\* NG *\/ */ 260 c->put_pixels_tab[0][3] = put_pixels16_xy2_arm;
261 /* c->put_no_rnd_pixels_tab[0][0] = put_pixels16_arm; */ 261 c->put_no_rnd_pixels_tab[0][0] = put_pixels16_arm;
262 c->put_no_rnd_pixels_tab[0][1] = put_no_rnd_pixels16_x2_arm; // OK 262 c->put_no_rnd_pixels_tab[0][1] = put_no_rnd_pixels16_x2_arm; // OK
263 c->put_no_rnd_pixels_tab[0][2] = put_no_rnd_pixels16_y2_arm; //OK 263 c->put_no_rnd_pixels_tab[0][2] = put_no_rnd_pixels16_y2_arm; //OK
264 /* c->put_no_rnd_pixels_tab[0][3] = put_no_rnd_pixels16_xy2_arm; //NG */ 264 c->put_no_rnd_pixels_tab[0][3] = put_no_rnd_pixels16_xy2_arm;
265 c->put_pixels_tab[1][0] = put_pixels8_arm; //OK 265 c->put_pixels_tab[1][0] = put_pixels8_arm; //OK
266 c->put_pixels_tab[1][1] = put_pixels8_x2_arm; //OK 266 c->put_pixels_tab[1][1] = put_pixels8_x2_arm; //OK
267 /* c->put_pixels_tab[1][2] = put_pixels8_y2_arm; //NG */ 267 c->put_pixels_tab[1][2] = put_pixels8_y2_arm;
268 /* c->put_pixels_tab[1][3] = put_pixels8_xy2_arm; //NG */ 268 c->put_pixels_tab[1][3] = put_pixels8_xy2_arm;
269 c->put_no_rnd_pixels_tab[1][0] = put_pixels8_arm;//OK 269 c->put_no_rnd_pixels_tab[1][0] = put_pixels8_arm;//OK
270 c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pixels8_x2_arm; //OK 270 c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pixels8_x2_arm; //OK
271 c->put_no_rnd_pixels_tab[1][2] = put_no_rnd_pixels8_y2_arm; //OK 271 c->put_no_rnd_pixels_tab[1][2] = put_no_rnd_pixels8_y2_arm; //OK
272 /* c->put_no_rnd_pixels_tab[1][3] = put_no_rnd_pixels8_xy2_arm;//NG */ 272 c->put_no_rnd_pixels_tab[1][3] = put_no_rnd_pixels8_xy2_arm;
273 273
274 #ifdef HAVE_IWMMXT 274 #ifdef HAVE_IWMMXT
275 dsputil_init_iwmmxt(c, avctx); 275 dsputil_init_iwmmxt(c, avctx);
276 #endif 276 #endif
277 } 277 }