Loading...
Searching...
No Matches
cv::v_reg< _Tp, n > Struct Template Reference
#include <opencv2/core/hal/intrin_cpp.hpp>
Public Member Functions | |
v_reg () | |
Default constructor. | |
v_reg (_Tp s0, _Tp s1) | |
Constructor. | |
v_reg (_Tp s0, _Tp s1, _Tp s2, _Tp s3) | |
Constructor. | |
v_reg (_Tp s0, _Tp s1, _Tp s2, _Tp s3, _Tp s4, _Tp s5, _Tp s6, _Tp s7) | |
Constructor. | |
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) | |
Constructor. | |
v_reg (const _Tp *ptr) | |
Constructor. | |
v_reg (const v_reg< _Tp, n > &r) | |
Copy constructor. | |
_Tp | get0 () const |
Access first value. | |
Constructor & Destructor Documentation
◆ v_reg() [1/7]
Constructor.
Initializes register with data from memory
- Parameters
-
ptr pointer to memory block with data for register
◆ v_reg() [2/7]
Constructor.
Initializes register with two 64-bit values
◆ v_reg() [3/7]
Constructor.
Initializes register with four 32-bit values
◆ v_reg() [4/7]
template<typename _Tp , int n>
|
inline |
Constructor.
Initializes register with eight 16-bit values
◆ v_reg() [5/7]
template<typename _Tp , int n>
|
inline |
Constructor.
Initializes register with sixteen 8-bit values
◆ v_reg() [6/7]
Default constructor.
Does not initialize anything
◆ v_reg() [7/7]
Copy constructor.
Member Function Documentation
◆ get0()
Access first value.
Returns value of the first lane according to register type, for example:
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_rvv.hpp:410
Definition: intrin_rvv.hpp:468
The documentation for this struct was generated from the following file:
- opencv2/core/hal/intrin_cpp.hpp