From 8f4ddad52dbe692e892e0714966c808c4687d23c Mon Sep 17 00:00:00 2001 From: Alexander Kapustin Date: Thu, 20 Sep 2012 17:24:20 +0400 Subject: [PATCH] 1. New function ActualScalarDepth was added 2. Two new NeonOptimized functions subtract_8u8u32f and subtract_8u8u8s were added --- modules/core/src/arithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/arithm.cpp b/modules/core/src/arithm.cpp index 33a72a456..9add4c35e 100644 --- a/modules/core/src/arithm.cpp +++ b/modules/core/src/arithm.cpp @@ -1216,7 +1216,7 @@ void cv::min(const Mat& src1, double src2, Mat& dst) namespace cv { -int actualScalarDepth(const Mat& src) +static int actualScalarDepth(const Mat& src) { double min = MIN(MIN(*((double*)src.data), *((double*)src.data+1)), MIN(*((double*)src.data+2), (*((double*)src.data+3)))); double max = MAX(MAX(*((double*)src.data), *((double*)src.data+1)), MAX(*((double*)src.data+2), (*((double*)src.data+3))));