Skip to content

Commit e8caa9b

Browse files
committed
removed unused interpolateLinear
1 parent b1f46b6 commit e8caa9b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/imgproc/src/resize.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ namespace cv
6464
const int INTER_RESIZE_COEF_BITS=11;
6565
const int INTER_RESIZE_COEF_SCALE=1 << INTER_RESIZE_COEF_BITS;
6666

67-
static inline void interpolateLinear( float x, float* coeffs )
68-
{
69-
coeffs[0] = 1.f - x;
70-
coeffs[1] = x;
71-
}
72-
7367
static inline void interpolateCubic( float x, float* coeffs )
7468
{
7569
const float A = -0.75f;

0 commit comments

Comments
 (0)