/external/opencv/cv/src/ |
D | cvtemplmatch.cpp | 70 if( CV_MAT_DEPTH( img->type ) != CV_8U && in icvCrossCorr() 71 CV_MAT_DEPTH( img->type ) != CV_16U && in icvCrossCorr() 72 CV_MAT_DEPTH( img->type ) != CV_32F ) in icvCrossCorr() 76 if( !CV_ARE_DEPTHS_EQ( img, templ ) && CV_MAT_DEPTH( templ->type ) != CV_32F ) in icvCrossCorr() 80 if( !CV_ARE_DEPTHS_EQ( img, corr ) && CV_MAT_DEPTH( corr->type ) != CV_32F && in icvCrossCorr() 81 CV_MAT_DEPTH( corr->type ) != CV_64F ) in icvCrossCorr() 91 depth = CV_MAT_DEPTH(img->type); in icvCrossCorr() 93 templ_depth = CV_MAT_DEPTH(templ->type); in icvCrossCorr() 95 corr_depth = CV_MAT_DEPTH(corr->type); in icvCrossCorr() 357 if( CV_MAT_DEPTH( img->type ) != CV_8U && in cvMatchTemplate() [all …]
|
D | cvsumpixels.cpp | 345 if( (CV_MAT_DEPTH( sum->type ) != CV_64F && in cvIntegral() 346 (CV_MAT_DEPTH( src->type ) != CV_8U || in cvIntegral() 347 CV_MAT_DEPTH( sum->type ) != CV_32S )) || in cvIntegral() 358 if( CV_MAT_DEPTH( sqsum->type ) != CV_64F || !CV_ARE_CNS_EQ( src, sqsum )) in cvIntegral() 384 depth = CV_MAT_DEPTH(src->type); in cvIntegral() 387 if( CV_MAT_DEPTH( sum->type ) == CV_32S ) in cvIntegral() 408 if( depth == CV_8U && !tilted && CV_MAT_DEPTH(sum->type) == CV_32S ) in cvIntegral()
|
D | cvaccum.cpp | 414 if( CV_MAT_DEPTH( sum->type ) != CV_32F ) 420 sumdepth = CV_MAT_DEPTH( sum->type ); 435 CvFunc2D_2A func=(CvFunc2D_2A)acc_tab.fn_2d[CV_MAT_DEPTH(type)]; 516 if( CV_MAT_DEPTH( sum->type ) != CV_32F ) in cvSquareAcc() 530 CvFunc2D_2A func = (CvFunc2D_2A)acc_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvSquareAcc() 615 if( CV_MAT_DEPTH( sum->type ) != CV_32F ) in cvMultiplyAcc() 630 CvFunc2D_3A func = (CvFunc2D_3A)acc_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvMultiplyAcc() 724 if( CV_MAT_DEPTH( sum->type ) != CV_32F ) in cvRunningAvg() 738 CvAddWeightedFunc func = (CvAddWeightedFunc)acc_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvRunningAvg()
|
D | cvundistort.cpp | 138 if( CV_MAT_DEPTH(src->type) != CV_8U ) in cvUndistort2() 157 (CV_MAT_DEPTH(dist_coeffs->type) != CV_64F && in cvUndistort2() 158 CV_MAT_DEPTH(dist_coeffs->type) != CV_32F) ) in cvUndistort2() 220 (CV_MAT_DEPTH(dist_coeffs->type) != CV_64F && in cvInitUndistortMap() 221 CV_MAT_DEPTH(dist_coeffs->type) != CV_32F) ) in cvInitUndistortMap() 327 (CV_MAT_DEPTH(distCoeffs->type) == CV_64F || in cvInitUndistortRectifyMap() 328 CV_MAT_DEPTH(distCoeffs->type) == CV_32F) ); in cvInitUndistortRectifyMap()
|
D | cvfeatureselect.cpp | 129 if( CV_MAT_DEPTH(tmp->type) != CV_32F || in CV_IMPLEMENT_QSORT() 130 CV_MAT_DEPTH(eig->type) != CV_32F ) in CV_IMPLEMENT_QSORT()
|
D | _cv.h | 90 ((int)cv64f << 24)) >> CV_MAT_DEPTH(type)*4) & 15); in icvDepthToDataType()
|
D | cvsmooth.cpp | 126 min_depth = CV_MAT_DEPTH(_src_type) == CV_8U ? CV_32S : CV_64F; in init() 133 if( CV_MAT_DEPTH(src_type) == CV_8U ) in init() 135 else if( CV_MAT_DEPTH(src_type) == CV_32F ) in init() 140 if( CV_MAT_DEPTH(dst_type) == CV_8U ) in init() 146 else if( CV_MAT_DEPTH(dst_type) == CV_16S ) in init() 148 if( normalized || CV_MAT_DEPTH(src_type) != CV_8U ) in init() 152 else if( CV_MAT_DEPTH(dst_type) == CV_32S ) in init() 154 if( normalized || CV_MAT_DEPTH(src_type) != CV_8U ) in init() 159 else if( CV_MAT_DEPTH(dst_type) == CV_32F ) in init() 161 if( CV_MAT_DEPTH(src_type) != CV_32F ) in init() [all …]
|
D | cvcalibration.cpp | 507 depth = CV_MAT_DEPTH(src->type); in cvRodrigues2() 802 if( CV_IS_CONT_MAT(objectPoints->type) && CV_MAT_DEPTH(objectPoints->type) == CV_64F && in cvProjectPoints2() 812 if( CV_IS_CONT_MAT(imagePoints->type) && CV_MAT_DEPTH(imagePoints->type) == CV_64F && in cvProjectPoints2() 822 if( (CV_MAT_DEPTH(r_vec->type) != CV_64F && CV_MAT_DEPTH(r_vec->type) != CV_32F) || in cvProjectPoints2() 843 if( (CV_MAT_DEPTH(t_vec->type) != CV_64F && CV_MAT_DEPTH(t_vec->type) != CV_32F) || in cvProjectPoints2() 866 (CV_MAT_DEPTH(distCoeffs->type) != CV_64F && in cvProjectPoints2() 867 CV_MAT_DEPTH(distCoeffs->type) != CV_32F) || in cvProjectPoints2() 1170 CV_ASSERT( (CV_MAT_DEPTH(rvec->type) == CV_64F || CV_MAT_DEPTH(rvec->type) == CV_32F) && in cvFindExtrinsicCameraParams2() 1173 CV_ASSERT( (CV_MAT_DEPTH(tvec->type) == CV_64F || CV_MAT_DEPTH(tvec->type) == CV_32F) && in cvFindExtrinsicCameraParams2() 1484 (CV_MAT_DEPTH(rvecs->type) != CV_32F && CV_MAT_DEPTH(rvecs->type) != CV_64F) || in cvCalibrateCamera2() [all …]
|
D | cvfilter.cpp | 104 int max_depth = MAX(CV_MAT_DEPTH(src_type), CV_MAT_DEPTH(dst_type)); in get_work_params() 695 filter_type = MAX( CV_32F, CV_MAT_DEPTH(_kx->type) ); in init() 764 if( CV_MAT_DEPTH(src_type) == CV_8U ) in init() 766 if( CV_MAT_DEPTH(dst_type) == CV_8U && in init() 775 else if( CV_MAT_DEPTH(dst_type) == CV_16S && in init() 785 if( CV_MAT_DEPTH(dst_type) > CV_32F ) in init() 794 else if( CV_MAT_DEPTH(src_type) == CV_16U ) in init() 796 if( CV_MAT_DEPTH(dst_type) > CV_32F ) in init() 804 else if( CV_MAT_DEPTH(src_type) == CV_16S ) in init() 806 if( CV_MAT_DEPTH(dst_type) > CV_32F ) in init() [all …]
|
D | cvsamplers.cpp | 578 func = (CvGetRectSubPixFunc)(gr_tab[cn != 1].fn_2d[CV_MAT_DEPTH(src->type)]); in cvGetRectSubPix() 582 if( CV_MAT_DEPTH( src->type ) != CV_8U || CV_MAT_DEPTH( dst->type ) != CV_32F ) in cvGetRectSubPix() 874 func = (CvGetQuadrangleSubPixFunc)(gq_tab[cn != 1].fn_2d[CV_MAT_DEPTH(src->type)]); in cvGetQuadrangleSubPix() 878 if( CV_MAT_DEPTH( src->type ) != CV_8U || CV_MAT_DEPTH( dst->type ) != CV_32F ) in cvGetQuadrangleSubPix()
|
D | cvlinefit.cpp | 688 if( CV_MAT_DEPTH(type) == CV_32F && ptseq->first->next == ptseq->first ) in cvFitLine() 698 if( CV_MAT_DEPTH(type) != CV_32F ) in cvFitLine() 701 assert( CV_MAT_DEPTH(type) == CV_32S ); in cvFitLine()
|
D | cvfundam.cpp | 1047 depth = CV_MAT_DEPTH(points->type); in cvComputeCorrespondEpilines() 1080 abc_depth = CV_MAT_DEPTH(lines->type); in cvComputeCorrespondEpilines() 1264 if( CV_MAT_DEPTH(src->type) < CV_32F || CV_MAT_DEPTH(dst->type) < CV_32F ) in cvConvertPointsHomogeneous() 1338 if( CV_MAT_DEPTH(dst->type) == CV_32F ) in cvConvertPointsHomogeneous()
|
/external/opencv/cvaux/src/ |
D | cvmat.cpp | 52 switch( CV_MAT_DEPTH(type) ) 82 switch( CV_MAT_DEPTH(type)) 114 switch( CV_MAT_DEPTH(type)) 142 switch( CV_MAT_DEPTH(type)) 186 switch( CV_MAT_DEPTH(type)) 404 if( CV_MAT_DEPTH(a->type) >= CV_32F && CV_MAT_CN(a->type) <= 2 ) 724 CV_MAT_CN(src->type)|CV_MAT_DEPTH(depth)); 837 switch( CV_MAT_DEPTH(type))
|
/external/opencv/cxcore/src/ |
D | cxconvert.cpp | 521 CvExtractPlaneFunc func = (CvExtractPlaneFunc)pxplcoi_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvSplit() 626 CvInsertPlaneFunc func = (CvInsertPlaneFunc)plpxcoi_tab.fn_2d[CV_MAT_DEPTH(type)]; in cvMerge() 807 depth = CV_MAT_DEPTH(mat->type); in cvMixChannels() 812 if( CV_MAT_DEPTH(mat->type) != depth ) in cvMixChannels() 957 int srcdepth = CV_MAT_DEPTH(srctype); in icvCvtScaleAbsTo_8u_C1R() 1082 if( CV_MAT_DEPTH( dst->type ) != CV_8U ) in cvConvertScaleAbs() 1149 switch( CV_MAT_DEPTH(srctype) ) \ 1267 switch( CV_MAT_DEPTH(srctype) ) \ 1394 switch( CV_MAT_DEPTH(srctype) ) \ 1563 CvCvtFunc func = (CvCvtFunc)(cvt_tab.fn_2d[CV_MAT_DEPTH(dsttype)]); in cvConvertScale() [all …]
|
D | cxarithm.cpp | 322 depth = CV_MAT_DEPTH(type); 375 depth = CV_MAT_DEPTH(type); 590 if( CV_MAT_DEPTH(sctype) < CV_32S ) in cvSubRS() 594 func = (CvFunc2D_2A1P)(subr_tab.fn_2d[CV_MAT_DEPTH(type)]); in cvSubRS() 617 depth = CV_MAT_DEPTH(type); in cvSubRS() 794 depth = CV_MAT_DEPTH(type); in cvAdd() 847 depth = CV_MAT_DEPTH(type); in cvAdd() 1062 if( CV_MAT_DEPTH(sctype) < CV_32S ) in cvAddS() 1066 func = (CvFunc2D_2A1P)(add_tab.fn_2d[CV_MAT_DEPTH(type)]); in cvAddS() 1089 depth = CV_MAT_DEPTH(type); in cvAddS() [all …]
|
D | cxsumpixels.cpp | 426 pass_hint = CV_MAT_DEPTH(type) == CV_32F; in CV_DEF_INIT_BIG_FUNC_TAB_2D() 513 int pass_hint = CV_MAT_DEPTH(type) == CV_32F; in CV_DEF_INIT_BIG_FUNC_TAB_2D() 539 CvFunc2DnC_1A1P func = (CvFunc2DnC_1A1P)(sumcoi_tab.fn_2d[CV_MAT_DEPTH(type)]); in CV_DEF_INIT_BIG_FUNC_TAB_2D() 619 func = (CvFunc2D_1A1P)(nz_tab.fn_2d[CV_MAT_DEPTH(type)]); in CV_DEF_INIT_FUNC_TAB_2D() 651 CvFunc2D_1A1P func = (CvFunc2D_1A1P)(nz_tab.fn_2d[CV_MAT_DEPTH(type)]); in CV_DEF_INIT_FUNC_TAB_2D() 664 CvFunc2DnC_1A1P func = (CvFunc2DnC_1A1P)(nzcoi_tab.fn_2d[CV_MAT_DEPTH(type)]); in CV_DEF_INIT_FUNC_TAB_2D() 900 sdepth = CV_MAT_DEPTH(src->type); in cvReduce() 901 ddepth = CV_MAT_DEPTH(dst->type); in cvReduce() 923 ddepth = CV_MAT_DEPTH(ttype); in cvReduce()
|
D | cxlut.cpp | 259 if( CV_MAT_DEPTH( src->type ) > CV_8S ) in cvLUT() 262 depth = CV_MAT_DEPTH( dst->type ); in cvLUT() 286 if( CV_MAT_DEPTH( src->type ) == CV_8S ) in cvLUT()
|
D | cxcmp.cpp | 388 if( CV_MAT_DEPTH(sctype) < CV_32S ) in cvInRangeS() 778 if( CV_MAT_DEPTH(type) <= CV_32S ) in cvCmpS() 1120 if( CV_MAT_DEPTH(type) <= CV_32S ) in icvMinMaxS() 1123 if( CV_MAT_DEPTH(type) == CV_8U ) in icvMinMaxS() 1125 else if( CV_MAT_DEPTH(type) == CV_8S ) in icvMinMaxS() 1127 else if( CV_MAT_DEPTH(type) == CV_16U ) in icvMinMaxS() 1129 else if( CV_MAT_DEPTH(type) == CV_16S ) in icvMinMaxS() 1132 else if( CV_MAT_DEPTH(type) == CV_32F ) in icvMinMaxS() 1475 (adiff_tab.fn_2d[CV_MAT_DEPTH(type)]); 1525 if( CV_MAT_DEPTH(type) < CV_32S ) in cvAbsDiffS() [all …]
|
D | cxmatrix.cpp | 858 if( CV_MAT_CN( type ) != 1 || CV_MAT_DEPTH( type ) < CV_32F ) in cvDet() 879 decomp_func = (CvLUDecompFunc)(lu_decomp_tab.fn_2d[CV_MAT_DEPTH(worktype)-CV_32F]); in cvDet() 1132 decomp_func = (CvLUDecompFunc)(lu_decomp_tab.fn_2d[CV_MAT_DEPTH(type)-CV_32F]); in cvInvert() 1133 back_func = (CvLUBackFunc)(lu_back_tab.fn_2d[CV_MAT_DEPTH(type)-CV_32F]); in cvInvert() 1436 decomp_func = (CvLUDecompFunc)(lu_decomp_tab.fn_2d[CV_MAT_DEPTH(type)-CV_32F]); in cvSolve() 1437 back_func = (CvLUBackFunc)(lu_back_tab.fn_2d[CV_MAT_DEPTH(type)-CV_32F]); in cvSolve() 1521 if( CV_MAT_DEPTH(type) == CV_32F ) in cvCrossProduct() 1544 else if( CV_MAT_DEPTH(type) == CV_64F ) in cvCrossProduct() 1614 if( CV_MAT_DEPTH(avg->type) < CV_32F || !CV_ARE_DEPTHS_EQ(avg, evals) || in cvCalcPCA() 1829 convert_data = CV_MAT_DEPTH(data->type) < CV_MAT_DEPTH(avg->type); in cvProjectPCA()
|
D | cxmathfuncs.cpp | 351 depth = CV_MAT_DEPTH( xmat->type ); in cvCartToPolar() 582 depth = CV_MAT_DEPTH( angle->type ); in cvPolarToCart() 1041 src_depth = CV_MAT_DEPTH(src->type); in cvExp() 1042 dst_depth = CV_MAT_DEPTH(dst->type); in cvExp() 1600 src_depth = CV_MAT_DEPTH(src->type); in cvLog() 1601 dst_depth = CV_MAT_DEPTH(dst->type); in cvLog() 1733 depth = CV_MAT_DEPTH( src->type ); in cvPow() 1967 if( CV_MAT_DEPTH(type) == CV_32F ) in cvCheckArr() 1972 else if( CV_MAT_DEPTH(type) == CV_64F ) in cvCheckArr()
|
D | cxdrawing.cpp | 313 assert( img && (nch == 1 || nch == 3) && CV_MAT_DEPTH(img->type) == CV_8U ); in icvLineAA() 1676 if( CV_MAT_DEPTH( type ) == CV_8U ) in cvColorToScalar() 1692 else if( CV_MAT_DEPTH( type ) == CV_8S ) in cvColorToScalar() 1750 if( line_type == CV_AA && CV_MAT_DEPTH(mat->type) != CV_8U ) in cvLine() 1789 if( line_type == CV_AA && CV_MAT_DEPTH(mat->type) != CV_8U ) in cvRectangle() 1830 if( line_type == CV_AA && CV_MAT_DEPTH(mat->type) != CV_8U ) in cvCircle() 1879 if( line_type == CV_AA && CV_MAT_DEPTH(mat->type) != CV_8U ) in cvEllipse() 1926 if( line_type == CV_AA && CV_MAT_DEPTH(mat->type) != CV_8U ) in cvFillConvexPoly() 1964 if( line_type == CV_AA && CV_MAT_DEPTH(mat->type) != CV_8U ) in cvFillPoly() 2032 if( line_type == CV_AA && CV_MAT_DEPTH(mat->type) != CV_8U ) in cvPolyLine() [all …]
|
D | cximage.cpp | 89 CV_MAT_DEPTH(m->type), CV_MAT_CN(m->type) )); in icvRetrieveImage()
|
D | cxlogic.cpp | 232 depth = CV_MAT_DEPTH(type); in icvLogicS() 259 depth = CV_MAT_DEPTH(type); in icvLogicS()
|
/external/opencv/cxcore/include/ |
D | cxtypes.h | 528 #define CV_MAT_DEPTH(flags) ((flags) & CV_MAT_DEPTH_MASK) macro 611 ((((sizeof(size_t)<<28)|0x8442211) >> CV_MAT_DEPTH(type)*4) & 15) 615 (CV_MAT_CN(type) << ((((sizeof(size_t)/4+1)*16384|0x3a50) >> CV_MAT_DEPTH(type)*2) & 3)) 625 assert( (unsigned)CV_MAT_DEPTH(type) <= CV_64F ); in cvMat() 688 int depth = CV_MAT_DEPTH(type); in cvCvToIplDepth()
|
/external/opencv/otherlibs/highgui/ |
D | utils.cpp | 592 if( CV_MAT_DEPTH( dst->type ) != CV_8U ) in cvConvertImage() 600 int src_depth = CV_MAT_DEPTH(src->type); in cvConvertImage()
|