Commit 8c7a5154 authored by Christopher Hollmann's avatar Christopher Hollmann
Browse files

Fixed implicit conversion

parent d52cc13d
......@@ -522,7 +522,7 @@ Void TEncTemporalFilter::motionEstimationLuma(Array2D<MotionVector> &mvs, const
variance = variance + (pix - avg) * (pix - avg);
}
}
best.error = 20 * ((best.error + 5.0) / (variance + 5.0)) + (best.error / (blockSize * blockSize)) / 50;
best.error = (Int) (20 * ((best.error + 5.0) / (variance + 5.0)) + (best.error / (blockSize * blockSize)) / 50);
#endif
mvs.get(blockX / stepSize, blockY / stepSize) = best;
}
......
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