Macros | |
| #define | OPENCV_HAL_IMPL_MATH_FUNC(func, cfunc, _Tp2) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_CMP_OP(cmp_op) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_ARITHM_OP(func, bin_op, cast_op, _Tp2) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_SHIFT_OP(shift_op) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_ROTATE_SHIFT_OP(suffix, opA, opB) |
| Bitwise shift left. | |
| #define | OPENCV_HAL_IMPL_C_INIT_ZERO(_Tpvec, prefix, suffix) inline _Tpvec prefix##_setzero_##suffix() { return _Tpvec::zero(); } |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_C_INIT_VAL(_Tpvec, _Tp, prefix, suffix) inline _Tpvec prefix##_setall_##suffix(_Tp val) { return _Tpvec::all(val); } |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_C_REINTERPRET(_Tp, suffix) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_C_SHIFTL(_Tp) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_C_SHIFTR(_Tp) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_C_RSHIFTR(_Tp) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_C_PACK(_Tp, _Tpn, pack_suffix, cast) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_C_RSHR_PACK(_Tp, _Tpn, pack_suffix, cast) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_C_PACK_STORE(_Tp, _Tpn, pack_suffix, cast) |
| Helper macro. | |
| #define | OPENCV_HAL_IMPL_C_RSHR_PACK_STORE(_Tp, _Tpn, pack_suffix, cast) |
| Helper macro. | |
Functions | |
| cv::OPENCV_HAL_IMPL_MATH_FUNC (v_abs,(typename V_TypeTraits< _Tp >::abs_type) std::abs, typename V_TypeTraits< _Tp >::abs_type) static const unsigned char popCountTable[] | |
| Square root of elements. | |
| #define OPENCV_HAL_IMPL_ARITHM_OP | ( | func, | |
| bin_op, | |||
| cast_op, | |||
| _Tp2 | |||
| ) |
Helper macro.
| #define OPENCV_HAL_IMPL_C_INIT_VAL | ( | _Tpvec, | |
| _Tp, | |||
| prefix, | |||
| suffix | |||
| ) | inline _Tpvec prefix##_setall_##suffix(_Tp val) { return _Tpvec::all(val); } |
Helper macro.
| #define OPENCV_HAL_IMPL_C_INIT_ZERO | ( | _Tpvec, | |
| prefix, | |||
| suffix | |||
| ) | inline _Tpvec prefix##_setzero_##suffix() { return _Tpvec::zero(); } |
Helper macro.
| #define OPENCV_HAL_IMPL_C_PACK | ( | _Tp, | |
| _Tpn, | |||
| pack_suffix, | |||
| cast | |||
| ) |
Helper macro.
| #define OPENCV_HAL_IMPL_C_PACK_STORE | ( | _Tp, | |
| _Tpn, | |||
| pack_suffix, | |||
| cast | |||
| ) |
Helper macro.
| #define OPENCV_HAL_IMPL_C_REINTERPRET | ( | _Tp, | |
| suffix | |||
| ) |
Helper macro.
| #define OPENCV_HAL_IMPL_C_RSHIFTR | ( | _Tp | ) |
Helper macro.
| #define OPENCV_HAL_IMPL_C_RSHR_PACK | ( | _Tp, | |
| _Tpn, | |||
| pack_suffix, | |||
| cast | |||
| ) |
Helper macro.
| #define OPENCV_HAL_IMPL_C_RSHR_PACK_STORE | ( | _Tp, | |
| _Tpn, | |||
| pack_suffix, | |||
| cast | |||
| ) |
Helper macro.
| #define OPENCV_HAL_IMPL_C_SHIFTL | ( | _Tp | ) |
Helper macro.
| #define OPENCV_HAL_IMPL_C_SHIFTR | ( | _Tp | ) |
Helper macro.
| #define OPENCV_HAL_IMPL_CMP_OP | ( | cmp_op | ) |
Helper macro.
| #define OPENCV_HAL_IMPL_MATH_FUNC | ( | func, | |
| cfunc, | |||
| _Tp2 | |||
| ) |
Helper macro.
| #define OPENCV_HAL_IMPL_ROTATE_SHIFT_OP | ( | suffix, | |
| opA, | |||
| opB | |||
| ) |
Bitwise shift left.
For 16-, 32- and 64-bit integer values.
Bitwise shift right
For 16-, 32- and 64-bit integer values.
Helper macro
| #define OPENCV_HAL_IMPL_SHIFT_OP | ( | shift_op | ) |
Helper macro.
| cv::OPENCV_HAL_IMPL_MATH_FUNC | ( | v_abs | , |
| (typename V_TypeTraits< _Tp >::abs_type) std::abs | , | ||
| typename V_TypeTraits< _Tp >::abs_type | |||
| ) | const |
Square root of elements.
Only for floating point types.
Absolute value of elements
Only for floating point types.
Helper macro
Helper macro
Choose min values for each pair
Scheme:
For all types except 64-bit integer.
Choose max values for each pair
Scheme:
For all types except 64-bit integer.
Find one min value
Scheme:
For all types except 64-bit integer and 64-bit floating point types.
Find one max value
Scheme:
For all types except 64-bit integer and 64-bit floating point types.