OpenCV 5.0.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。

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

Collaboration diagram for 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 ( _Tp s0,
_Tp s1 )
inline

コンストラクタ。

2つの64ビット値でレジスタを初期化する

◆ v_reg() [3/7]

template<typename _Tp , int n>
cv::v_reg< _Tp, n >::v_reg ( _Tp s0,
_Tp s1,
_Tp s2,
_Tp s3 )
inline

コンストラクタ。

4つの32ビット値でレジスタを初期化する

◆ v_reg() [4/7]

template<typename _Tp , int n>
cv::v_reg< _Tp, n >::v_reg ( _Tp s0,
_Tp s1,
_Tp s2,
_Tp s3,
_Tp s4,
_Tp s5,
_Tp s6,
_Tp s7 )
inline

コンストラクタ。

8つの16ビット値でレジスタを初期化する

◆ v_reg() [5/7]

template<typename _Tp , int n>
cv::v_reg< _Tp, n >::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 )
inline

コンストラクタ。

16個の8ビット値でレジスタを初期化する

◆ 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(); // returns 1
v_uint64x2 r(1, 2);
uint64_t v = r.get0(); // returns 1
Definition intrin_cpp.hpp:389

この構造体詳解は次のファイルから抽出されました: