1
mirror of https://github.com/mpv-player/mpv synced 2024-10-30 04:46:41 +01:00

integrating ff_bfin_get_unscaled_swscale into the system

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23605 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
mhoffman 2007-06-22 13:03:40 +00:00
parent b60c17b45c
commit d1a47e2290
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -2219,6 +2219,11 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
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",