1. New function ActualScalarDepth was added

2. Two new NeonOptimized functions subtract_8u8u32f and subtract_8u8u8s were added
This commit is contained in:
Alexander Kapustin 2012-09-20 17:24:20 +04:00
parent bb3332508e
commit 8f4ddad52d

View File

@ -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))));