From e8caa9b5c0904cab651c478a72d6b9419889a85d Mon Sep 17 00:00:00 2001 From: Vitaly Tuzov Date: Thu, 31 Aug 2017 15:34:27 +0300 Subject: [PATCH] removed unused interpolateLinear --- modules/imgproc/src/resize.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/imgproc/src/resize.cpp b/modules/imgproc/src/resize.cpp index 4ff5e937a6..13dbf3b795 100644 --- a/modules/imgproc/src/resize.cpp +++ b/modules/imgproc/src/resize.cpp @@ -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;