From 919b7aef263325e8b21dd7fd36c67e89ae80431e Mon Sep 17 00:00:00 2001 From: kostya Date: Sat, 14 Feb 2009 16:37:39 +0000 Subject: Some AltiVec functions in SwScaler produce different output than their counterparts in pure C, so don't invoke them in bitexact mode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28555 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libswscale/swscale.c') diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 586715eacd..a38c14d9a8 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2396,6 +2396,7 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d #ifdef COMPILE_ALTIVEC if ((c->flags & SWS_CPU_CAPS_ALTIVEC) && + !(c->flags & SWS_BITEXACT) && srcFormat == PIX_FMT_YUV420P) { // unscaled YV12 -> packed YUV, we want speed if (dstFormat == PIX_FMT_YUYV422) -- cgit v1.2.3