OpenCV  2.4.13.7
Open Source Computer Vision
cv::gpu::device::VecDiffCachedRegister< THREAD_DIM, MAX_LEN, LEN_EQ_MAX_LEN, U > Struct Template Reference

#include <vec_distance.hpp>

Public Member Functions

template<typename T1 >
__device__ __forceinline__ VecDiffCachedRegister (const T1 *vec1, int len, U *smem, int glob_tid, int tid)
 
template<typename T2 , typename Dist >
__device__ __forceinline__ void calc (const T2 *vec2, int len, Dist &dist, typename Dist::result_type *smem, int tid) const
 

Public Attributes

vec1Vals [MAX_LEN/THREAD_DIM]
 

Constructor & Destructor Documentation

§ VecDiffCachedRegister()

template<int THREAD_DIM, int MAX_LEN, bool LEN_EQ_MAX_LEN, typename U >
template<typename T1 >
__device__ __forceinline__ cv::gpu::device::VecDiffCachedRegister< THREAD_DIM, MAX_LEN, LEN_EQ_MAX_LEN, U >::VecDiffCachedRegister ( const T1 *  vec1,
int  len,
U *  smem,
int  glob_tid,
int  tid 
)
inline

Member Function Documentation

§ calc()

template<int THREAD_DIM, int MAX_LEN, bool LEN_EQ_MAX_LEN, typename U >
template<typename T2 , typename Dist >
__device__ __forceinline__ void cv::gpu::device::VecDiffCachedRegister< THREAD_DIM, MAX_LEN, LEN_EQ_MAX_LEN, U >::calc ( const T2 *  vec2,
int  len,
Dist &  dist,
typename Dist::result_type *  smem,
int  tid 
) const
inline

Member Data Documentation

§ vec1Vals

template<int THREAD_DIM, int MAX_LEN, bool LEN_EQ_MAX_LEN, typename U >
U cv::gpu::device::VecDiffCachedRegister< THREAD_DIM, MAX_LEN, LEN_EQ_MAX_LEN, U >::vec1Vals[MAX_LEN/THREAD_DIM]

The documentation for this struct was generated from the following file: