possibility to enable /mp compiler flag from cmake

fixed MCVC warnings
This commit is contained in:
Anatoly Baksheev
2012-08-23 14:05:25 +04:00
parent 5648e49d59
commit 290030d030
9 changed files with 30 additions and 23 deletions

View File

@@ -226,8 +226,8 @@ namespace cv { namespace gpu { namespace device
(void)srcWhole;
(void)xoff;
(void)yoff;
int iscale_x = round(fx);
int iscale_y = round(fy);
int iscale_x = (int)round(fx);
int iscale_y = (int)round(fy);
if( std::abs(fx - iscale_x) < FLT_MIN && std::abs(fy - iscale_y) < FLT_MIN)
ResizeDispatcherStream<IntegerAreaFilter, T>::call(src, fx, fy, dst, stream);