1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-19 22:36:55 +00:00

horizontal lines bugfix

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2272 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2001-10-19 01:53:45 +00:00
parent 76f00f9a17
commit f8c68da092
2 changed files with 8 additions and 8 deletions

View File

@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0;
}
#endif
// 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;
// force calculation of the horizontal interpolation of the first line
s_last_ypos=-99;
s_last_y1pos=-99;
#ifdef HAVE_MMX2
// cant downscale !!!
if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed)

View File

@ -116,13 +116,13 @@ canMMX2BeUsed= (s_xinc <= 0x10000 && (dstw&31)==0) ? 1 : 0;
}
#endif
// 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;
// force calculation of the horizontal interpolation of the first line
s_last_ypos=-99;
s_last_y1pos=-99;
#ifdef HAVE_MMX2
// cant downscale !!!
if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed)