1. New function ActualScalarDepth was added

2. Two new NeonOptimized functions subtract_8u8u32f and subtract_8u8u8s were added
pull/32/head
Alexander Kapustin 13 years ago
parent bb3332508e
commit 8f4ddad52d
  1. 2
      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))));

Loading…
Cancel
Save