Searched defs:BrdConstant (Results 1 – 2 of 2) sorted by relevance
60 template <class SrcPtr> struct BrdConstant struct62 typedef typename PtrTraits<SrcPtr>::value_type value_type;63 typedef int index_type;65 SrcPtr src;66 int rows, cols;67 typename PtrTraits<SrcPtr>::value_type val;69 … __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const in operator ()()
111 template <typename D> struct BrdConstant struct113 typedef D result_type;115 … __forceinline__ BrdConstant(int height_, int width_, const D& val_ = VecTraits<D>::all(0)) : heig… in BrdConstant() function119 …mplate <typename T> __device__ __forceinline__ D at(int y, int x, const T* data, size_t step) const in at()124 …ceinline__ D at(typename Ptr2D::index_type y, typename Ptr2D::index_type x, const Ptr2D& src) const in at()129 int height;130 int width;131 D val;