[MPlayer-cvslog] r23605 - in trunk/libswscale: Makefile swscale.c
mhoffman
subversion at mplayerhq.hu
Fri Jun 22 15:03:43 CEST 2007
Author: mhoffman
Date: Fri Jun 22 15:03:40 2007
New Revision: 23605
Log:
integrating ff_bfin_get_unscaled_swscale into the system
Modified:
trunk/libswscale/Makefile
trunk/libswscale/swscale.c
Modified: trunk/libswscale/Makefile
==============================================================================
--- trunk/libswscale/Makefile (original)
+++ trunk/libswscale/Makefile Fri Jun 22 15:03:40 2007
@@ -12,7 +12,9 @@ OBJS= swscale.o rgb2rgb.o
OBJS-$(HAVE_ALTIVEC) += yuv2rgb_altivec.o
OBJS-$(CONFIG_GPL) += yuv2rgb.o
-OBJS-$(ARCH_BFIN) += yuv2rgb_bfin.o
+OBJS-$(ARCH_BFIN) += yuv2rgb_bfin.o \
+ swscale_bfin.o \
+
ASM_OBJS-$(ARCH_BFIN) += internal_bfin.o
HEADERS = swscale.h rgb2rgb.h
Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c (original)
+++ trunk/libswscale/swscale.c Fri Jun 22 15:03:40 2007
@@ -2219,6 +2219,11 @@ SwsContext *sws_getContext(int srcW, int
c->swScale= gray16swap;
}
+#ifdef ARCH_BFIN
+ if (flags & SWS_CPU_CAPS_BFIN)
+ ff_bfin_get_unscaled_swscale (c);
+#endif
+
if (c->swScale){
if (flags&SWS_PRINT_INFO)
av_log(c, AV_LOG_INFO, "SwScaler: using unscaled %s -> %s special converter\n",
More information about the MPlayer-cvslog
mailing list