aboutsummaryrefslogtreecommitdiffhomepage
path: root/libswscale
diff options
context:
space:
mode:
authorGravatar ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-27 22:56:56 +0000
committerGravatar ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-27 22:56:56 +0000
commit0fb8cdfd14a01dac929fcf9a64df98f6a2ce7444 (patch)
treebc413756ff5cca9a9ae27746636ce119c4d2ce2f /libswscale
parent8198495234d85e9003daf970f9e7d4f335724c61 (diff)
Move bfin specific code to its subdir.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29079 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/Makefile4
-rw-r--r--libswscale/bfin/internal_bfin.S (renamed from libswscale/internal_bfin.S)0
-rw-r--r--libswscale/bfin/swscale_bfin.c (renamed from libswscale/swscale_bfin.c)6
-rw-r--r--libswscale/swscale_internal.h1
4 files changed, 7 insertions, 4 deletions
diff --git a/libswscale/Makefile b/libswscale/Makefile
index 61f5e5a7e5..947cdfd6c2 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -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
diff --git a/libswscale/internal_bfin.S b/libswscale/bfin/internal_bfin.S
index fb7bda7e12..fb7bda7e12 100644
--- a/libswscale/internal_bfin.S
+++ b/libswscale/bfin/internal_bfin.S
diff --git a/libswscale/swscale_bfin.c b/libswscale/bfin/swscale_bfin.c
index 0c3ea4dc32..2ad81d847d 100644
--- a/libswscale/swscale_bfin.c
+++ b/libswscale/bfin/swscale_bfin.c
@@ -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))
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index 91f05ad004..785c00aa3c 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -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,