Home
last modified time | relevance | path

Searched refs:dstType (Results 1 – 25 of 36) sorted by relevance

12

/external/opencv3/modules/imgproc/perf/opencl/
Dperf_accumulate.cpp63 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); in OCL_PERF_TEST_P()
65 checkDeviceMaxMemoryAllocSize(srcSize, dstType); in OCL_PERF_TEST_P()
67 UMat src(srcSize, srcType), dst(srcSize, dstType); in OCL_PERF_TEST_P()
84 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); in OCL_PERF_TEST_P()
86 checkDeviceMaxMemoryAllocSize(srcSize, dstType); in OCL_PERF_TEST_P()
88 UMat src(srcSize, srcType), dst(srcSize, dstType); in OCL_PERF_TEST_P()
105 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); in OCL_PERF_TEST_P()
107 checkDeviceMaxMemoryAllocSize(srcSize, dstType); in OCL_PERF_TEST_P()
109 UMat src1(srcSize, srcType), src2(srcSize, srcType), dst(srcSize, dstType); in OCL_PERF_TEST_P()
126 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); in OCL_PERF_TEST_P()
[all …]
/external/opencv3/modules/cudafilters/include/opencv2/
Dcudafilters.hpp102 CV_EXPORTS Ptr<Filter> createBoxFilter(int srcType, int dstType, Size ksize, Point anchor = Point(-…
120 CV_EXPORTS Ptr<Filter> createLinearFilter(int srcType, int dstType, InputArray kernel, Point anchor…
139 CV_EXPORTS Ptr<Filter> createLaplacianFilter(int srcType, int dstType, int ksize = 1, double scale …
159 CV_EXPORTS Ptr<Filter> createSeparableLinearFilter(int srcType, int dstType, InputArray rowKernel, …
180 CV_EXPORTS Ptr<Filter> createDerivFilter(int srcType, int dstType, int dx, int dy,
199 CV_EXPORTS Ptr<Filter> createSobelFilter(int srcType, int dstType, int dx, int dy, int ksize = 3,
216 CV_EXPORTS Ptr<Filter> createScharrFilter(int srcType, int dstType, int dx, int dy,
236 CV_EXPORTS Ptr<Filter> createGaussianFilter(int srcType, int dstType, Size ksize,
302 CV_EXPORTS Ptr<Filter> createRowSumFilter(int srcType, int dstType, int ksize, int anchor = -1, int…
313 CV_EXPORTS Ptr<Filter> createColumnSumFilter(int srcType, int dstType, int ksize, int anchor = -1, …
/external/mesa3d/src/mesa/main/
Dpack.h55 GLenum dstFormat, GLenum dstType, GLvoid *dstAddr,
94 GLenum dstType, GLvoid *dest,
102 GLenum dstType, GLvoid *dest, const GLuint *source,
109 GLenum dstType, GLvoid *dest,
116 GLenum dstType, GLvoid *dest, const GLubyte *source,
122 GLenum dstType, GLvoid *dest, GLuint depthMax,
128 GLenum dstType, const GLfloat *depthSpan,
134 GLenum dstType, GLuint *dest,
149 GLenum dstFormat, GLenum dstType,
155 GLenum dstFormat, GLenum dstType,
Dpack.c521 GLenum dstFormat, GLenum dstType) in _pack_rgba_span_from_uints_problem() argument
526 _mesa_lookup_enum_by_nr(dstType), in _pack_rgba_span_from_uints_problem()
532 GLenum dstFormat, GLenum dstType, in _mesa_pack_rgba_span_from_uints() argument
537 switch(dstType) { in _mesa_pack_rgba_span_from_uints()
565 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType); in _mesa_pack_rgba_span_from_uints()
577 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType); in _mesa_pack_rgba_span_from_uints()
589 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType); in _mesa_pack_rgba_span_from_uints()
601 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType); in _mesa_pack_rgba_span_from_uints()
632 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType); in _mesa_pack_rgba_span_from_uints()
663 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType); in _mesa_pack_rgba_span_from_uints()
[all …]
Dimage.c461 GLenum dstType, GLvoid *dst, in _mesa_convert_colors() argument
471 ASSERT(srcType != dstType); in _mesa_convert_colors()
475 if (dstType == GL_UNSIGNED_SHORT) { in _mesa_convert_colors()
494 ASSERT(dstType == GL_FLOAT); in _mesa_convert_colors()
508 if (dstType == GL_UNSIGNED_BYTE) { in _mesa_convert_colors()
527 ASSERT(dstType == GL_FLOAT); in _mesa_convert_colors()
541 if (dstType == GL_UNSIGNED_BYTE) { in _mesa_convert_colors()
556 ASSERT(dstType == GL_UNSIGNED_SHORT); in _mesa_convert_colors()
Dimage.h99 GLenum dstType, GLvoid *dst,
Dfbobject.c2703 GLenum dstType = _mesa_get_format_datatype(dstFormat); in compatible_color_datatypes() local
2713 if (dstType != GL_INT && dstType != GL_UNSIGNED_INT) { in compatible_color_datatypes()
2714 assert(dstType == GL_UNSIGNED_NORMALIZED || in compatible_color_datatypes()
2715 dstType == GL_SIGNED_NORMALIZED || in compatible_color_datatypes()
2716 dstType == GL_FLOAT); in compatible_color_datatypes()
2718 dstType = GL_FLOAT; in compatible_color_datatypes()
2721 return srcType == dstType; in compatible_color_datatypes()
/external/opencv3/modules/cudafilters/src/
Dfiltering.cpp99 …NPPBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borderMode, Scalar borderVal);
116 …NPPBoxFilter::NPPBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borderMode, Sca… in NPPBoxFilter() argument
122 CV_Assert( dstType == srcType ); in NPPBoxFilter()
165 Ptr<Filter> cv::cuda::createBoxFilter(int srcType, int dstType, Size ksize, Point anchor, int borde… in createBoxFilter() argument
167 if (dstType < 0) in createBoxFilter()
168 dstType = srcType; in createBoxFilter()
170 dstType = CV_MAKE_TYPE(CV_MAT_DEPTH(dstType), CV_MAT_CN(srcType)); in createBoxFilter()
172 return makePtr<NPPBoxFilter>(srcType, dstType, ksize, anchor, borderMode, borderVal); in createBoxFilter()
191 …LinearFilter(int srcType, int dstType, InputArray kernel, Point anchor, int borderMode, Scalar bor…
208 …LinearFilter::LinearFilter(int srcType, int dstType, InputArray _kernel, Point anchor, int borderM… in LinearFilter() argument
[all …]
/external/opencv3/modules/stitching/src/opencl/
Dmultibandblend.cl188 #define __CONVERT_MODE(srcType, dstType) CAT(__CONVERT_MODE_, CAT(REF(T1(srcType)), CAT(_, REF(T1(d…
195 #define ROUND_MODE(srcType, dstType) CAT(__ROUND_MODE_, __CONVERT_MODE(srcType, dstType))
197 #define __CONVERT_ROUND(dstType, roundMode) CAT(CAT(convert_, REF(dstType)), roundMode)
198 #define __NO_CONVERT(dstType) // nothing
199 #define __CONVERT(dstType) __CONVERT_ROUND(dstType,)
200 #define __CONVERT_rte(dstType) __CONVERT_ROUND(dstType,_rte)
201 #define __CONVERT_sat(dstType) __CONVERT_ROUND(dstType,_sat)
202 #define __CONVERT_sat_rte(dstType) __CONVERT_ROUND(dstType,_sat_rte)
203 #define CONVERT(srcType, dstType) REF(__CONVERT_MODE(srcType,dstType))(dstType)
204 #define CONVERT_TO(dstType) __CONVERT_ROUND(dstType,)
/external/opencv3/modules/imgproc/src/
Dfilterengine.hpp217 int srcType, int dstType, int bufType,
227 int srcType, int dstType, int bufType,
251 int dstType; member in cv::FilterEngine
291 Ptr<BaseColumnFilter> getLinearColumnFilter(int bufType, int dstType,
297 Ptr<BaseFilter> getLinearFilter(int srcType, int dstType,
303 Ptr<FilterEngine> createSeparableLinearFilter(int srcType, int dstType,
311 Ptr<FilterEngine> createLinearFilter(int srcType, int dstType,
322 Ptr<FilterEngine> createDerivFilter( int srcType, int dstType,
331 Ptr<BaseColumnFilter> getColumnSumFilter( int sumType, int dstType,
335 Ptr<FilterEngine> createBoxFilter( int srcType, int dstType, Size ksize,
Dsmooth.cpp1247 cv::Ptr<cv::BaseColumnFilter> cv::getColumnSumFilter(int sumType, int dstType, int ksize, in getColumnSumFilter() argument
1250 int sdepth = CV_MAT_DEPTH(sumType), ddepth = CV_MAT_DEPTH(dstType); in getColumnSumFilter()
1251 CV_Assert( CV_MAT_CN(sumType) == CV_MAT_CN(dstType) ); in getColumnSumFilter()
1281 sumType, dstType)); in getColumnSumFilter()
1287 cv::Ptr<cv::FilterEngine> cv::createBoxFilter( int srcType, int dstType, Size ksize, in createBoxFilter() argument
1300 dstType, ksize.height, anchor.y, normalize ? 1./(ksize.width*ksize.height) : 1); in createBoxFilter()
1303 srcType, dstType, sumType, borderType ); in createBoxFilter()
1514 int sumType = CV_MAKETYPE( sumDepth, cn ), dstType = CV_MAKETYPE(ddepth, cn); in sqrBoxFilter() local
1517 _dst.create( size, dstType ); in sqrBoxFilter()
1522 dstType, ksize.height, anchor.y, in sqrBoxFilter()
[all …]
Ddistransform.cpp849 int distanceType, int maskSize, int dstType) in distanceTransform() argument
851 if (distanceType == CV_DIST_L1 && dstType==CV_8U) in distanceTransform()
/external/opencv3/modules/core/test/ocl/
Dtest_matrix_operation.cpp59 int src_depth, cn, dstType; in PARAM_TEST_CASE() local
69 dstType = CV_MAKE_TYPE(GET_PARAM(1), cn); in PARAM_TEST_CASE()
81 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); in PARAM_TEST_CASE()
96 OCL_OFF(src_roi.convertTo(dst_roi, dstType, alpha, beta)); in OCL_TEST_P()
97 OCL_ON(usrc_roi.convertTo(udst_roi, dstType, alpha, beta)); in OCL_TEST_P()
99 double eps = CV_MAT_DEPTH(dstType) >= CV_32F ? 2e-4 : 1; in OCL_TEST_P()
/external/opencv3/modules/core/test/
Dtest_mat.cpp15 int checkOp( const Mat& src, int dstType, int opType, const Mat& opRes, int dim );
16 int checkCase( int srcType, int dstType, int dim, Size sz );
85 int Core_ReduceTest::checkOp( const Mat& src, int dstType, int opType, const Mat& opRes, int dim ) in checkOp() argument
91 if( srcType == CV_8U && (dstType == CV_32S || dstType == CV_32F || dstType == CV_64F) ) in checkOp()
93 if( srcType == CV_16U && (dstType == CV_32F || dstType == CV_64F) ) in checkOp()
95 if( srcType == CV_16S && (dstType == CV_32F || dstType == CV_64F) ) in checkOp()
97 if( srcType == CV_32F && (dstType == CV_32F || dstType == CV_64F) ) in checkOp()
99 if( srcType == CV_64F && dstType == CV_64F) in checkOp()
104 if( srcType == CV_8U && dstType == CV_8U ) in checkOp()
106 if( srcType == CV_32F && dstType == CV_32F ) in checkOp()
[all …]
/external/opencv3/modules/imgproc/perf/
Dperf_distanceTransform.cpp55 int dstType = get<3>(GetParam()); variable
58 Mat dst(srcSize, dstType);
65 TEST_CYCLE() distanceTransform( src, dst, distanceType, maskSize, dstType);
/external/opencv3/modules/imgproc/test/ocl/
Dtest_color.cpp74 const int dstType = CV_MAKE_TYPE(depth, channelsOut); in PARAM_TEST_CASE() local
81 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); in PARAM_TEST_CASE()
331 const int dstType = CV_MAKE_TYPE(depth, channelsOut); in generateTestData() local
340 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); in generateTestData()
373 const int dstType = CV_MAKE_TYPE(depth, channelsOut); in generateTestData() local
383 randomSubMat(dst, dst_roi, dstRoiSize, dstBorder, dstType, 5, 16); in generateTestData()
407 const int dstType = CV_MAKE_TYPE(depth, channelsOut); in generateTestData() local
416 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16); in generateTestData()
/external/skia/include/core/
DSkShader.h109 DstType dstType) in ContextRec()
113 , fPreferredDstType(dstType) {} in ContextRec()
/external/opencv3/modules/cudalegacy/src/
DNCV.cpp183 NCVStatus memSegCopyHelper(void *dst, NCVMemoryType dstType, const void *src, NCVMemoryType srcType… in memSegCopyHelper() argument
186 switch (dstType) in memSegCopyHelper()
250 NCVStatus memSegCopyHelper2D(void *dst, Ncv32u dstPitch, NCVMemoryType dstType, in memSegCopyHelper2D() argument
255 switch (dstType) in memSegCopyHelper2D()
/external/opencv3/modules/features2d/src/
Dmatchers.cpp696 …atch(InputArray query, InputArray _train, std::vector< std::vector<DMatch> > &matches, int dstType) in ocl_match() argument
699 if (!ocl_matchSingle(query, _train, trainIdx, distance, dstType)) in ocl_match()
706 …putArray _train, std::vector< std::vector<DMatch> > &matches, int k, int dstType, bool compactResu… in ocl_knnMatch() argument
711 if (!ocl_knnMatchSingle(query, _train, trainIdx, distance, dstType)) in ocl_knnMatch()
855 float maxDistance, int dstType, bool compactResult) in ocl_radiusMatch() argument
858 if (!ocl_radiusMatchSingle(query, _train, trainIdx, distance, nMatches, maxDistance, dstType)) in ocl_radiusMatch()
/external/opencv3/modules/ml/src/
Dem.cpp294 static void preprocessSampleData(const Mat& src, Mat& dst, int dstType, bool isAlwaysClone) in preprocessSampleData() argument
296 if(src.type() == dstType && !isAlwaysClone) in preprocessSampleData()
299 src.convertTo(dst, dstType); in preprocessSampleData()
/external/deqp/modules/gles3/functional/
Des3fFramebufferBlitTests.cpp1025 tcu::TextureChannelClass dstType = tcu::getTextureChannelClass(dstTexFmt.type); in init() local
1028 …(dstType == tcu::TEXTURECHANNELCLASS_FLOATING_POINT || dstType == tcu::TEXTURECHANNELCLASS_UNSIGNE… in init()
1029 …((srcType == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER) != (dstType == tcu::TEXTURECHANNELCLASS_SIGN… in init()
1030 …((srcType == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER) != (dstType == tcu::TEXTURECHANNELCLASS_UN… in init()
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
DNCV.hpp552 CV_EXPORTS NCVStatus memSegCopyHelper(void *dst, NCVMemoryType dstType,
557 CV_EXPORTS NCVStatus memSegCopyHelper2D(void *dst, Ncv32u dstPitch, NCVMemoryType dstType,
/external/icu/icu4c/source/i18n/unicode/
Dtzfmt.h722 …odeString& formatSpecific(const TimeZone& tz, UTimeZoneNameType stdType, UTimeZoneNameType dstType,
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java1707 …private String formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<T…
1709 assert(dstType == NameType.LONG_DAYLIGHT || dstType == NameType.SHORT_DAYLIGHT);
1713 getTimeZoneNames().getDisplayName(ZoneMeta.getCanonicalCLDRID(tz), dstType, date) :
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java1777 …private String formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<T…
1779 assert(dstType == NameType.LONG_DAYLIGHT || dstType == NameType.SHORT_DAYLIGHT);
1783 getTimeZoneNames().getDisplayName(ZoneMeta.getCanonicalCLDRID(tz), dstType, date) :

12