[SCM] libav/experimental: Enable unscaled packed422 -> planar 420 converters by default as the imgconvert inherited quality issues should be fixed.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:42:17 UTC 2013
The following commit has been merged in the experimental branch:
commit ff8084cf1c4acf272d7582e138830e8ac2b221a8
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Sat Mar 21 23:59:02 2009 +0000
Enable unscaled packed422 -> planar 420 converters by default as the
imgconvert inherited quality issues should be fixed.
Originally committed as revision 29031 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index bc35ad5..d9c1c59 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2575,12 +2575,11 @@ SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d
else if (dstFormat == PIX_FMT_UYVY422)
c->swScale= PlanarToUyvyWrapper;
}
-
- if(srcFormat == PIX_FMT_YUYV422 && dstFormat == PIX_FMT_YUV420P)
- c->swScale= YUYV2YUV420Wrapper;
- if(srcFormat == PIX_FMT_UYVY422 && dstFormat == PIX_FMT_YUV420P)
- c->swScale= UYVY2YUV420Wrapper;
}
+ if(srcFormat == PIX_FMT_YUYV422 && dstFormat == PIX_FMT_YUV420P)
+ c->swScale= YUYV2YUV420Wrapper;
+ if(srcFormat == PIX_FMT_UYVY422 && dstFormat == PIX_FMT_YUV420P)
+ c->swScale= UYVY2YUV420Wrapper;
if(srcFormat == PIX_FMT_YUYV422 && dstFormat == PIX_FMT_YUV422P)
c->swScale= YUYV2YUV422Wrapper;
if(srcFormat == PIX_FMT_UYVY422 && dstFormat == PIX_FMT_YUV422P)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list