/external/opencv/cxcore/src/ |
D | cxmeansdv.cpp | 48 #define ICV_MEAN_SDV_COI_CASE( worktype, sqsumtype, \ argument 52 worktype t0 = src[x]; \ 53 worktype t1 = src[x + (cn)]; \ 69 worktype t0 = src[x]; \ 76 #define ICV_MEAN_SDV_CASE_C1( worktype, sqsumtype, sqr_macro, len ) \ argument 77 ICV_MEAN_SDV_COI_CASE( worktype, sqsumtype, sqr_macro, len, 1 ) 80 #define ICV_MEAN_SDV_CASE_C2( worktype, sqsumtype, \ argument 84 worktype t0 = (src)[x]; \ 85 worktype t1 = (src)[x + 1]; \ 94 #define ICV_MEAN_SDV_CASE_C3( worktype, sqsumtype, \ argument [all …]
|
D | cxnorm.cpp | 49 _update_op_, worktype, len ) \ argument 53 worktype t0 = (src)[x]; \ 54 worktype t1 = (src)[x+1]; \ 70 worktype t0 = (src)[x]; \ 71 t0 = (worktype)_op_(t0); \ 77 _update_op_, worktype, len, cn ) \ argument 81 worktype t0 = (src)[x*(cn)]; \ 82 t0 = (worktype)_op_(t0); \ 88 _update_op_, worktype, len ) \ argument 92 worktype t0 = (src1)[x] - (src2)[x];\ [all …]
|
D | cxmean.cpp | 137 #define ICV_MEAN_ENTRY_BLOCK_C1( sumtype, worktype, block_size )\ argument 139 worktype s0 = 0; \ 142 #define ICV_MEAN_ENTRY_BLOCK_C2( sumtype, worktype, block_size )\ argument 144 worktype s0 = 0, s1 = 0; \ 147 #define ICV_MEAN_ENTRY_BLOCK_C3( sumtype, worktype, block_size )\ argument 149 worktype s0 = 0, s1 = 0, s2 = 0; \ 152 #define ICV_MEAN_ENTRY_BLOCK_C4( sumtype, worktype, block_size )\ argument 154 worktype s0 = 0, s1 = 0, s2 = 0, s3 = 0; \ 240 arrtype, sumtype, worktype, block_size ) \ argument 247 ICV_MEAN_ENTRY_BLOCK_C##cn( sumtype, worktype, block_size );\ [all …]
|
D | cxcmp.cpp | 54 #define ICV_DEF_IN_RANGE_CASE_C1( worktype, _toggle_macro_ ) \ argument 57 worktype a1 = _toggle_macro_(src1[x]), \ 64 #define ICV_DEF_IN_RANGE_CASE_C2( worktype, _toggle_macro_ ) \ argument 67 worktype a1 = _toggle_macro_(src1[x*2]), \ 78 #define ICV_DEF_IN_RANGE_CASE_C3( worktype, _toggle_macro_ ) \ argument 81 worktype a1 = _toggle_macro_(src1[x*3]), \ 96 #define ICV_DEF_IN_RANGE_CASE_C4( worktype, _toggle_macro_ ) \ argument 99 worktype a1 = _toggle_macro_(src1[x*4]), \ 118 #define ICV_DEF_IN_RANGE_FUNC( flavor, arrtype, worktype, \ argument 133 ICV_DEF_IN_RANGE_CASE_C##cn( worktype, _toggle_macro_ ) \ [all …]
|
D | cxsumpixels.cpp | 145 #define ICV_SUM_ENTRY_BLOCK_C1( sumtype, worktype, block_size ) \ argument 147 worktype s0 = 0; \ 150 #define ICV_SUM_ENTRY_BLOCK_C2( sumtype, worktype, block_size ) \ argument 152 worktype s0 = 0, s1 = 0; \ 155 #define ICV_SUM_ENTRY_BLOCK_C3( sumtype, worktype, block_size ) \ argument 157 worktype s0 = 0, s1 = 0, s2 = 0; \ 160 #define ICV_SUM_ENTRY_BLOCK_C4( sumtype, worktype, block_size ) \ argument 162 worktype s0 = 0, s1 = 0, s2 = 0, s3 = 0; \ 232 __op__, arrtype, sumtype_final, sumtype, worktype, block_size )\ argument 237 ICV_SUM_ENTRY_BLOCK_C##cn(sumtype,worktype,(block_size)*(cn)); \ [all …]
|
D | cxarithm.cpp | 54 #define ICV_DEF_BIN_ARI_OP_CASE( __op__, worktype, cast_macro, len )\ argument 60 worktype t0 = __op__((src1)[i], (src2)[i]); \ 61 worktype t1 = __op__((src1)[i+1], (src2)[i+1]); \ 75 worktype t0 = __op__((src1)[i],(src2)[i]); \ 80 #define ICV_DEF_BIN_ARI_OP_2D( __op__, name, type, worktype, cast_macro ) \ argument 92 worktype t0 = __op__((src1)[0],(src2)[0]); \ 100 ICV_DEF_BIN_ARI_OP_CASE( __op__, worktype, \ 109 #define ICV_DEF_BIN_ARI_OP_2D_SFS(__op__, name, type, worktype, cast_macro) \ argument 121 worktype t0 = __op__((src1)[0],(src2)[0]); \ 129 ICV_DEF_BIN_ARI_OP_CASE( __op__, worktype, \ [all …]
|
D | cxconvert.cpp | 905 #define ICV_DEF_CVT_SCALE_ABS_CASE( srctype, worktype, \ argument 918 worktype t0 = scale_macro((a)*_src[i] + (b)); \ 919 worktype t1 = scale_macro((a)*_src[i+1] + (b)); \ 921 t0 = (worktype)abs_macro(t0); \ 922 t1 = (worktype)abs_macro(t1); \ 930 t0 = (worktype)abs_macro(t0); \ 931 t1 = (worktype)abs_macro(t1); \ 939 worktype t0 = scale_macro((a)*_src[i] + (b)); \ 940 t0 = (worktype)abs_macro(t0); \ 1106 #define ICV_DEF_CVT_SCALE_CASE( srctype, worktype, \ argument [all …]
|
D | cxmatmul.cpp | 125 #define ICV_DEF_GEMM_SINGLE_MUL( flavor, arrtype, worktype ) \ argument 184 worktype al = worktype(a_data[i])*alpha; \ 188 worktype s0 = al*b_data[j]; \ 189 worktype s1 = al*b_data[j+1]; \ 204 worktype s0 = al*b_data[j]; \ 232 worktype s0(0), s1(0), s2(0), s3(0); \ 236 s0 += worktype(a_data[k])*b_data[k]; \ 237 s1 += worktype(a_data[k+1])*b_data[k+1]; \ 238 s2 += worktype(a_data[k+2])*b_data[k+2]; \ 239 s3 += worktype(a_data[k+3])*b_data[k+3]; \ [all …]
|
D | cxrand.cpp | 150 #define ICV_IMPL_RAND( flavor, arrtype, worktype, cast_macro1, cast_macro2 )\ argument 165 worktype f0, f1; \ 195 worktype f0; \ 340 #define ICV_IMPL_RANDN( flavor, arrtype, worktype, cast_macro1, cast_macro2 ) \ argument 364 worktype f0, f1; \ 385 worktype f0 = cast_macro1( buffer[j]*p[j+12] + p[j] ); \
|
D | cxmatrix.cpp | 848 const int worktype = CV_64FC1; in cvDet() local 849 int buf_size = size.width*size.height*CV_ELEM_SIZE(worktype); in cvDet() 871 CV_CALL( cvInitMatHeader( &tmat, size.height, size.width, worktype, buffer )); in cvDet() 872 if( type == worktype ) in cvDet() 879 decomp_func = (CvLUDecompFunc)(lu_decomp_tab.fn_2d[CV_MAT_DEPTH(worktype)-CV_32F]); in cvDet() 1103 const int worktype = CV_64FC1; in cvInvert() local 1104 int buf_size = size.width*size.height*CV_ELEM_SIZE(worktype); in cvInvert() 1123 CV_CALL( cvInitMatHeader( &tmat, size.height, size.width, worktype, buffer )); in cvInvert() 1124 if( type == worktype ) in cvInvert() 1402 int worktype = CV_64FC1; in cvSolve() local [all …]
|
D | cxmathfuncs.cpp | 1658 #define ICV_DEF_IPOW_OP( flavor, arrtype, worktype, cast_macro ) \ argument 1666 worktype a = 1, b = src[i]; \
|
/external/opencv/cv/src/ |
D | cvsamplers.cpp | 145 #define ICV_DEF_GET_RECT_SUB_PIX_FUNC( flavor, srctype, dsttype, worktype, \ argument 152 worktype a11, a12, a21, a22, b1, b2; \ 191 worktype s0 = cast_macro(src[j])*a11 + \ 195 worktype s1 = cast_macro(src[j+1])*a11 + \ 206 worktype s0 = cast_macro(src[j])*a11 + \ 231 worktype s0 = cast_macro(src[r.x])*b1 + \ 239 worktype s0 = cast_macro(src[j])*a11 + \ 249 worktype s0 = cast_macro(src[r.width])*b1 + \ 264 #define ICV_DEF_GET_RECT_SUB_PIX_FUNC_C3( flavor, srctype, dsttype, worktype, \ argument 271 worktype a, b; \ [all …]
|
D | cvpyramids.cpp | 81 #define ICV_DEF_PYR_DOWN_FUNC( flavor, type, worktype, _pd_scale_ ) \ argument 86 worktype* buffer = (worktype*)buf; /* pointer to temporary buffer */ \ 87 worktype* rows[PD_SZ]; /* array of rows pointers. dim(rows) is PD_SZ */ \ 103 worktype *row01, *row23, *row4; \ 123 worktype *row = rows[y1]; \ 146 worktype *row = rows[y1]; \ 279 #define ICV_DEF_PYR_UP_FUNC( flavor, type, worktype, _pu_scale_ ) \ argument 284 worktype *buffer = (worktype*)buf; \ 285 worktype *rows[PU_SZ]; \ 299 worktype *row0, *row1, *row2; \ [all …]
|
D | cvsumpixels.cpp | 44 #define ICV_DEF_INTEGRAL_OP_C1( flavor, arrtype, sumtype, sqsumtype, worktype, \ argument 102 worktype it = src[x]; \ 128 worktype it = src[x]; \ 143 worktype it; \ 208 worktype, cast_macro, cast_sqr_macro ) \ argument 259 worktype it = src[x]; \
|
D | cvmorph.cpp | 462 worktype, update_extr_macro ) \ argument 487 worktype m = s[cn], t; \ 501 worktype m = s[0], t; \ 521 worktype, update_extr_macro, toggle_macro ) \ argument 541 worktype s0 = sptr[0], s1 = sptr[1], \ 583 worktype s0 = sptr[0], t0; \ 606 worktype s0 = sptr[0], s1 = sptr[1], \ 628 worktype s0 = sptr[0], t0; \ 649 #define ICV_MORPH_ANY( name, flavor, arrtype, worktype, \ argument 676 worktype s0 = sptr[i], s1 = sptr[i+1], \ [all …]
|
D | cvcolor.cpp | 701 #define CV_IMPL_BGRx2YCrCb( flavor, arrtype, worktype, scale_macro, cast_macro, \ argument 717 worktype b = src[blue_idx], r = src[2^blue_idx], y; \ 741 #define CV_IMPL_YCrCb2BGRx( flavor, arrtype, worktype, prescale_macro, \ argument 758 worktype Y = prescale_macro(src[i]), \ 761 worktype b, g, r; \ 843 #define CV_IMPL_BGRx2XYZ( flavor, arrtype, worktype, \ argument 851 worktype t, matrix[] = \ 879 worktype x = scale_macro(src[0]*matrix[0] + \ 881 worktype y = scale_macro(src[0]*matrix[3] + \ 883 worktype z = scale_macro(src[0]*matrix[6] + \ [all …]
|
D | cvimgwarp.cpp | 205 #define ICV_DEF_RESIZE_BILINEAR_FUNC( flavor, arrtype, worktype, alpha_field, \ argument 213 worktype* buf0, worktype* buf1 ) \ 225 worktype fy = yofs[dy].alpha_field, *swap_t; \ 240 worktype* _buf = k == 0 ? buf0 : buf1; \ 253 worktype fx = xofs[dx].alpha_field; \ 254 worktype t = _src[sx]; \ 286 #define ICV_DEF_RESIZE_AREA_FAST_FUNC( flavor, arrtype, worktype, cast_macro ) \ argument 306 worktype sum = 0; \ 415 #define ICV_DEF_RESIZE_BICUBIC_FUNC( flavor, arrtype, worktype, load_macro, \ argument 529 worktype val = cast_macro1( row0[dx]*w0 + row1[dx]*w1 + \ [all …]
|
D | cvfilter.cpp | 1449 #define ICV_FILTER_COL( flavor, srctype, dsttype, worktype, \ argument 1473 worktype t0, t1; \ 1490 worktype t0; \ 1504 #define ICV_FILTER_COL_SYMM( flavor, srctype, dsttype, worktype, \ argument 1533 worktype t0, t1; \ 1554 worktype t0; \ 1571 worktype t0, t1; \ 1592 worktype t0; \ 2209 #define ICV_FILTER( flavor, arrtype, worktype, load_macro, \ argument 2238 worktype t0, t1; \ [all …]
|
/external/opencv/cxcore/include/ |
D | cxmisc.h | 221 #define CV_UN_ENTRY_C1(worktype) \ argument 222 worktype s0 = scalar[0] 224 #define CV_UN_ENTRY_C2(worktype) \ argument 225 worktype s0 = scalar[0], s1 = scalar[1] 227 #define CV_UN_ENTRY_C3(worktype) \ argument 228 worktype s0 = scalar[0], s1 = scalar[1], s2 = scalar[2] 230 #define CV_UN_ENTRY_C4(worktype) \ argument 231 worktype s0 = scalar[0], s1 = scalar[1], s2 = scalar[2], s3 = scalar[3]
|