OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
intrin.hpp 檔案參考
#include <cmath>
#include <float.h>
#include <stdlib.h>
#include "opencv2/core/cvdef.h"
#include "opencv2/core/hal/intrin_cpp.hpp"
intrin.hpp 的包含依賴關係圖
此圖顯示了直接或間接包含此檔案的檔案

結構體  cv::V_TypeTraits< _Tp >
 
結構體  cv::V_TypeTraits< double >
 
結構體  cv::V_TypeTraits< float >
 
結構體  cv::V_TypeTraits< int64 >
 
結構體  cv::V_TypeTraits< schar >
 
結構體  cv::V_TypeTraits< short >
 
結構體  cv::V_TypeTraits< uchar >
 
結構體  cv::V_TypeTraits< uint64 >
 
結構體  cv::V_TypeTraits< unsigned >
 
結構體  cv::V_TypeTraits< ushort >
 

名稱空間

名稱空間  cv
 
名稱空間  cv::hal
 
名稱空間  simd512
 

#define CV_INTRIN_DEF_TYPE_TRAITS(type, int_type_, uint_type_, abs_type_, w_type_, q_type_, sum_type_)
 
#define CV_INTRIN_DEF_TYPE_TRAITS_NO_Q_TYPE(type, int_type_, uint_type_, abs_type_, w_type_, sum_type_)
 
#define CV_SIMD   1
 
#define CV_SIMD_64F   CV_SIMD512_64F
 
#define CV_SIMD_FP16   CV_SIMD512_FP16
 
#define CV_SIMD_WIDTH   64
 
#define OPENCV_HAL_1ST(a, b)
 
#define OPENCV_HAL_ADD(a, b)
 
#define OPENCV_HAL_AND(a, b)
 
#define OPENCV_HAL_NOP(a)
 
#define VXPREFIX(func)
 

型別定義

typedef v_float32x16 simd512::v_float32
 最大可用向量暫存器容量 32 位浮點值(單精度)
 
typedef v_float64x8 simd512::v_float64
 最大可用向量暫存器容量 64 位浮點值(雙精度)
 
typedef v_int16x32 simd512::v_int16
 最大可用向量暫存器容量 16 位有符號整數值。
 
typedef v_int32x16 simd512::v_int32
 最大可用向量暫存器容量 32 位有符號整數值。
 
typedef v_int64x8 simd512::v_int64
 最大可用向量暫存器容量 64 位有符號整數值。
 
typedef v_int8x64 simd512::v_int8
 最大可用向量暫存器容量 8 位有符號整數值。
 
typedef v_uint16x32 simd512::v_uint16
 最大可用向量暫存器容量 16 位無符號整數值。
 
typedef v_uint32x16 simd512::v_uint32
 最大可用向量暫存器容量 32 位無符號整數值。
 
typedef v_uint64x8 simd512::v_uint64
 最大可用向量暫存器容量 64 位無符號整數值。
 
typedef v_uint8x64 simd512::v_uint8
 最大可用向量暫存器容量 8 位無符號整數值。
 

列舉

列舉  cv::hal::StoreMode {
  cv::hal::STORE_UNALIGNED = 0 ,
  cv::hal::STORE_ALIGNED = 1 ,
  cv::hal::STORE_ALIGNED_NOCACHE = 2
}
 

宏定義文件

◆ CV_INTRIN_DEF_TYPE_TRAITS

#define CV_INTRIN_DEF_TYPE_TRAITS ( type,
int_type_,
uint_type_,
abs_type_,
w_type_,
q_type_,
sum_type_ )
template<> struct V_TypeTraits<type> \
{ \
typedef type value_type; \
typedef int_type_ int_type; \
typedef abs_type_ abs_type; \
typedef uint_type_ uint_type; \
typedef w_type_ w_type; \
typedef q_type_ q_type; \
typedef sum_type_ sum_type; \
\
static inline int_type reinterpret_int(type x) \
{ \
union { type l; int_type i; } v; \
v.l = x; \
return v.i; \
} \
\
static inline type reinterpret_from_int(int_type x) \
{ \
union { type l; int_type i; } v; \
v.i = x; \
return v.l; \
} \
}

◆ CV_INTRIN_DEF_TYPE_TRAITS_NO_Q_TYPE

#define CV_INTRIN_DEF_TYPE_TRAITS_NO_Q_TYPE ( type,
int_type_,
uint_type_,
abs_type_,
w_type_,
sum_type_ )
template<> struct V_TypeTraits<type> \
{ \
typedef type value_type; \
typedef int_type_ int_type; \
typedef abs_type_ abs_type; \
typedef uint_type_ uint_type; \
typedef w_type_ w_type; \
typedef sum_type_ sum_type; \
\
static inline int_type reinterpret_int(type x) \
{ \
union { type l; int_type i; } v; \
v.l = x; \
return v.i; \
} \
\
static inline type reinterpret_from_int(int_type x) \
{ \
union { type l; int_type i; } v; \
v.i = x; \
return v.l; \
} \
}

◆ CV_SIMD

#define CV_SIMD   1

◆ CV_SIMD_64F

#define CV_SIMD_64F   CV_SIMD512_64F

◆ CV_SIMD_FP16

#define CV_SIMD_FP16   CV_SIMD512_FP16

◆ CV_SIMD_WIDTH

#define CV_SIMD_WIDTH   64

◆ OPENCV_HAL_1ST

#define OPENCV_HAL_1ST ( a,
b )
(a)

◆ OPENCV_HAL_ADD

#define OPENCV_HAL_ADD ( a,
b )
((a) + (b))

◆ OPENCV_HAL_AND

#define OPENCV_HAL_AND ( a,
b )
((a) & (b))

◆ OPENCV_HAL_NOP

#define OPENCV_HAL_NOP ( a)
(a)

◆ VXPREFIX

#define VXPREFIX ( func)
v512##func