comparison mm7_2.cpp @ 1150:354ec6263123

sub_451007_scale_image_bicubic cleanup - remove assert
author Grumpy7
date Sun, 02 Jun 2013 05:42:28 +0200
parents 05b30ed00d7c
children 29a8defbad9e
comparison
equal deleted inserted replaced
1149:05b30ed00d7c 1150:354ec6263123
2262 v175 += srcPitch; 2262 v175 += srcPitch;
2263 else 2263 else
2264 v175 = (unsigned short*)((char *)v175 + 2 * srcPitch); 2264 v175 = (unsigned short*)((char *)v175 + 2 * srcPitch);
2265 } 2265 }
2266 v22 = (unsigned int)v240 / ((heightRatioPlusOne - heightRatio) * (widthRatioPlusOne - widthRatio)); 2266 v22 = (unsigned int)v240 / ((heightRatioPlusOne - heightRatio) * (widthRatioPlusOne - widthRatio));
2267 assert(v19 < 2);
2268 if ( v19 ) 2267 if ( v19 )
2269 { 2268 {
2270 a6b /= v19; 2269 a6b /= v19;
2271 v252 /= v19; 2270 v252 /= v19;
2272 v251 /= v19; 2271 v251 /= v19;