OpenCV  2.4.13.7
Open Source Computer Vision
cv::gpu::device::VecDiffGlobal< THREAD_DIM, T1 > Struct Template Reference

#include <vec_distance.hpp>

Public Member Functions

__device__ __forceinline__ VecDiffGlobal (const T1 *vec1_, int=0, void *=0, int=0, int=0)
 
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

const T1 * vec1
 

Constructor & Destructor Documentation

§ VecDiffGlobal()

template<int THREAD_DIM, typename T1 >
__device__ __forceinline__ cv::gpu::device::VecDiffGlobal< THREAD_DIM, T1 >::VecDiffGlobal ( const T1 *  vec1_,
int  = 0,
void = 0,
int  = 0,
int  = 0 
)
inlineexplicit

Member Function Documentation

§ calc()

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

Member Data Documentation

§ vec1

template<int THREAD_DIM, typename T1 >
const T1* cv::gpu::device::VecDiffGlobal< THREAD_DIM, T1 >::vec1

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