summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authormhoffman <mhoffman@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-22 13:03:40 +0000
committermhoffman <mhoffman@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-22 13:03:40 +0000
commitd1a47e2290a3afc38acde19dde815be4d39765a2 (patch)
tree59d1de533685746652804b02fb4829bfcabac26f /libswscale/swscale.c
parentb60c17b45ccc3184a587c9a4bed0905719a6e116 (diff)
downloadmpv-d1a47e2290a3afc38acde19dde815be4d39765a2.tar.bz2
mpv-d1a47e2290a3afc38acde19dde815be4d39765a2.tar.xz
integrating ff_bfin_get_unscaled_swscale into the system
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23605 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index b53d2e52e4..1cda63b0bb 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -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",