Home
last modified time | relevance | path

Searched refs:DstType (Results 1 – 25 of 37) sorted by relevance

12

/external/opencv3/modules/cudev/include/opencv2/cudev/grid/
Dsplit_merge.hpp63 template <class Policy, class SrcPtrTuple, typename DstType, class MaskPtr>
64 __host__ void gridMerge_(const SrcPtrTuple& src, GpuMat_<DstType>& dst, const MaskPtr& mask, Stream… in gridMerge_()
66 CV_StaticAssert( VecTraits<DstType>::cn == tuple_size<SrcPtrTuple>::value, "" ); in gridMerge_()
75 grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), in gridMerge_()
82 template <class Policy, class SrcPtrTuple, typename DstType, class MaskPtr>
83 __host__ void gridMerge_(const SrcPtrTuple& src, const GlobPtrSz<DstType>& dst, const MaskPtr& mask… in gridMerge_()
85 CV_StaticAssert( VecTraits<DstType>::cn == tuple_size<SrcPtrTuple>::value, "" ); in gridMerge_()
93 grid_split_merge_detail::MergeImpl<VecTraits<DstType>::cn, Policy>::merge(shrinkPtr(src), in gridMerge_()
100 template <class Policy, class SrcPtrTuple, typename DstType>
101 __host__ void gridMerge_(const SrcPtrTuple& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Nu… in gridMerge_()
[all …]
Dtranspose.hpp60 template <class Policy, class SrcPtr, typename DstType>
61 __host__ void gridTranspose_(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Nul… in gridTranspose_()
71 template <class Policy, class SrcPtr, typename DstType>
72 __host__ void gridTranspose_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, Stream& stream = Str… in gridTranspose_()
92 template <class SrcPtr, typename DstType>
93 __host__ void gridTranspose(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null… in gridTranspose()
98 template <class SrcPtr, typename DstType>
99 __host__ void gridTranspose(const SrcPtr& src, const GlobPtrSz<DstType>& dst, Stream& stream = Stre… in gridTranspose()
Dpyramids.hpp61 template <class Brd, class SrcPtr, typename DstType>
62 __host__ void gridPyrDown_(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null(… in gridPyrDown_()
72 template <class SrcPtr, typename DstType>
73 __host__ void gridPyrDown(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) in gridPyrDown()
78 template <class SrcPtr, typename DstType>
79 __host__ void gridPyrUp(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) in gridPyrUp()
Dtransform.hpp63 template <class Policy, class SrcPtr, typename DstType, class UnOp, class MaskPtr>
64 __host__ void gridTransformUnary_(const SrcPtr& src, GpuMat_<DstType>& dst, const UnOp& op, const M… in gridTransformUnary_()
76 template <class Policy, class SrcPtr, typename DstType, class UnOp, class MaskPtr>
77 __host__ void gridTransformUnary_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const UnOp& op,… in gridTransformUnary_()
88 template <class Policy, class SrcPtr, typename DstType, class UnOp>
89 __host__ void gridTransformUnary_(const SrcPtr& src, GpuMat_<DstType>& dst, const UnOp& op, Stream&… in gridTransformUnary_()
99 template <class Policy, class SrcPtr, typename DstType, class UnOp>
100 __host__ void gridTransformUnary_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const UnOp& op,… in gridTransformUnary_()
110 template <class Policy, class SrcPtr1, class SrcPtr2, typename DstType, class BinOp, class MaskPtr>
111 __host__ void gridTransformBinary_(const SrcPtr1& src1, const SrcPtr2& src2, GpuMat_<DstType>& dst,… in gridTransformBinary_()
[all …]
Dcopy.hpp63 template <class Policy, class SrcPtr, typename DstType, class MaskPtr>
64 __host__ void gridCopy_(const SrcPtr& src, GpuMat_<DstType>& dst, const MaskPtr& mask, Stream& stre… in gridCopy_()
76 template <class Policy, class SrcPtr, typename DstType, class MaskPtr>
77 __host__ void gridCopy_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, const MaskPtr& mask, Stre… in gridCopy_()
88 template <class Policy, class SrcPtr, typename DstType>
89 __host__ void gridCopy_(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null()) in gridCopy_()
99 template <class Policy, class SrcPtr, typename DstType>
100 __host__ void gridCopy_(const SrcPtr& src, const GlobPtrSz<DstType>& dst, Stream& stream = Stream::… in gridCopy_()
357 template <class SrcPtr, typename DstType, class MaskPtr>
358 __host__ void gridCopy(const SrcPtr& src, GpuMat_<DstType>& dst, const MaskPtr& mask, Stream& strea… in gridCopy()
[all …]
Dintegral.hpp59 template <class SrcPtr, typename DstType>
60 __host__ void gridIntegral(const SrcPtr& src, GpuMat_<DstType>& dst, Stream& stream = Stream::Null(… in gridIntegral()
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/
Dsplit_merge.hpp62 template <class Src1Ptr, class Src2Ptr, typename DstType, class MaskPtr>
63 …__global__ void mergeC2(const Src1Ptr src1, const Src2Ptr src2, GlobPtr<DstType> dst, const MaskPt… in mergeC2()
65 typedef typename VecTraits<DstType>::elem_type dst_elem_type; in mergeC2()
73 dst(y, x) = VecTraits<DstType>::make( in mergeC2()
79 template <class Policy, class Src1Ptr, class Src2Ptr, typename DstType, class MaskPtr>
80 …__host__ void mergeC2(const Src1Ptr& src1, const Src2Ptr& src2, const GlobPtr<DstType>& dst, const… in mergeC2()
92 template <class Src1Ptr, class Src2Ptr, class Src3Ptr, typename DstType, class MaskPtr>
93 …geC3(const Src1Ptr src1, const Src2Ptr src2, const Src3Ptr src3, GlobPtr<DstType> dst, const MaskP… in mergeC3()
95 typedef typename VecTraits<DstType>::elem_type dst_elem_type; in mergeC3()
103 dst(y, x) = VecTraits<DstType>::make( in mergeC3()
[all …]
Dtransform.hpp158 template <class SrcPtr, typename DstType, class UnOp, class MaskPtr>
159 …__global__ void transformSimple(const SrcPtr src, GlobPtr<DstType> dst, const UnOp op, const MaskP… in transformSimple()
167 dst(y, x) = saturate_cast<DstType>(op(src(y, x))); in transformSimple()
170 template <class SrcPtr1, class SrcPtr2, typename DstType, class BinOp, class MaskPtr>
171 …__global__ void transformSimple(const SrcPtr1 src1, const SrcPtr2 src2, GlobPtr<DstType> dst, cons… in transformSimple()
179 dst(y, x) = saturate_cast<DstType>(op(src1(y, x), src2(y, x))); in transformSimple()
184 template <int SHIFT, typename SrcType, typename DstType, class UnOp, class MaskPtr>
185 …__global__ void transformSmart(const GlobPtr<SrcType> src_, GlobPtr<DstType> dst_, const UnOp op, … in transformSmart()
188 typedef typename MakeVec<DstType, SHIFT>::type write_type; in transformSmart()
197 DstType* dst = dst_.row(y); in transformSmart()
[all …]
Dtranspose.hpp58 template <int TILE_DIM, int BLOCK_DIM_Y, class SrcPtr, typename DstType>
59 … __global__ void transpose(const SrcPtr src, GlobPtr<DstType> dst, const int rows, const int cols) in transpose()
105 … dst(yIndex + i, xIndex) = saturate_cast<DstType>(tile[threadIdx.x][threadIdx.y + i]); in transpose()
111 template <class Policy, class SrcPtr, typename DstType>
112 …__host__ void transpose(const SrcPtr& src, const GlobPtr<DstType>& dst, int rows, int cols, cudaSt… in transpose()
Dcopy.hpp59 template <class SrcPtr, typename DstType, class MaskPtr>
60 …__global__ void copy(const SrcPtr src, GlobPtr<DstType> dst, const MaskPtr mask, const int rows, c… in copy()
68 dst(y, x) = saturate_cast<DstType>(src(y, x)); in copy()
71 template <class Policy, class SrcPtr, typename DstType, class MaskPtr>
72 …__host__ void copy(const SrcPtr& src, const GlobPtr<DstType>& dst, const MaskPtr& mask, int rows, … in copy()
Dpyr_up.hpp60 template <class SrcPtr, typename DstType>
61 …__global__ void pyrUp(const SrcPtr src, GlobPtr<DstType> dst, const int src_rows, const int src_co… in pyrUp()
153 dst(y, x) = saturate_cast<DstType>(4.0f * sum); in pyrUp()
156 template <class SrcPtr, typename DstType>
157 …__host__ void pyrUp(const SrcPtr& src, const GlobPtr<DstType>& dst, int src_rows, int src_cols, in… in pyrUp()
Dpyr_down.hpp60 template <class Brd, class SrcPtr, typename DstType>
61 …__global__ void pyrDown(const SrcPtr src, GlobPtr<DstType> dst, const int src_rows, const int src_… in pyrDown()
181 dst(y, dst_x) = saturate_cast<DstType>(sum); in pyrDown()
185 template <class Brd, class SrcPtr, typename DstType>
186 …__host__ void pyrDown(const SrcPtr& src, const GlobPtr<DstType>& dst, int src_rows, int src_cols, … in pyrDown()
/external/skia/src/effects/gradients/
DSk4fLinearGradient.cpp29 template<typename DstType, bool do_premul>
30 void fill(const Sk4f& c, DstType* dst, int n);
55 template<typename DstType, bool do_premul>
56 void store(const Sk4f& color, DstType* dst);
78 template<typename DstType, bool do_premul>
83 DstType* dst) { in store4x()
84 store<DstType, do_premul>(c0, dst++); in store4x()
85 store<DstType, do_premul>(c1, dst++); in store4x()
86 store<DstType, do_premul>(c2, dst++); in store4x()
87 store<DstType, do_premul>(c3, dst++); in store4x()
[all …]
DSk4fLinearGradient.h25 template<typename DstType, TileMode>
28 template <typename DstType, bool premul>
29 void shadePremulSpan(int x, int y, DstType[], int count) const;
31 template <typename DstType, bool premul, SkShader::TileMode tileMode>
32 void shadePremulTileSpan(int x, int y, DstType[], int count) const;
34 template <typename DstType, bool premul, SkShader::TileMode tileMode>
35 void shadeSpanInternal(int x, int y, DstType[], int count) const;
/external/opencv3/modules/cudaarithm/src/cuda/
Dsub_scalar.cu59 …pename SrcType, typename ScalarType, typename DstType> struct SubScalarOp : unary_function<SrcType…
63 __device__ __forceinline__ DstType operator ()(SrcType a) const in operator ()()
65 return saturate_cast<DstType>(saturate_cast<ScalarType>(a) - val); in operator ()()
69 …name SrcType, typename ScalarType, typename DstType> struct SubScalarOpInv : unary_function<SrcTyp…
73 __device__ __forceinline__ DstType operator ()(SrcType a) const in operator ()()
75 return saturate_cast<DstType>(val - saturate_cast<ScalarType>(a)); in operator ()()
89 template <typename SrcType, typename ScalarDepth, typename DstType>
98 SubScalarOpInv<SrcType, ScalarType, DstType> op; in subScalarImpl()
102 …ormUnary_< TransformPolicy<ScalarDepth> >(globPtr<SrcType>(src), globPtr<DstType>(dst), op, globPt… in subScalarImpl()
104 …ormUnary_< TransformPolicy<ScalarDepth> >(globPtr<SrcType>(src), globPtr<DstType>(dst), op, stream… in subScalarImpl()
[all …]
Ddiv_scalar.cu107 …pename SrcType, typename ScalarType, typename DstType> struct DivScalarOp : unary_function<SrcType…
111 __device__ __forceinline__ DstType operator ()(SrcType a) const in operator ()()
113 …return saturate_cast<DstType>(SafeDiv<ScalarType, VecTraits<ScalarType>::cn>::op(saturate_cast<Sca… in operator ()()
117 …name SrcType, typename ScalarType, typename DstType> struct DivScalarOpInv : unary_function<SrcTyp…
121 __device__ __forceinline__ DstType operator ()(SrcType a) const in operator ()()
123 …return saturate_cast<DstType>(SafeDiv<ScalarType, VecTraits<ScalarType>::cn>::op(val, saturate_cas… in operator ()()
137 template <typename SrcType, typename ScalarDepth, typename DstType>
146 DivScalarOpInv<SrcType, ScalarType, DstType> op; in divScalarImpl()
149 …ormUnary_< TransformPolicy<ScalarDepth> >(globPtr<SrcType>(src), globPtr<DstType>(dst), op, stream… in divScalarImpl()
153 DivScalarOp<SrcType, ScalarType, DstType> op; in divScalarImpl()
[all …]
Dadd_scalar.cu59 …pename SrcType, typename ScalarType, typename DstType> struct AddScalarOp : unary_function<SrcType…
63 __device__ __forceinline__ DstType operator ()(SrcType a) const in operator ()()
65 return saturate_cast<DstType>(saturate_cast<ScalarType>(a) + val); in operator ()()
79 template <typename SrcType, typename ScalarDepth, typename DstType>
86 AddScalarOp<SrcType, ScalarType, DstType> op; in addScalarImpl()
90 …ormUnary_< TransformPolicy<ScalarDepth> >(globPtr<SrcType>(src), globPtr<DstType>(dst), op, globPt… in addScalarImpl()
92 …ormUnary_< TransformPolicy<ScalarDepth> >(globPtr<SrcType>(src), globPtr<DstType>(dst), op, stream… in addScalarImpl()
Dmul_scalar.cu59 …pename SrcType, typename ScalarType, typename DstType> struct MulScalarOp : unary_function<SrcType…
63 __device__ __forceinline__ DstType operator ()(SrcType a) const in operator ()()
65 return saturate_cast<DstType>(saturate_cast<ScalarType>(a) * val); in operator ()()
79 template <typename SrcType, typename ScalarDepth, typename DstType>
86 MulScalarOp<SrcType, ScalarType, DstType> op; in mulScalarImpl()
89 …gridTransformUnary_< TransformPolicy<ScalarDepth> >(globPtr<SrcType>(src), globPtr<DstType>(dst), … in mulScalarImpl()
/external/skia/src/core/
DSkBlitter_PM4f.cpp37 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitV()
42 device = (typename State::DstType*)((char*)device + deviceRB); in blitV()
50 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitRect()
56 device = (typename State::DstType*)((char*)device + deviceRB); in blitRect()
61 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitAntiH()
93 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitLCDMask()
100 device = (typename State::DstType*)((char*)device + dstRB); in blitLCDMask()
122 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitMask()
129 device = (typename State::DstType*)((char*)device + dstRB); in blitMask()
148 typename State::DstType* device = State::WritableAddr(fDevice, x, y); in blitH()
[all …]
DSkXfermodeU64.cpp19 enum DstType { enum
28 template <DstType D> Sk4f unit_to_bias(const Sk4f& x4) { in unit_to_bias()
32 template <DstType D> Sk4f bias_to_unit(const Sk4f& x4) { in bias_to_unit()
50 template <DstType D> Sk4f load_from_dst(uint64_t dst) { in load_from_dst()
55 template <DstType D> uint64_t store_to_dst(const Sk4f& x4) { in store_to_dst()
70 template <DstType D> void xfer_u64_1(const SkXfermode* xfer, uint64_t dst[], in xfer_u64_1()
90 template <DstType D> void xfer_u64_n(const SkXfermode* xfer, uint64_t dst[], in xfer_u64_n()
119 template <DstType D> void clear(const SkXfermode*, uint64_t dst[], in clear()
142 template <DstType D> void src_1(const SkXfermode*, uint64_t dst[], in src_1()
155 template <DstType D> void src_n(const SkXfermode*, uint64_t dst[], in src_n()
[all …]
DSkXfermode4f.cpp12 enum DstType { enum
25 template <DstType D> Sk4f load_dst(SkPMColor dstC) { in load_dst()
33 template <DstType D> uint32_t store_dst(const Sk4f& x4) { in store_dst()
43 template <DstType D> void general_1(const SkXfermode* xfer, uint32_t dst[], in general_1()
63 template <DstType D> void general_n(const SkXfermode* xfer, uint32_t dst[], in general_n()
134 template <DstType D> void src_n(const SkXfermode*, uint32_t dst[], in src_n()
157 template <DstType D> void src_1(const SkXfermode*, uint32_t dst[], in src_1()
227 template <DstType D> void srcover_n(const SkXfermode*, uint32_t dst[], in srcover_n()
387 template <DstType D>
414 template <DstType D>
[all …]
/external/gemmlowp/internal/
Doutput_neon.h243 template <typename DstType>
244 inline void StoreFinalOutput(NEONFragmentUint8x4x1 value, DstType* dst, int row,
253 template <typename DstType>
254 inline void StoreFinalOutput(NEONFragmentUint8x16x1 value, DstType* dst,
261 template <typename DstType>
262 inline void StoreFinalOutput(NEONFragmentInt32x4x1 value, DstType* dst, int row,
269 template <typename DstType>
270 inline void StoreFinalOutput(NEONFragmentInt32x16x1 value, DstType* dst,
Doutput.h384 template <typename OutputType, typename DstType>
385 void StoreFinalOutput(OutputType value, DstType* dst, int row, int col) {
398 template <typename DstType>
399 void Execute(InputType input, DstType* dst, int row, int col) {
405 typedef typename DstType::Scalar ScalarDstType;
/external/deqp/framework/randomshaders/
DrsgExpression.cpp512 template <typename SrcType, typename DstType>
513 inline DstType convert (SrcType src) in convert()
516 return Scalar::min<DstType>().template as<DstType>(); in convert()
518 return Scalar::max<DstType>().template as<DstType>(); in convert()
520 return DstType(src); in convert()
542 template <typename SrcType, typename DstType>
543 inline void convertValueRange (SrcType srcMin, SrcType srcMax, DstType& dstMin, DstType& dstMax) in convertValueRange()
545 dstMin = convert<SrcType, DstType>(srcMin); in convertValueRange()
546 dstMax = convert<SrcType, DstType>(srcMax); in convertValueRange()
573 template <typename SrcType, typename DstType>
[all …]
/external/opencv3/modules/imgproc/perf/
Dperf_distanceTransform.cpp35 CV_ENUM(DstType, CV_8U, CV_32F)
38 typedef std::tr1::tuple<Size, DistanceType, MaskSize, DstType> SrcSize_DistType_MaskSize_DstType;
48 DstType::all()

12