Searched refs:cv_abs (Results 1 – 3 of 3) sorted by relevance
423 template<typename _Tp> inline _Tp cv_abs(_Tp x) { return std::abs(x); } in cv_abs() function424 inline int cv_abs(uchar x) { return x; } in cv_abs() function425 inline int cv_abs(schar x) { return std::abs(x); } in cv_abs() function426 inline int cv_abs(ushort x) { return x; } in cv_abs() function427 inline int cv_abs(short x) { return std::abs(x); } in cv_abs() function457 s += (_AccTp)cv_abs(a[i]) + (_AccTp)cv_abs(a[i+1]) + in normL1()458 (_AccTp)cv_abs(a[i+2]) + (_AccTp)cv_abs(a[i+3]); in normL1()462 s += cv_abs(a[i]); in normL1()471 s = std::max(s, (_AccTp)cv_abs(a[i])); in normInf()
1190 dst[i] = cv_abs(val) <= 2 ? tab[val + 2] : (T)0; in iPow_i()
2368 result = std::max(result, ST(cv_abs(src[k]))); in normInf_()2389 result += cv_abs(src[k]); in normL1_()