[MPlayer-cvslog] r24627 - in trunk/libswscale: swscale.c swscale_internal.h yuv2rgb.c
diego
subversion at mplayerhq.hu
Thu Sep 27 10:00:22 CEST 2007
Author: diego
Date: Thu Sep 27 10:00:22 2007
New Revision: 24627
Log:
Revert wrong ARCH_BFIN --> HAVE_BFIN change.
Modified:
trunk/libswscale/swscale.c
trunk/libswscale/swscale_internal.h
trunk/libswscale/yuv2rgb.c
Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c (original)
+++ trunk/libswscale/swscale.c Thu Sep 27 10:00:22 2007
@@ -2045,7 +2045,7 @@ SwsContext *sws_getContext(int srcW, int
flags |= SWS_CPU_CAPS_MMX;
#elif defined (HAVE_ALTIVEC)
flags |= SWS_CPU_CAPS_ALTIVEC;
-#elif defined (HAVE_BFIN)
+#elif defined (ARCH_BFIN)
flags |= SWS_CPU_CAPS_BFIN;
#endif
#endif /* RUNTIME_CPUDETECT */
Modified: trunk/libswscale/swscale_internal.h
==============================================================================
--- trunk/libswscale/swscale_internal.h (original)
+++ trunk/libswscale/swscale_internal.h Thu Sep 27 10:00:22 2007
@@ -157,7 +157,7 @@ typedef struct SwsContext{
#endif
-#ifdef HAVE_BFIN
+#ifdef ARCH_BFIN
uint32_t oy __attribute__((aligned(4)));
uint32_t oc __attribute__((aligned(4)));
uint32_t zero __attribute__((aligned(4)));
Modified: trunk/libswscale/yuv2rgb.c
==============================================================================
--- trunk/libswscale/yuv2rgb.c (original)
+++ trunk/libswscale/yuv2rgb.c Thu Sep 27 10:00:22 2007
@@ -654,7 +654,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext
}
#endif
-#ifdef HAVE_BFIN
+#ifdef ARCH_BFIN
if (c->flags & SWS_CPU_CAPS_BFIN)
{
SwsFunc t = ff_bfin_yuv2rgb_get_func_ptr (c);
More information about the MPlayer-cvslog
mailing list