Build sparc arch specific code using the Makefile

Originally committed as revision 26670 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
pull/126/head
Luca Barbato 17 years ago
parent d010a2d5be
commit 5478959b8f
  1. 3
      libswscale/Makefile
  2. 8
      libswscale/yuv2rgb.c

@ -9,6 +9,9 @@ OBJS-$(ARCH_BFIN) += swscale_bfin.o yuv2rgb_bfin.o
OBJS-$(CONFIG_GPL) += yuv2rgb.o
OBJS-$(HAVE_ALTIVEC) += yuv2rgb_altivec.o
OBJS-$(CONFIG_MLIB) += yuv2rgb_mlib.c
OBJS-$(HAVE_VIS) += yuv2rgb_vis.c
ASM_OBJS-$(ARCH_BFIN) += internal_bfin.o
HEADERS = swscale.h rgb2rgb.h

@ -39,14 +39,6 @@
#include "swscale.h"
#include "swscale_internal.h"
#ifdef HAVE_VIS
#include "yuv2rgb_vis.c"
#endif
#ifdef CONFIG_MLIB
#include "yuv2rgb_mlib.c"
#endif
#define DITHER1XBPP // only for mmx
const uint8_t __attribute__((aligned(8))) dither_2x2_4[2][8]={

Loading…
Cancel
Save