[FFmpeg-cvslog] r32360 - trunk/libswscale/utils.c
ramiro
subversion
Sun Sep 26 19:06:32 CEST 2010
Author: ramiro
Date: Sun Sep 26 19:06:32 2010
New Revision: 32360
Log:
swscale: use full chroma input for point scaler
Modified:
trunk/libswscale/utils.c
Modified: trunk/libswscale/utils.c
==============================================================================
--- trunk/libswscale/utils.c Sun Sep 26 18:24:36 2010 (r32359)
+++ trunk/libswscale/utils.c Sun Sep 26 19:06:32 2010 (r32360)
@@ -831,7 +831,7 @@ SwsContext *sws_getContext(int srcW, int
&& srcFormat!=PIX_FMT_RGB8 && srcFormat!=PIX_FMT_BGR8
&& srcFormat!=PIX_FMT_RGB4 && srcFormat!=PIX_FMT_BGR4
&& srcFormat!=PIX_FMT_RGB4_BYTE && srcFormat!=PIX_FMT_BGR4_BYTE
- && ((dstW>>c->chrDstHSubSample) <= (srcW>>1) || (flags&(SWS_FAST_BILINEAR|SWS_POINT))))
+ && ((dstW>>c->chrDstHSubSample) <= (srcW>>1) || (flags&SWS_FAST_BILINEAR)))
c->chrSrcHSubSample=1;
if (param) {
More information about the ffmpeg-cvslog
mailing list