mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
checks
This commit is contained in:
@@ -397,6 +397,8 @@ static int countNonZero_(const T* src, int len )
|
||||
return nz;
|
||||
}
|
||||
|
||||
#if CV_SSE2
|
||||
|
||||
static const uchar * initPopcountTable()
|
||||
{
|
||||
static uchar tab[256];
|
||||
@@ -425,6 +427,8 @@ static const uchar * initPopcountTable()
|
||||
return tab;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static int countNonZero8u( const uchar* src, int len )
|
||||
{
|
||||
int i=0, nz = 0;
|
||||
@@ -645,7 +649,7 @@ static int countNonZero32f( const float* src, int len )
|
||||
}
|
||||
|
||||
static int countNonZero64f( const double* src, int len )
|
||||
{
|
||||
{
|
||||
int i = 0, nz = 0;
|
||||
#if CV_SSE2
|
||||
if (USE_SSE2)
|
||||
|
||||
Reference in New Issue
Block a user