comparison armv4l/mpegvideo_arm.c @ 4713:47ee459ce964 libavcodec

iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but armv5t does - use the armv5t function rather than default c code. patch by Tim Chick chick at computergeek freeserve co uk
author mru
date Fri, 23 Mar 2007 00:05:45 +0000
parents 268811f3f1ef
children d5ba514e3f4a
comparison
equal deleted inserted replaced
4712:5c0c96d437f2 4713:47ee459ce964
26 extern void MPV_common_init_iwmmxt(MpegEncContext *s); 26 extern void MPV_common_init_iwmmxt(MpegEncContext *s);
27 extern void MPV_common_init_armv5te(MpegEncContext *s); 27 extern void MPV_common_init_armv5te(MpegEncContext *s);
28 28
29 void MPV_common_init_armv4l(MpegEncContext *s) 29 void MPV_common_init_armv4l(MpegEncContext *s)
30 { 30 {
31 /* IWMMXT support is a superset of armv5te, so
32 * allow optimised functions for armv5te unless
33 * a better iwmmxt function exists
34 */
35 #ifdef HAVE_ARMV5TE
36 MPV_common_init_armv5te(s);
37 #endif
31 #ifdef HAVE_IWMMXT 38 #ifdef HAVE_IWMMXT
32 MPV_common_init_iwmmxt(s); 39 MPV_common_init_iwmmxt(s);
33 #elif defined(HAVE_ARMV5TE)
34 MPV_common_init_armv5te(s);
35 #endif 40 #endif
36 } 41 }