Move bfin specific code to its subdir.
authorRamiro Polla <ramiro.polla@gmail.com>
Fri, 27 Mar 2009 22:56:56 +0000 (22:56 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Fri, 27 Mar 2009 22:56:56 +0000 (22:56 +0000)
Originally committed as revision 29079 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/Makefile
libswscale/bfin/internal_bfin.S [moved from libswscale/internal_bfin.S with 100% similarity]
libswscale/bfin/swscale_bfin.c [moved from libswscale/swscale_bfin.c with 96% similarity]
libswscale/swscale_internal.h

index 61f5e5a..947cdfd 100644 (file)
@@ -7,7 +7,9 @@ HEADERS = swscale.h
 
 OBJS = rgb2rgb.o swscale.o swscale_avoption.o yuv2rgb.o
 
-OBJS-$(ARCH_BFIN)          +=  internal_bfin.o swscale_bfin.o bfin/yuv2rgb_bfin.o
+OBJS-$(ARCH_BFIN)          +=  bfin/internal_bfin.o     \
+                               bfin/swscale_bfin.o      \
+                               bfin/yuv2rgb_bfin.o
 OBJS-$(CONFIG_MLIB)        +=  mlib/yuv2rgb_mlib.o
 OBJS-$(HAVE_ALTIVEC)       +=  ppc/yuv2rgb_altivec.o
 OBJS-$(HAVE_VIS)           +=  sparc/yuv2rgb_vis.o
similarity index 96%
rename from libswscale/swscale_bfin.c
rename to libswscale/bfin/swscale_bfin.c
index 0c3ea4d..2ad81d8 100644 (file)
@@ -27,9 +27,9 @@
 #include <assert.h>
 #include "config.h"
 #include <unistd.h>
-#include "rgb2rgb.h"
-#include "swscale.h"
-#include "swscale_internal.h"
+#include "libswscale/rgb2rgb.h"
+#include "libswscale/swscale.h"
+#include "libswscale/swscale_internal.h"
 
 #ifdef __FDPIC__
 #define L1CODE __attribute__ ((l1_text))
index 91f05ad..785c00a 100644 (file)
@@ -226,6 +226,7 @@ SwsFunc ff_yuv2rgb_init_vis(SwsContext *c);
 SwsFunc ff_yuv2rgb_init_mlib(SwsContext *c);
 SwsFunc ff_yuv2rgb_init_altivec(SwsContext *c);
 SwsFunc ff_yuv2rgb_get_func_ptr_bfin(SwsContext *c);
+void ff_bfin_get_unscaled_swscale(SwsContext *c);
 void ff_yuv2packedX_altivec(SwsContext *c,
                           int16_t *lumFilter, int16_t **lumSrc, int lumFilterSize,
                           int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize,