Mercurial > mplayer.hg
changeset 23585:d3ae6979d3df
integrating ff_bfin_get_unscaled_swscale into the system
author | mhoffman |
---|---|
date | Fri, 22 Jun 2007 13:03:40 +0000 |
parents | a01f8876ea2c |
children | 16db18293ebd |
files | libswscale/Makefile libswscale/swscale.c |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/Makefile Fri Jun 22 12:45:18 2007 +0000 +++ b/libswscale/Makefile Fri Jun 22 13:03:40 2007 +0000 @@ -12,7 +12,9 @@ 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
--- a/libswscale/swscale.c Fri Jun 22 12:45:18 2007 +0000 +++ b/libswscale/swscale.c Fri Jun 22 13:03:40 2007 +0000 @@ -2219,6 +2219,11 @@ 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",