Searched refs:PtrTraits (Results 1 - 25 of 38) sorted by relevance

12

/external/opencv3/modules/cudev/include/opencv2/cudev/expr/
H A Dper_element_func.hpp65 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<SrcPtr1>::ptr_type, typename PtrTraits<SrcPtr2>::ptr_type, minimum<typename LargerType<typename PtrTraits<SrcPtr1>::value_type, typename PtrTraits<SrcPtr2>::value_type>::type> > >
68 return makeExpr(transformPtr(src1, src2, minimum<typename LargerType<typename PtrTraits<SrcPtr1>::value_type, typename PtrTraits<SrcPtr2>::value_type>::type>()));
72 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<SrcPtr1>::ptr_type, typename PtrTraits<SrcPtr2>::ptr_type, maximum<typename LargerType<typename PtrTraits<SrcPtr1>::value_type, typename PtrTraits<SrcPtr
[all...]
H A Dbinary_func.hpp63 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<SrcPtr1>::ptr_type, typename PtrTraits<SrcPtr2>::ptr_type, name ## _func<typename LargerType<typename PtrTraits<SrcPtr1>::value_type, typename PtrTraits<SrcPtr2>::value_type>::type> > > \
66 return makeExpr(transformPtr(src1, src2, name ## _func<typename LargerType<typename PtrTraits<SrcPtr1>::value_type, typename PtrTraits<SrcPtr2>::value_type>::type>())); \
H A Dbinary_op.hpp68 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, typename PtrTraits<GpuMat_<T> >::ptr_type, functor<T> > > \
74 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, typename PtrTraits<GlobPtrSz<T> >::ptr_type, functor<T> > > \
80 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GlobPtrSz<T> >::ptr_type, typename PtrTraits<GpuMat_<T> >::ptr_type, functor<T> > > \
86 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, typename PtrTraits<Texture<T> >::ptr_type, functor<T> > > \
92 __host__ Expr<BinaryTransformPtrSz<typename PtrTraits<Texture<T> >::ptr_type, typename PtrTraits<GpuMat
[all...]
H A Dexpr.hpp70 template <class Body> struct PtrTraits< Expr<Body> > struct in namespace:cv::cudev
73 typedef typename PtrTraits<Body>::ptr_type ptr_type;
79 return PtrTraits<Body>::shrinkPtr(expr.body);
84 return PtrTraits<Body>::getRows(expr.body);
89 return PtrTraits<Body>::getCols(expr.body);
H A Dderiv.hpp62 __host__ Expr<DerivXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
71 __host__ Expr<DerivYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
80 __host__ Expr<SobelXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
89 __host__ Expr<SobelYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
98 __host__ Expr<ScharrXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
107 __host__ Expr<ScharrYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
116 __host__ Expr<LaplacianPtrSz<ksize, typename PtrTraits<SrcPtr>::ptr_type> >
H A Dunary_func.hpp62 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, name ## _func<typename PtrTraits<SrcPtr>::value_type> > > \
65 return makeExpr(transformPtr(src, name ## _func<typename PtrTraits<SrcPtr>::value_type>())); \
93 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, Binder2nd<pow_func<typename PtrTraits<SrcPtr>::value_type> > > >
96 return makeExpr(transformPtr(src, bind2nd(pow_func<typename PtrTraits<SrcPtr>::value_type>(), power)));
H A Dwarping.hpp66 __host__ Expr<ResizePtrSz<typename PtrTraits<SrcPtr>::ptr_type> >
75 __host__ Expr<RemapPtr1Sz<typename PtrTraits<SrcPtr>::ptr_type, typename PtrTraits<MapPtr>::ptr_type> >
82 __host__ Expr<RemapPtr2Sz<typename PtrTraits<SrcPtr>::ptr_type, typename PtrTraits<MapXPtr>::ptr_type, typename PtrTraits<MapYPtr>::ptr_type> >
91 __host__ Expr<RemapPtr1Sz<typename PtrTraits<SrcPtr>::ptr_type, AffineMapPtr> >
100 __host__ Expr<RemapPtr1Sz<typename PtrTraits<SrcPtr>::ptr_type, PerspectiveMapPtr> >
H A Dunary_op.hpp65 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<GpuMat_<T> >::ptr_type, functor<T> > > \
71 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<GlobPtrSz<T> >::ptr_type, functor<T> > > \
77 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<Texture<T> >::ptr_type, functor<T> > > \
83 __host__ Expr<UnaryTransformPtrSz<typename PtrTraits<Body>::ptr_type, functor<typename Body::value_type> > > \
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/
H A Dlut.hpp62 typedef typename PtrTraits<TablePtr>::value_type value_type;
63 typedef typename PtrTraits<SrcPtr>::index_type index_type;
68 __device__ __forceinline__ typename PtrTraits<TablePtr>::value_type operator ()(typename PtrTraits<SrcPtr>::index_type y, typename PtrTraits<SrcPtr>::index_type x) const
70 typedef typename PtrTraits<TablePtr>::index_type tbl_index_type;
87 __host__ LutPtrSz<typename PtrTraits<SrcPtr>::ptr_type, typename PtrTraits<TablePtr>::ptr_type> lutPtr(const SrcPtr& src, const TablePtr& tbl)
89 LutPtrSz<typename PtrTraits<SrcPtr>::ptr_type, typename PtrTraits<TablePt
97 template <class SrcPtr, class TablePtr> struct PtrTraits< LutPtrSz<SrcPtr, TablePtr> > : PtrTraitsBase<LutPtrSz<SrcPtr, TablePtr>, LutPtr<SrcPtr, TablePtr> > struct in namespace:cv::cudev
[all...]
H A Dremap.hpp62 typedef typename PtrTraits<SrcPtr>::value_type value_type;
63 typedef typename PtrTraits<MapPtr>::index_type index_type;
68 __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(typename PtrTraits<MapPtr>::index_type y, typename PtrTraits<MapPtr>::index_type x) const
70 const typename PtrTraits<MapPtr>::value_type coord = map(y, x);
77 typedef typename PtrTraits<SrcPtr>::value_type value_type;
78 typedef typename PtrTraits<MapXPtr>::index_type index_type;
84 __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(typename PtrTraits<MapXPt
147 template <class SrcPtr, class MapPtr> struct PtrTraits< RemapPtr1Sz<SrcPtr, MapPtr> > : PtrTraitsBase<RemapPtr1Sz<SrcPtr, MapPtr>, RemapPtr1<SrcPtr, MapPtr> > struct in namespace:cv::cudev
151 template <class SrcPtr, class MapXPtr, class MapYPtr> struct PtrTraits< RemapPtr2Sz<SrcPtr, MapXPtr, MapYPtr> > : PtrTraitsBase<RemapPtr2Sz<SrcPtr, MapXPtr, MapYPtr>, RemapPtr2<SrcPtr, MapXPtr, MapYPtr> > struct in namespace:cv::cudev
[all...]
H A Dresize.hpp62 typedef typename PtrTraits<SrcPtr>::value_type value_type;
63 typedef typename PtrTraits<SrcPtr>::index_type index_type;
68 __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(typename PtrTraits<SrcPtr>::index_type y, typename PtrTraits<SrcPtr>::index_type x) const
89 __host__ ResizePtrSz<typename PtrTraits<SrcPtr>::ptr_type> resizePtr(const SrcPtr& src, float fx, float fy)
91 ResizePtrSz<typename PtrTraits<SrcPtr>::ptr_type> r;
100 template <class SrcPtr> struct PtrTraits< ResizePtrSz<SrcPtr> > : PtrTraitsBase<ResizePtrSz<SrcPtr>, ResizePtr<SrcPtr> > struct in namespace:cv::cudev
H A Dmask.hpp70 typedef typename PtrTraits<MaskPtr>::value_type value_type;
71 typedef typename PtrTraits<MaskPtr>::index_type index_type;
89 __host__ SingleMaskChannelsSz<typename PtrTraits<MaskPtr>::ptr_type>
92 SingleMaskChannelsSz<typename PtrTraits<MaskPtr>::ptr_type> ptr;
100 template <class MaskPtr> struct PtrTraits< SingleMaskChannelsSz<MaskPtr> > : PtrTraitsBase<SingleMaskChannelsSz<MaskPtr>, SingleMaskChannels<MaskPtr> > struct in namespace:cv::cudev
H A Dtraits.hpp80 template <class Ptr2DSz> struct PtrTraits : PtrTraitsBase<Ptr2DSz, Ptr2DSz> struct in namespace:cv::cudev
85 __host__ typename PtrTraits<Ptr2DSz>::ptr_type shrinkPtr(const Ptr2DSz& ptr)
87 return PtrTraits<Ptr2DSz>::shrinkPtr(ptr);
93 return PtrTraits<Ptr2DSz>::getRows(ptr);
99 return PtrTraits<Ptr2DSz>::getCols(ptr);
H A Dzip.hpp62 typedef tuple<typename PtrTraits<Ptr0>::value_type,
63 typename PtrTraits<Ptr1>::value_type> value_type;
64 typedef typename PtrTraits<Ptr0>::index_type index_type;
77 typedef tuple<typename PtrTraits<Ptr0>::value_type,
78 typename PtrTraits<Ptr1>::value_type,
79 typename PtrTraits<Ptr2>::value_type> value_type;
80 typedef typename PtrTraits<Ptr0>::index_type index_type;
93 typedef tuple<typename PtrTraits<Ptr0>::value_type,
94 typename PtrTraits<Ptr1>::value_type,
95 typename PtrTraits<Ptr
170 template <class PtrTuple> struct PtrTraits< ZipPtrSz<PtrTuple> > : PtrTraitsBase<ZipPtrSz<PtrTuple>, ZipPtr<PtrTuple> > struct in namespace:cv::cudev
[all...]
H A Dderiv.hpp63 typedef typename PtrTraits<SrcPtr>::value_type value_type;
68 __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const
86 __host__ DerivXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> derivXPtr(const SrcPtr& src)
88 DerivXPtrSz<typename PtrTraits<SrcPtr>::ptr_type> s;
95 template <class SrcPtr> struct PtrTraits< DerivXPtrSz<SrcPtr> > : PtrTraitsBase<DerivXPtrSz<SrcPtr>, DerivXPtr<SrcPtr> > struct in namespace:cv::cudev
103 typedef typename PtrTraits<SrcPtr>::value_type value_type;
108 __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const
126 __host__ DerivYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> derivYPtr(const SrcPtr& src)
128 DerivYPtrSz<typename PtrTraits<SrcPtr>::ptr_type> s;
135 template <class SrcPtr> struct PtrTraits< DerivYPtrS struct in namespace:cv::cudev
182 template <class SrcPtr> struct PtrTraits< SobelXPtrSz<SrcPtr> > : PtrTraitsBase<SobelXPtrSz<SrcPtr>, SobelXPtr<SrcPtr> > struct in namespace:cv::cudev
228 template <class SrcPtr> struct PtrTraits< SobelYPtrSz<SrcPtr> > : PtrTraitsBase<SobelYPtrSz<SrcPtr>, SobelYPtr<SrcPtr> > struct in namespace:cv::cudev
275 template <class SrcPtr> struct PtrTraits< ScharrXPtrSz<SrcPtr> > : PtrTraitsBase<ScharrXPtrSz<SrcPtr>, ScharrXPtr<SrcPtr> > struct in namespace:cv::cudev
321 template <class SrcPtr> struct PtrTraits< ScharrYPtrSz<SrcPtr> > : PtrTraitsBase<ScharrYPtrSz<SrcPtr>, ScharrYPtr<SrcPtr> > struct in namespace:cv::cudev
390 template <int ksize, class SrcPtr> struct PtrTraits< LaplacianPtrSz<ksize, SrcPtr> > : PtrTraitsBase<LaplacianPtrSz<ksize, SrcPtr>, LaplacianPtr<ksize, SrcPtr> > struct in namespace:cv::cudev
[all...]
H A Dtransform.hpp64 typedef typename PtrTraits<SrcPtr>::index_type index_type;
69 __device__ __forceinline__ typename Op::result_type operator ()(typename PtrTraits<SrcPtr>::index_type y, typename PtrTraits<SrcPtr>::index_type x) const
87 __host__ UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, Op>
90 UnaryTransformPtrSz<typename PtrTraits<SrcPtr>::ptr_type, Op> ptr;
98 template <class SrcPtr, class Op> struct PtrTraits< UnaryTransformPtrSz<SrcPtr, Op> > : PtrTraitsBase<UnaryTransformPtrSz<SrcPtr, Op>, UnaryTransformPtr<SrcPtr, Op> > struct in namespace:cv::cudev
107 typedef typename PtrTraits<Src1Ptr>::index_type index_type;
113 __device__ __forceinline__ typename Op::result_type operator ()(typename PtrTraits<Src1Ptr>::index_type y, typename PtrTraits<Src1Ptr>::index_type x) const
131 __host__ BinaryTransformPtrSz<typename PtrTraits<Src1Pt
148 template <class Src1Ptr, class Src2Ptr, class Op> struct PtrTraits< BinaryTransformPtrSz<Src1Ptr, Src2Ptr, Op> > : PtrTraitsBase<BinaryTransformPtrSz<Src1Ptr, Src2Ptr, Op>, BinaryTransformPtr<Src1Ptr, Src2Ptr, Op> > struct in namespace:cv::cudev
[all...]
H A Dinterpolation.hpp65 typedef typename PtrTraits<SrcPtr>::value_type value_type;
70 __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(float y, float x) const
82 __host__ NearestInterPtrSz<typename PtrTraits<SrcPtr>::ptr_type> interNearest(const SrcPtr& src)
84 NearestInterPtrSz<typename PtrTraits<SrcPtr>::ptr_type> i;
91 template <class SrcPtr> struct PtrTraits< NearestInterPtrSz<SrcPtr> > : PtrTraitsBase<NearestInterPtrSz<SrcPtr>, NearestInterPtr<SrcPtr> > struct in namespace:cv::cudev
99 typedef typename PtrTraits<SrcPtr>::value_type value_type;
104 __device__ typename PtrTraits<SrcPtr>::value_type operator ()(float y, float x) const
106 typedef typename PtrTraits<SrcPtr>::value_type src_type;
118 typename PtrTraits<SrcPtr>::value_type src_reg = src(y1, x1);
130 return saturate_cast<typename PtrTraits<SrcPt
149 template <class SrcPtr> struct PtrTraits< LinearInterPtrSz<SrcPtr> > : PtrTraitsBase<LinearInterPtrSz<SrcPtr>, LinearInterPtr<SrcPtr> > struct in namespace:cv::cudev
228 template <class SrcPtr> struct PtrTraits< CubicInterPtrSz<SrcPtr> > : PtrTraitsBase<CubicInterPtrSz<SrcPtr>, CubicInterPtr<SrcPtr> > struct in namespace:cv::cudev
288 template <class SrcPtr> struct PtrTraits< IntegerAreaInterPtrSz<SrcPtr> > : PtrTraitsBase<IntegerAreaInterPtrSz<SrcPtr>, IntegerAreaInterPtr<SrcPtr> > struct in namespace:cv::cudev
382 template <class SrcPtr> struct PtrTraits< CommonAreaInterPtrSz<SrcPtr> > : PtrTraitsBase<CommonAreaInterPtrSz<SrcPtr>, CommonAreaInterPtr<SrcPtr> > struct in namespace:cv::cudev
[all...]
H A Dextrapolation.hpp62 typedef typename PtrTraits<SrcPtr>::value_type value_type;
67 typename PtrTraits<SrcPtr>::value_type val;
69 __device__ __forceinline__ typename PtrTraits<SrcPtr>::value_type operator ()(int y, int x) const
76 __host__ BrdConstant<typename PtrTraits<SrcPtr>::ptr_type> brdConstant(const SrcPtr& src, typename PtrTraits<SrcPtr>::value_type val)
78 BrdConstant<typename PtrTraits<SrcPtr>::ptr_type> b;
87 __host__ BrdConstant<typename PtrTraits<SrcPtr>::ptr_type> brdConstant(const SrcPtr& src)
89 return brdConstant(src, VecTraits<typename PtrTraits<SrcPtr>::value_type>::all(0));
96 typedef typename PtrTraits<SrcPtr>::value_type value_type;
112 __device__ __forceinline__ typename PtrTraits<SrcPt
[all...]
H A Dwarping.hpp82 template <> struct PtrTraits<AffineMapPtrSz> : PtrTraitsBase<AffineMapPtrSz, AffineMapPtr> struct in namespace:cv::cudev
99 __host__ RemapPtr1Sz<typename PtrTraits<SrcPtr>::ptr_type, AffineMapPtr>
130 template <> struct PtrTraits<PerspectiveMapPtrSz> : PtrTraitsBase<PerspectiveMapPtrSz, PerspectiveMapPtr> struct in namespace:cv::cudev
147 __host__ RemapPtr1Sz<typename PtrTraits<SrcPtr>::ptr_type, PerspectiveMapPtr>
H A Dconstant.hpp90 template <typename T> struct PtrTraits< ConstantPtrSz<T> > : PtrTraitsBase< ConstantPtrSz<T>, ConstantPtr<T> > struct in namespace:cv::cudev
H A Dglob.hpp121 template <typename T> struct PtrTraits< GlobPtrSz<T> > : PtrTraitsBase<GlobPtrSz<T>, GlobPtr<T> > struct in namespace:cv::cudev
/external/llvm/include/llvm/ADT/
H A DPointerIntPair.h42 typename PtrTraits = PointerLikeTypeTraits<PointerTy> >
45 static_assert(PtrTraits::NumLowBitsAvailable <
48 static_assert(IntBits <= PtrTraits::NumLowBitsAvailable,
53 ~(uintptr_t)(((intptr_t)1 << PtrTraits::NumLowBitsAvailable)-1),
57 IntShift = (uintptr_t)PtrTraits::NumLowBitsAvailable - IntBits,
76 return PtrTraits::getFromVoidPointer(
86 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(PtrVal));
104 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(PtrVal));
112 = reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(PtrVal));
128 "PtrTraits does
[all...]
H A DSmallPtrSet.h183 typedef PointerLikeTypeTraits<PtrTy> PtrTraits; typedef in class:llvm::SmallPtrSetIterator
199 return PtrTraits::getFromVoidPointer(const_cast<void*>(*Bucket));
245 typedef PointerLikeTypeTraits<PtrType> PtrTraits;
268 auto p = insert_imp(PtrTraits::getAsVoidPointer(Ptr));
275 return erase_imp(PtrTraits::getAsVoidPointer(Ptr));
280 return count_imp(PtrTraits::getAsVoidPointer(Ptr)) ? 1 : 0;
/external/clang/include/clang/Sema/
H A DOwnership.h182 typedef llvm::PointerLikeTypeTraits<PtrTy> PtrTraits; typedef in class:clang::ActionResult
188 void *VP = PtrTraits::getAsVoidPointer(V);
204 return PtrTraits::getFromVoidPointer(VP);
209 void *VP = PtrTraits::getAsVoidPointer(V);
215 void *VP = PtrTraits::getAsVoidPointer(RHS);
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/
H A Dsplit_merge.hpp137 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
157 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
177 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
196 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
214 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
232 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 2, "" );
250 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 3, "" );
271 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 3, "" );
292 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPtr>::value_type>::cn == 3, "" );
312 CV_StaticAssert( VecTraits<typename PtrTraits<SrcPt
[all...]

Completed in 2234 milliseconds

12