OpenCV 4.12.0
開源計算機視覺
載入中...
搜尋中...
無匹配項
cv::v_reg< _Tp, n > 結構體模板參考

#include <opencv2/core/hal/intrin_cpp.hpp>

cv::v_reg< _Tp, n > 的協作圖

公共成員函式

 v_reg ()
 預設建構函式。
 
 v_reg (_Tp s0, _Tp s1)
 建構函式。
 
 v_reg (_Tp s0, _Tp s1, _Tp s2, _Tp s3)
 建構函式。
 
 v_reg (_Tp s0, _Tp s1, _Tp s2, _Tp s3, _Tp s4, _Tp s5, _Tp s6, _Tp s7)
 建構函式。
 
 v_reg (_Tp s0, _Tp s1, _Tp s2, _Tp s3, _Tp s4, _Tp s5, _Tp s6, _Tp s7, _Tp s8, _Tp s9, _Tp s10, _Tp s11, _Tp s12, _Tp s13, _Tp s14, _Tp s15)
 建構函式。
 
 v_reg (const _Tp *ptr)
 建構函式。
 
 v_reg (const v_reg< _Tp, n > &r)
 複製建構函式。
 
_Tp get0 () const
 訪問第一個值。
 

建構函式 & 解構函式文件

◆ v_reg() [1/7]

template<typename _Tp , int n>
cv::v_reg< _Tp, n >::v_reg ( const _Tp * ptr)
inlineexplicit

建構函式。

使用來自記憶體的資料初始化暫存器

引數
ptr指向包含暫存器資料的記憶體塊的指標

◆ v_reg() [2/7]

template<typename _Tp , int n>
cv::v_reg< _Tp, n >::v_reg ( 包裝自定義型別的輔助函式。 s0,
包裝自定義型別的輔助函式。 s1 )
inline

建構函式。

使用兩個 64 位值初始化暫存器

◆ v_reg() [3/7]

建構函式。

使用四個 32 位值初始化暫存器

◆ v_reg() [4/7]

◆ v_reg() [5/7]

◆ v_reg() [6/7]

template<typename _Tp , int n>
cv::v_reg< _Tp, n >::v_reg ( )
inline

預設建構函式。

不初始化任何內容

◆ v_reg() [7/7]

template<typename _Tp , int n>
cv::v_reg< _Tp, n >::v_reg ( const v_reg< _Tp, n > & r)
inline

複製建構函式。

成員函式文件

◆ get0()

template<typename _Tp , int n>
_Tp cv::v_reg< _Tp, n >::get0 ( ) const
inline

訪問第一個值。

根據暫存器型別返回第一個通道的值,例如

v_int32x4 r(1, 2, 3, 4);
int v = r.get0(); // 返回 1
v_uint64x2 r(1, 2);
uint64_t v = r.get0(); // 返回 1
定義 intrin_cpp.hpp:372

此結構體的文件由以下檔案生成