1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

removed unused interpolateLinear

This commit is contained in:
Vitaly Tuzov
2017-08-31 15:34:27 +03:00
parent b1f46b6d69
commit e8caa9b5c0
-6
View File
@@ -64,12 +64,6 @@ namespace cv
const int INTER_RESIZE_COEF_BITS=11;
const int INTER_RESIZE_COEF_SCALE=1 << INTER_RESIZE_COEF_BITS;
static inline void interpolateLinear( float x, float* coeffs )
{
coeffs[0] = 1.f - x;
coeffs[1] = x;
}
static inline void interpolateCubic( float x, float* coeffs )
{
const float A = -0.75f;