[MPlayer-cvslog] r24309 - in trunk/libswscale: swscale.c swscale_internal.h yuv2rgb.c
mhoffman
subversion at mplayerhq.hu
Fri Aug 31 16:57:50 CEST 2007
Author: mhoffman
Date: Fri Aug 31 16:57:50 2007
New Revision: 24309
Log:
renaming ARCH_BFIN to HAVE_BFIN
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 Fri Aug 31 16:57:50 2007
@@ -2041,7 +2041,7 @@ SwsContext *sws_getContext(int srcW, int
flags |= SWS_CPU_CAPS_MMX;
#elif defined (HAVE_ALTIVEC)
flags |= SWS_CPU_CAPS_ALTIVEC;
-#elif defined (ARCH_BFIN)
+#elif defined (HAVE_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 Fri Aug 31 16:57:50 2007
@@ -157,7 +157,7 @@ typedef struct SwsContext{
#endif
-#ifdef ARCH_BFIN
+#ifdef HAVE_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 Fri Aug 31 16:57:50 2007
@@ -654,7 +654,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext
}
#endif
-#ifdef ARCH_BFIN
+#ifdef HAVE_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