Searched defs:dstType (Results 1 - 25 of 25) sorted by relevance

/external/opencv3/modules/imgproc/perf/opencl/
H A Dperf_accumulate.cpp63 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); local
65 checkDeviceMaxMemoryAllocSize(srcSize, dstType);
67 UMat src(srcSize, srcType), dst(srcSize, dstType);
84 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); local
86 checkDeviceMaxMemoryAllocSize(srcSize, dstType);
88 UMat src(srcSize, srcType), dst(srcSize, dstType);
105 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType = CV_32FC(cn); local
107 checkDeviceMaxMemoryAllocSize(srcSize, dstType);
109 UMat src1(srcSize, srcType), src2(srcSize, srcType), dst(srcSize, dstType);
126 const int srcType = get<1>(params), cn = CV_MAT_CN(srcType), dstType local
[all...]
/external/opencv3/modules/imgproc/perf/
H A Dperf_distanceTransform.cpp55 int dstType = get<3>(GetParam()); local
58 Mat dst(srcSize, dstType);
65 TEST_CYCLE() distanceTransform( src, dst, distanceType, maskSize, dstType);
/external/opencv3/modules/core/test/ocl/
H A Dtest_matrix_operation.cpp59 int src_depth, cn, dstType; local
69 dstType = CV_MAKE_TYPE(GET_PARAM(1), cn);
81 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16);
96 OCL_OFF(src_roi.convertTo(dst_roi, dstType, alpha, beta));
97 OCL_ON(usrc_roi.convertTo(udst_roi, dstType, alpha, beta));
99 double eps = CV_MAT_DEPTH(dstType) >= CV_32F ? 2e-4 : 1;
/external/opencv3/modules/imgproc/test/ocl/
H A Dtest_color.cpp74 const int dstType = CV_MAKE_TYPE(depth, channelsOut); local
81 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16);
331 const int dstType = CV_MAKE_TYPE(depth, channelsOut); local
340 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16);
373 const int dstType = CV_MAKE_TYPE(depth, channelsOut); local
383 randomSubMat(dst, dst_roi, dstRoiSize, dstBorder, dstType, 5, 16);
407 const int dstType = CV_MAKE_TYPE(depth, channelsOut); local
416 randomSubMat(dst, dst_roi, roiSize, dstBorder, dstType, 5, 16);
/external/opencv3/modules/imgproc/src/
H A Dfilterengine.hpp217 int srcType, int dstType, int bufType,
227 int srcType, int dstType, int bufType,
251 int dstType; member in class: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, Siz
[all...]
H A Ddistransform.cpp849 int distanceType, int maskSize, int dstType)
851 if (distanceType == CV_DIST_L1 && dstType==CV_8U)
848 distanceTransform( InputArray _src, OutputArray _dst, int distanceType, int maskSize, int dstType) argument
H A Dderiv.cpp177 cv::Ptr<cv::FilterEngine> cv::createDerivFilter(int srcType, int dstType, argument
182 return createSeparableLinearFilter(srcType, dstType,
H A Dsmooth.cpp1247 cv::Ptr<cv::BaseColumnFilter> cv::getColumnSumFilter(int sumType, int dstType, int ksize, argument
1250 int sdepth = CV_MAT_DEPTH(sumType), ddepth = CV_MAT_DEPTH(dstType);
1251 CV_Assert( CV_MAT_CN(sumType) == CV_MAT_CN(dstType) );
1281 sumType, dstType));
1287 cv::Ptr<cv::FilterEngine> cv::createBoxFilter( int srcType, int dstType, Size ksize, argument
1300 dstType, ksize.height, anchor.y, normalize ? 1./(ksize.width*ksize.height) : 1);
1303 srcType, dstType, sumType, borderType );
1514 int sumType = CV_MAKETYPE( sumDepth, cn ), dstType = CV_MAKETYPE(ddepth, cn);
1517 _dst.create( size, dstType );
1522 dstType, ksiz
[all...]
H A Dfilter.cpp72 srcType = dstType = bufType = -1;
110 dstType = _dstType;
399 CV_Assert( src.type() == srcType && dst.type() == dstType );
3677 cv::Ptr<cv::BaseColumnFilter> cv::getLinearColumnFilter( int bufType, int dstType, argument
3683 int sdepth = CV_MAT_DEPTH(bufType), ddepth = CV_MAT_DEPTH(dstType);
3684 int cn = CV_MAT_CN(dstType);
3768 bufType, dstType));
4448 cv::Ptr<cv::BaseFilter> cv::getLinearFilter(int srcType, int dstType, argument
4453 int sdepth = CV_MAT_DEPTH(srcType), ddepth = CV_MAT_DEPTH(dstType);
4455 CV_Assert( cn == CV_MAT_CN(dstType)
[all...]
/external/skia/include/core/
H A DSkShader.h109 DstType dstType)
113 , fPreferredDstType(dstType) {}
108 ContextRec(const SkPaint& paint, const SkMatrix& matrix, const SkMatrix* localM, DstType dstType) argument
/external/mesa3d/src/mesa/main/
H A Dimage.c461 GLenum dstType, GLvoid *dst,
471 ASSERT(srcType != dstType);
475 if (dstType == GL_UNSIGNED_SHORT) {
494 ASSERT(dstType == GL_FLOAT);
508 if (dstType == GL_UNSIGNED_BYTE) {
527 ASSERT(dstType == GL_FLOAT);
541 if (dstType == GL_UNSIGNED_BYTE) {
556 ASSERT(dstType == GL_UNSIGNED_SHORT);
460 _mesa_convert_colors(GLenum srcType, const GLvoid *src, GLenum dstType, GLvoid *dst, GLuint count, const GLubyte mask[]) argument
H A Dpack.c521 GLenum dstFormat, GLenum dstType)
526 _mesa_lookup_enum_by_nr(dstType),
532 GLenum dstFormat, GLenum dstType,
537 switch(dstType) {
565 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType);
577 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType);
589 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType);
601 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType);
632 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType);
663 _pack_rgba_span_from_uints_problem(ctx, dstFormat, dstType);
520 _pack_rgba_span_from_uints_problem(struct gl_context *ctx, GLenum dstFormat, GLenum dstType) argument
531 _mesa_pack_rgba_span_from_uints(struct gl_context *ctx, GLuint n, GLuint rgba[][4], GLenum dstFormat, GLenum dstType, GLvoid *dstAddr) argument
906 _pack_rgba_span_from_ints_problem(struct gl_context *ctx, GLenum dstFormat, GLenum dstType) argument
917 _mesa_pack_rgba_span_from_ints(struct gl_context *ctx, GLuint n, GLint rgba[][4], GLenum dstFormat, GLenum dstType, GLvoid *dstAddr) argument
1258 _mesa_pack_rgba_span_float(struct gl_context *ctx, GLuint n, GLfloat rgba[][4], GLenum dstFormat, GLenum dstType, GLvoid *dstAddr, const struct gl_pixelstore_attrib *dstPacking, GLbitfield transferOps) argument
4921 _mesa_unpack_index_span( struct gl_context *ctx, GLuint n, GLenum dstType, GLvoid *dest, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument
5005 _mesa_pack_index_span( struct gl_context *ctx, GLuint n, GLenum dstType, GLvoid *dest, const GLuint *source, const struct gl_pixelstore_attrib *dstPacking, GLbitfield transferOps ) argument
5140 _mesa_unpack_stencil_span( struct gl_context *ctx, GLuint n, GLenum dstType, GLvoid *dest, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument
5252 _mesa_pack_stencil_span( struct gl_context *ctx, GLuint n, GLenum dstType, GLvoid *dest, const GLubyte *source, const struct gl_pixelstore_attrib *dstPacking ) argument
5423 _mesa_unpack_depth_span( struct gl_context *ctx, GLuint n, GLenum dstType, GLvoid *dest, GLuint depthMax, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking ) argument
5655 _mesa_pack_depth_span( struct gl_context *ctx, GLuint n, GLvoid *dest, GLenum dstType, const GLfloat *depthSpan, const struct gl_pixelstore_attrib *dstPacking ) argument
5775 _mesa_pack_depth_stencil_span(struct gl_context *ctx,GLuint n, GLenum dstType, GLuint *dest, const GLfloat *depthVals, const GLubyte *stencilVals, const struct gl_pixelstore_attrib *dstPacking) argument
[all...]
H A Dfbobject.c2703 GLenum dstType = _mesa_get_format_datatype(dstFormat); local
2713 if (dstType != GL_INT && dstType != GL_UNSIGNED_INT) {
2714 assert(dstType == GL_UNSIGNED_NORMALIZED ||
2715 dstType == GL_SIGNED_NORMALIZED ||
2716 dstType == GL_FLOAT);
2718 dstType = GL_FLOAT;
2721 return srcType == dstType;
H A Dtexstore.c1014 GLenum dstType; local
1021 dstType = GL_UNSIGNED_INT;
1023 dstType = GL_FLOAT;
1030 srcType == dstType) {
1047 dstType, dstRow,
3859 * dstType = GL_FLOAT_32_UNSIGNED_INT_24_8_REV
/external/opencv3/modules/core/perf/opencl/
H A Dperf_arithm.cpp65 int dstType = CV_MAKETYPE(lut.depth(), src.channels()); local
66 UMat dst(srcSize, dstType);
/external/opencv3/modules/cudalegacy/src/
H A DNCV.cpp183 NCVStatus memSegCopyHelper(void *dst, NCVMemoryType dstType, const void *src, NCVMemoryType srcType, size_t sz, cudaStream_t cuStream) argument
186 switch (dstType)
250 NCVStatus memSegCopyHelper2D(void *dst, Ncv32u dstPitch, NCVMemoryType dstType, argument
255 switch (dstType)
/external/mesa3d/src/mesa/swrast/
H A Ds_span.c1416 GLenum dstType = GL_FLOAT; local
1470 if (dstType == GL_UNSIGNED_BYTE) {
1474 else if (dstType == GL_FLOAT) {
/external/opencv3/modules/features2d/src/
H A Dmatchers.cpp696 static bool ocl_match(InputArray query, InputArray _train, std::vector< std::vector<DMatch> > &matches, int dstType) argument
699 if (!ocl_matchSingle(query, _train, trainIdx, distance, dstType))
706 static bool ocl_knnMatch(InputArray query, InputArray _train, std::vector< std::vector<DMatch> > &matches, int k, int dstType, bool compactResult) argument
711 if (!ocl_knnMatchSingle(query, _train, trainIdx, distance, dstType))
855 float maxDistance, int dstType, bool compactResult)
858 if (!ocl_radiusMatchSingle(query, _train, trainIdx, distance, nMatches, maxDistance, dstType))
854 ocl_radiusMatch(InputArray query, InputArray _train, std::vector< std::vector<DMatch> > &matches, float maxDistance, int dstType, bool compactResult) argument
/external/opencv3/modules/ml/src/
H A Dem.cpp294 static void preprocessSampleData(const Mat& src, Mat& dst, int dstType, bool isAlwaysClone) argument
296 if(src.type() == dstType && !isAlwaysClone)
299 src.convertTo(dst, dstType);
/external/deqp/framework/randomshaders/
H A DrsgExpression.cpp634 bool isConversionOk (VariableType::Type srcType, VariableType::Type dstType, ConstValueRangeAccess valueRange) argument
643 return convTable[getBaseTypeConvNdx(srcType)][getBaseTypeConvNdx(dstType)](valueRange);
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DTimeZoneFormat.java1702 * @param dstType the name type used for daylight time
1707 private String formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<TimeType> timeType) { argument
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/
H A DTimeZoneFormat.java1772 * @param dstType the name type used for daylight time
1777 private String formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<TimeType> timeType) { argument
1779 assert(dstType == NameType.LONG_DAYLIGHT || dstType == NameType.SHORT_DAYLIGHT);
1783 getTimeZoneNames().getDisplayName(ZoneMeta.getCanonicalCLDRID(tz), dstType, date) :
/external/opencv3/modules/core/test/
H A 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 ) argument
91 if( srcType == CV_8U && (dstType == CV_32S || dstType == CV_32F || dstType == CV_64F) )
93 if( srcType == CV_16U && (dstType == CV_32F || dstType == CV_64F) )
95 if( srcType == CV_16S && (dstType == CV_32F || dstType
165 checkCase( int srcType, int dstType, int dim, Size sz ) argument
[all...]
/external/opencv3/modules/java/src/
H A Dimgproc.cpp4168 // void distanceTransform(Mat src, Mat& dst, int distanceType, int maskSize, int dstType = CV_32F)
4174 (JNIEnv* env, jclass , jlong src_nativeObj, jlong dst_nativeObj, jint distanceType, jint maskSize, jint dstType)
4181 cv::distanceTransform( src, dst, (int)distanceType, (int)maskSize, (int)dstType );
4173 Java_org_opencv_imgproc_Imgproc_distanceTransform_10(JNIEnv* env, jclass , jlong src_nativeObj, jlong dst_nativeObj, jint distanceType, jint maskSize, jint dstType) argument
H A Dimgproc+Imgproc.java1986 // C++: void distanceTransform(Mat src, Mat& dst, int distanceType, int maskSize, int dstType = CV_32F)
1989 //javadoc: distanceTransform(src, dst, distanceType, maskSize, dstType)
1990 public static void distanceTransform(Mat src, Mat dst, int distanceType, int maskSize, int dstType) argument
1993 distanceTransform_0(src.nativeObj, dst.nativeObj, distanceType, maskSize, dstType);
3138 // C++: void distanceTransform(Mat src, Mat& dst, int distanceType, int maskSize, int dstType = CV_32F)
3139 private static native void distanceTransform_0(long src_nativeObj, long dst_nativeObj, int distanceType, int maskSize, int dstType); argument

Completed in 950 milliseconds