Home
last modified time | relevance | path

Searched refs:dsttype (Results 1 – 10 of 10) sorted by relevance

/external/opencv/cv/src/
Dcvaccum.cpp44 #define ICV_DEF_ACC_FUNC( name, srctype, dsttype, cvtmacro ) \ argument
46 name,( const srctype *src, int srcstep, dsttype *dst, \
58 dsttype t0 = dst[x] + cvtmacro(src[x]); \
59 dsttype t1 = dst[x + 1] + cvtmacro(src[x + 1]); \
81 #define ICV_DEF_ACCPROD_FUNC( flavor, srctype, dsttype, cvtmacro ) \ in ICV_DEF_ACC_FUNC() argument
84 dsttype *dst, int dststep, CvSize size ), \ in ICV_DEF_ACC_FUNC()
96 dsttype t0 = dst[x] + cvtmacro(src1[x])*cvtmacro(src2[x]); \ in ICV_DEF_ACC_FUNC()
97 dsttype t1 = dst[x+1] + cvtmacro(src1[x+1])*cvtmacro(src2[x+1]);\ in ICV_DEF_ACC_FUNC()
117 #define ICV_DEF_ACCWEIGHT_FUNC( flavor, srctype, dsttype, cvtmacro ) \ argument
119 ( const srctype *src, int srcstep, dsttype *dst, int dststep, \
[all …]
Dcvsamplers.cpp145 #define ICV_DEF_GET_RECT_SUB_PIX_FUNC( flavor, srctype, dsttype, worktype, \ argument
149 dsttype* dst, int dst_step, CvSize win_size, CvPoint2D32f center ) \
200 dst[j] = (dsttype)cast_macro2(s0); \
201 dst[j+1] = (dsttype)cast_macro2(s1); \
211 dst[j] = (dsttype)cast_macro2(s0); \
234 dst[j] = (dsttype)cast_macro2(s0); \
244 dst[j] = (dsttype)cast_macro2(s0); \
252 dst[j] = (dsttype)cast_macro2(s0); \
264 #define ICV_DEF_GET_RECT_SUB_PIX_FUNC_C3( flavor, srctype, dsttype, worktype, \ argument
268 dsttype* dst, int dst_step, CvSize win_size, CvPoint2D32f center ) \
[all …]
Dcvderiv.cpp485 #define ICV_LAPLACE_ROW( flavor, srctype, dsttype, load_macro ) \ argument
487 icvLaplaceRow_##flavor( const srctype* src, dsttype* dst, void* params )\
492 const dsttype* kx = (dsttype*)_kx->data.ptr; \
493 const dsttype* ky = (dsttype*)_ky->data.ptr; \
508 dsttype s0 = load_macro(s[i]); \
509 dsttype s1 = (dsttype)(s[i-cn] - s0*2 + s[i+cn]); \
515 dsttype s0 = (dsttype)(s[i-cn] + s[i]*2 + s[i+cn]); \
516 dsttype s1 = (dsttype)(s[i-cn] - s[i]*2 + s[i+cn]); \
522 dsttype s0 = (dsttype)(s[i-2*cn]+(s[i-cn]+s[i+cn])*4+s[i]*6+s[i+2*cn]);\
523 dsttype s1 = (dsttype)(s[i-2*cn]-s[i]*2+s[i+2*cn]); \
[all …]
Dcvfilter.cpp1035 #define ICV_FILTER_ROW( flavor, srctype, dsttype, load_macro ) \ argument
1037 icvFilterRow_##flavor(const srctype* src, dsttype* dst, void*params)\
1041 const dsttype* kx = (const dsttype*)(_kx->data.ptr); \
1062 dst[i] = (dsttype)s0; dst[i+1] = (dsttype)s1; \
1063 dst[i+2] = (dsttype)s2; dst[i+3] = (dsttype)s3; \
1071 dst[i] = (dsttype)s0; \
1082 #define ICV_FILTER_ROW_SYMM( flavor, srctype, dsttype, load_macro ) \ argument
1085 dsttype* dst, void* params ) \
1089 const dsttype* kx = (const dsttype*)(_kx->data.ptr); \
1116 dst[i] = (dsttype)s0; dst[i+1] = (dsttype)s1; \
[all …]
D_cvipp.h683 #define ICV_COPY_SUBPIX( flavor, cn, srctype, dsttype ) \ argument
686 ( const srctype* pSrc, int srcStep, dsttype* pDst, int dstStep, \
/external/opencv/cxcore/src/
Dcxlut.cpp103 #define ICV_DEF_LUT_FUNC_8U_CN( flavor, dsttype, cn ) \ argument
106 dsttype* dst, int dststep, CvSize size, \
107 const dsttype* lut ) \
114 ICV_LUT_CASE_C##cn( dsttype ) \
131 #define ICV_DEF_LUT_FUNC_8U( flavor, dsttype ) \ argument
135 dsttype* dst, int dststep, CvSize size, \
136 const dsttype* _lut, int cn ) \
139 dsttype lutp[1024]; \
166 const dsttype* lut = lutp + k*256; \
169 dsttype t0 = lut[src[j]]; \
[all …]
Dcxmatmul.cpp2470 int srctype = 0, dsttype = 0; in cvCalcCovarMatrix() local
2493 dsttype = CV_MAT_TYPE( cov->type ); in cvCalcCovarMatrix()
2494 if( dsttype != CV_32FC1 && dsttype != CV_64FC1 ) in cvCalcCovarMatrix()
2549 CV_CALL( tempvec = cvCreateMat( avg->rows, avg->cols, dsttype )); in cvCalcCovarMatrix()
2583 if( srctype != dsttype && !tempvec && !(flags & CV_COVAR_USE_AVG)) in cvCalcCovarMatrix()
2584 CV_CALL( tempvec = cvCreateMat( vec->rows, vec->cols, dsttype )); in cvCalcCovarMatrix()
2612 (CvFunc2D_3A1P)dot_tab[dsttype == CV_64FC1].fn_2d[CV_MAT_DEPTH(srctype)]; in cvCalcCovarMatrix()
2648 if( dsttype == CV_64FC1 ) in cvCalcCovarMatrix()
2667 (CvFunc2D_3A1P)ext_tab[dsttype == CV_64FC1].fn_2d[CV_MAT_DEPTH(srctype)]; in cvCalcCovarMatrix()
2693 if( dsttype == CV_64FC1 ) in cvCalcCovarMatrix()
[all …]
Dcxconvert.cpp1139 #define ICV_DEF_CVT_SCALE_FUNC_INT( flavor, dsttype, cast_macro ) \ argument
1142 dsttype* dst, int dststep, CvSize size, \
1146 dsttype lut[256]; \
1257 #define ICV_DEF_CVT_SCALE_FUNC_FLT( flavor, dsttype, cast_macro ) \ argument
1260 dsttype* dst, int dststep, CvSize size, \
1264 dsttype lut[256]; \
1274 lut[i] = (dsttype)val; \
1289 lut[i] = (dsttype)((schar)i*scale + shift); \
1379 #define ICV_DEF_CVT_FUNC_2D( flavor, dsttype, worktype, cast_macro2, \ argument
1388 dsttype* dst, int dststep, \
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dcast_op.cc172 #define REGISTER_CAST_GPU(srctype, dsttype) \ argument
175 .TypeConstraint<dsttype>("DstT") \
226 #define REGISTER_CAST_SYCL(srctype, dsttype) \ argument
229 .TypeConstraint<dsttype>("DstT") \
/external/libcups/cups/
Dppd.c3369 dsttype[256], in ppd_update_filters() local
3407 srcsuper, srctype, dstsuper, dsttype, &cost, program) != 6) in ppd_update_filters()
3417 srcsuper, srctype, dstsuper, dsttype, cost, program)); in ppd_update_filters()