diff options
author | kostya <kostya@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-14 16:37:39 +0000 |
---|---|---|
committer | kostya <kostya@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-14 16:37:39 +0000 |
commit | 919b7aef263325e8b21dd7fd36c67e89ae80431e (patch) | |
tree | 39ee694250fd85b42771d385e8b15c73ae32a373 /libswscale/swscale.c | |
parent | 3d7071594c9823cbb40f256dec7b6f3c081ce2ed (diff) | |
download | mpv-919b7aef263325e8b21dd7fd36c67e89ae80431e.tar.bz2 mpv-919b7aef263325e8b21dd7fd36c67e89ae80431e.tar.xz |
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
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |