Commit c3075051 authored by michael's avatar michael

horizontal lines bugfix


git-svn-id: file:///var/local/repositories/mplayer/trunk/postproc@2272 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 461b297f
...@@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0; ...@@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0;
} }
#endif #endif
// force calculation of the horizontal interpolation of the first line
s_last_ypos=-99;
s_last_y1pos=-99;
if(y==0){ if(y==0){
s_srcypos= s_yinc/2 - 0x8000; s_srcypos= s_yinc/2 - 0x8000;
s_ypos=0; s_ypos=0;
// force calculation of the horizontal interpolation of the first line
s_last_ypos=-99;
s_last_y1pos=-99;
#ifdef HAVE_MMX2 #ifdef HAVE_MMX2
// cant downscale !!! // cant downscale !!!
if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed) if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed)
......
...@@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0; ...@@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0;
} }
#endif #endif
// force calculation of the horizontal interpolation of the first line
s_last_ypos=-99;
s_last_y1pos=-99;
if(y==0){ if(y==0){
s_srcypos= s_yinc/2 - 0x8000; s_srcypos= s_yinc/2 - 0x8000;
s_ypos=0; s_ypos=0;
// force calculation of the horizontal interpolation of the first line
s_last_ypos=-99;
s_last_y1pos=-99;
#ifdef HAVE_MMX2 #ifdef HAVE_MMX2
// cant downscale !!! // cant downscale !!!
if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed) if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment