horizontal lines bugfix

Originally committed as revision 2272 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
pull/126/head
Michael Niedermayer 24 years ago
parent d3fda50869
commit b3a134b64c
  1. 8
      postproc/swscale.c
  2. 8
      postproc/swscale_template.c

@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0;
}
#endif
if(y==0){
s_srcypos= s_yinc/2 - 0x8000;
s_ypos=0;
// force calculation of the horizontal interpolation of the first line
s_last_ypos=-99;
s_last_y1pos=-99;
if(y==0){
s_srcypos= s_yinc/2 - 0x8000;
s_ypos=0;
#ifdef HAVE_MMX2
// cant downscale !!!
if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed)

@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0;
}
#endif
if(y==0){
s_srcypos= s_yinc/2 - 0x8000;
s_ypos=0;
// force calculation of the horizontal interpolation of the first line
s_last_ypos=-99;
s_last_y1pos=-99;
if(y==0){
s_srcypos= s_yinc/2 - 0x8000;
s_ypos=0;
#ifdef HAVE_MMX2
// cant downscale !!!
if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed)

Loading…
Cancel
Save