/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
reduce_to_column.hpp | 57 template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor, int cn> struct Reduce; 59 template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce<BLOCK_SIZE, work_type, work_elem_type, Reductor, 1> 61 __device__ __forceinline__ static void call(work_elem_type smem[1][BLOCK_SIZE], work_type& myVal) 63 typename Reductor::template rebind<work_elem_type>::other op; 68 template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce<BLOCK_SIZE, work_type, work_elem_type, Reductor, 2> 70 __device__ __forceinline__ static void call(work_elem_type smem[2][BLOCK_SIZE], work_type& myVal) 72 typename Reductor::template rebind<work_elem_type>::other op; 77 template <int BLOCK_SIZE, typename work_type, typename work_elem_type, class Reductor> struct Reduce<BLOCK_SIZE, work_type, work_elem_type, Reductor, 3 99 typedef typename VecTraits<work_type>::elem_type work_elem_type; typedef [all...] |
pyr_down.hpp | 65 typedef typename LargerType<float, src_elem_type>::type work_elem_type; typedef 66 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
|
pyr_up.hpp | 65 typedef typename LargerType<float, src_elem_type>::type work_elem_type; typedef 66 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type;
|
reduce.hpp | 261 typedef typename VecTraits<work_type>::elem_type work_elem_type; typedef in struct:cv::cudev::grid_reduce_detail::SumReductor 277 __device__ void reduceGrid(work_elem_type* result, int tid) 279 __shared__ work_elem_type smem[BLOCK_SIZE * cn]; 281 blockReduce<BLOCK_SIZE>(Unroll<cn>::template smem<BLOCK_SIZE>(smem), Unroll<cn>::res(sum), tid, Unroll<cn>::op(plus<work_elem_type>())); 284 AtomicUnroll<work_elem_type, cn>::add(result, sum);
|
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/ |
interpolation.hpp | 108 typedef typename LargerType<float, src_elem_type>::type work_elem_type; typedef 109 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; 119 out = out + src_reg * static_cast<work_elem_type>((x2 - x) * (y2 - y)); 122 out = out + src_reg * static_cast<work_elem_type>((x - x1) * (y2 - y)); 125 out = out + src_reg * static_cast<work_elem_type>((x2 - x) * (y - y1)); 128 out = out + src_reg * static_cast<work_elem_type>((x - x1) * (y - y1)); 183 typedef typename LargerType<float, src_elem_type>::type work_elem_type; typedef 184 typedef typename MakeVec<work_elem_type, VecTraits<src_type>::cn>::type work_type; 202 sum = sum + static_cast<work_elem_type>(w) * src_reg; 207 work_type res = (wsum > numeric_limits<float>::epsilon()) ? VecTraits<work_type>::all(0) : sum / static_cast<work_elem_type>(wsum) 246 typedef typename LargerType<float, src_elem_type>::type work_elem_type; typedef 306 typedef typename LargerType<float, src_elem_type>::type work_elem_type; typedef [all...] |