1 Index: libswscale/yuv2rgb.c
2 ===================================================================
3 --- libswscale/yuv2rgb.c (revision 25527)
4 +++ libswscale/yuv2rgb.c (working copy)
12 /* hope these constant values are cache line aligned */
14 #include "yuv2rgb_template.c"
16 #endif /* defined(ARCH_X86) */
19 const int32_t Inverse_Table_6_9[8][4] = {
20 {117504, 138453, 13954, 34903}, /* no sequence_display_extension */
21 Index: libswscale/swscale.c
22 ===================================================================
23 --- libswscale/swscale.c (revision 25527)
24 +++ libswscale/swscale.c (working copy)
27 //Note: we have C, X86, MMX, MMX2, 3DNOW version therse no 3DNOW+MMX2 one
29 -#if !defined (HAVE_MMX) || defined (RUNTIME_CPUDETECT) || !defined(CONFIG_GPL)
34 #if (defined (HAVE_ALTIVEC) || defined (RUNTIME_CPUDETECT)) && defined (CONFIG_GPL)
42 #if ((defined (HAVE_MMX) && !defined (HAVE_3DNOW) && !defined (HAVE_MMX2)) || defined (RUNTIME_CPUDETECT)) && defined (CONFIG_GPL)
46 #endif //ARCH_X86 || ARCH_X86_64
51 @@ -1544,13 +1544,6 @@
52 #if defined(RUNTIME_CPUDETECT) && defined (CONFIG_GPL)
54 // ordered per speed fasterst first
55 - if (flags & SWS_CPU_CAPS_MMX2)
56 - return swScale_MMX2;
57 - else if (flags & SWS_CPU_CAPS_3DNOW)
58 - return swScale_3DNow;
59 - else if (flags & SWS_CPU_CAPS_MMX)
65 Index: libswscale/rgb2rgb.c
66 ===================================================================
67 --- libswscale/rgb2rgb.c (revision 25527)
68 +++ libswscale/rgb2rgb.c (working copy)
70 #define RENAME(a) a ## _C
71 #include "rgb2rgb_template.c"
74 #if defined(ARCH_X86) && defined(CONFIG_GPL)
78 #include "rgb2rgb_template.c"
80 #endif //ARCH_X86 || ARCH_X86_64
84 rgb15->rgb16 Original by Strepto/Astral
85 Index: libpostproc/postprocess.c
86 ===================================================================
87 --- libpostproc/postprocess.c (revision 11315)
88 +++ libpostproc/postprocess.c (working copy)
91 //Note: we have C, MMX, MMX2, 3DNOW version there is no 3DNOW+MMX2 one
93 -#if !defined (HAVE_MMX) || defined (RUNTIME_CPUDETECT)
99 #define COMPILE_ALTIVEC
102 #if defined(ARCH_X86)
104 -#if (defined (HAVE_MMX) && !defined (HAVE_3DNOW) && !defined (HAVE_MMX2)) || defined (RUNTIME_CPUDETECT)
109 -#if defined (HAVE_MMX2) || defined (RUNTIME_CPUDETECT)
110 -#define COMPILE_MMX2
113 -#if (defined (HAVE_3DNOW) && !defined (HAVE_MMX2)) || defined (RUNTIME_CPUDETECT)
114 -#define COMPILE_3DNOW
116 #endif /* defined(ARCH_X86) */
120 // someone might exchange the CPU whithout restarting MPlayer ;)
121 #ifdef RUNTIME_CPUDETECT
122 #if defined(ARCH_X86)
123 - // ordered per speed fasterst first
124 - if(c->cpuCaps & PP_CPU_CAPS_MMX2)
125 - postProcess_MMX2(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
126 - else if(c->cpuCaps & PP_CPU_CAPS_3DNOW)
127 - postProcess_3DNow(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
128 - else if(c->cpuCaps & PP_CPU_CAPS_MMX)
129 - postProcess_MMX(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
131 - postProcess_C(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);
132 + postProcess_C(src, srcStride, dst, dstStride, width, height, QPs, QPStride, isColor, c);