Mercurial > mplayer.hg
comparison postproc/swscale_template.c @ 2271:a8d57bbc4413
horizontal lines bugfix
author | michael |
---|---|
date | Fri, 19 Oct 2001 01:53:45 +0000 |
parents | 56ca174d8169 |
children | 9ee34c6950e0 |
comparison
equal
deleted
inserted
replaced
2270:56ca174d8169 | 2271:a8d57bbc4413 |
---|---|
114 s_xinc+= s_xinc_diff; | 114 s_xinc+= s_xinc_diff; |
115 s_xinc2+= s_xinc2_diff; | 115 s_xinc2+= s_xinc2_diff; |
116 } | 116 } |
117 #endif | 117 #endif |
118 | 118 |
119 // force calculation of the horizontal interpolation of the first line | |
120 s_last_ypos=-99; | |
121 s_last_y1pos=-99; | |
122 | |
119 if(y==0){ | 123 if(y==0){ |
120 s_srcypos= s_yinc/2 - 0x8000; | 124 s_srcypos= s_yinc/2 - 0x8000; |
121 s_ypos=0; | 125 s_ypos=0; |
122 | |
123 // force calculation of the horizontal interpolation of the first line | |
124 s_last_ypos=-99; | |
125 s_last_y1pos=-99; | |
126 #ifdef HAVE_MMX2 | 126 #ifdef HAVE_MMX2 |
127 // cant downscale !!! | 127 // cant downscale !!! |
128 if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed) | 128 if((old_s_xinc != s_xinc || old_dstw!=dstw) && canMMX2BeUsed) |
129 { | 129 { |
130 uint8_t *fragment; | 130 uint8_t *fragment; |