/external/opencv/cxcore/src/ |
cxnorm.cpp | 49 _update_op_, worktype, len ) \ 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 ) \ 81 worktype t0 = (src)[x*(cn)]; \ 82 t0 = (worktype)_op_(t0); \ 88 _update_op_, worktype, len ) \ 92 worktype t0 = (src1)[x] - (src2)[x]; [all...] |
cxmeansdv.cpp | 48 #define ICV_MEAN_SDV_COI_CASE( worktype, sqsumtype, \ 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 ) \ 77 ICV_MEAN_SDV_COI_CASE( worktype, sqsumtype, sqr_macro, len, 1 ) 80 #define ICV_MEAN_SDV_CASE_C2( worktype, sqsumtype, \ 84 worktype t0 = (src)[x]; \ 85 worktype t1 = (src)[x + 1]; \ 94 #define ICV_MEAN_SDV_CASE_C3( worktype, sqsumtype, [all...] |
cxmean.cpp | 137 #define ICV_MEAN_ENTRY_BLOCK_C1( sumtype, worktype, block_size )\ 139 worktype s0 = 0; \ 142 #define ICV_MEAN_ENTRY_BLOCK_C2( sumtype, worktype, block_size )\ 144 worktype s0 = 0, s1 = 0; \ 147 #define ICV_MEAN_ENTRY_BLOCK_C3( sumtype, worktype, block_size )\ 149 worktype s0 = 0, s1 = 0, s2 = 0; \ 152 #define ICV_MEAN_ENTRY_BLOCK_C4( sumtype, worktype, block_size )\ 154 worktype s0 = 0, s1 = 0, s2 = 0, s3 = 0; \ 240 arrtype, sumtype, worktype, block_size ) \ 247 ICV_MEAN_ENTRY_BLOCK_C##cn( sumtype, worktype, block_size ); [all...] |
cxcmp.cpp | 54 #define ICV_DEF_IN_RANGE_CASE_C1( worktype, _toggle_macro_ ) \ 57 worktype a1 = _toggle_macro_(src1[x]), \ 64 #define ICV_DEF_IN_RANGE_CASE_C2( worktype, _toggle_macro_ ) \ 67 worktype a1 = _toggle_macro_(src1[x*2]), \ 78 #define ICV_DEF_IN_RANGE_CASE_C3( worktype, _toggle_macro_ ) \ 81 worktype a1 = _toggle_macro_(src1[x*3]), \ 96 #define ICV_DEF_IN_RANGE_CASE_C4( worktype, _toggle_macro_ ) \ 99 worktype a1 = _toggle_macro_(src1[x*4]), \ 118 #define ICV_DEF_IN_RANGE_FUNC( flavor, arrtype, worktype, \ 133 ICV_DEF_IN_RANGE_CASE_C##cn( worktype, _toggle_macro_ ) [all...] |
cxsumpixels.cpp | 145 #define ICV_SUM_ENTRY_BLOCK_C1( sumtype, worktype, block_size ) \ 147 worktype s0 = 0; \ 150 #define ICV_SUM_ENTRY_BLOCK_C2( sumtype, worktype, block_size ) \ 152 worktype s0 = 0, s1 = 0; \ 155 #define ICV_SUM_ENTRY_BLOCK_C3( sumtype, worktype, block_size ) \ 157 worktype s0 = 0, s1 = 0, s2 = 0; \ 160 #define ICV_SUM_ENTRY_BLOCK_C4( sumtype, worktype, block_size ) \ 162 worktype s0 = 0, s1 = 0, s2 = 0, s3 = 0; \ 232 __op__, arrtype, sumtype_final, sumtype, worktype, block_size )\ 237 ICV_SUM_ENTRY_BLOCK_C##cn(sumtype,worktype,(block_size)*(cn)); [all...] |
cxarithm.cpp | 54 #define ICV_DEF_BIN_ARI_OP_CASE( __op__, worktype, cast_macro, len )\ 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 ) \ 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) \ 121 worktype t0 = __op__((src1)[0],(src2)[0]); \ 129 ICV_DEF_BIN_ARI_OP_CASE( __op__, worktype, \ [all...] |
cxconvert.cpp | [all...] |
cxmatmul.cpp | 125 #define ICV_DEF_GEMM_SINGLE_MUL( flavor, arrtype, worktype ) \ 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]; [all...] |
cxrand.cpp | 150 #define ICV_IMPL_RAND( flavor, arrtype, worktype, cast_macro1, cast_macro2 )\ 165 worktype f0, f1; \ 195 worktype f0; \ 340 #define ICV_IMPL_RANDN( flavor, arrtype, worktype, cast_macro1, cast_macro2 ) \ 364 worktype f0, f1; \ 385 worktype f0 = cast_macro1( buffer[j]*p[j+12] + p[j] ); \
|
cxmatrix.cpp | 848 const int worktype = CV_64FC1; local 1103 const int worktype = CV_64FC1; local 1402 int worktype = CV_64FC1; local [all...] |
cxmathfuncs.cpp | [all...] |
/external/opencv/cv/src/ |
cvsamplers.cpp | 145 #define ICV_DEF_GET_RECT_SUB_PIX_FUNC( flavor, srctype, dsttype, worktype, \ 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, \ 271 worktype a, b; [all...] |
cvpyramids.cpp | 81 #define ICV_DEF_PYR_DOWN_FUNC( flavor, type, worktype, _pd_scale_ ) \ 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_ ) \ 284 worktype *buffer = (worktype*)buf; [all...] |
cvsumpixels.cpp | 44 #define ICV_DEF_INTEGRAL_OP_C1( flavor, arrtype, sumtype, sqsumtype, worktype, \ 102 worktype it = src[x]; \ 128 worktype it = src[x]; \ 143 worktype it; \ 208 worktype, cast_macro, cast_sqr_macro ) \ 259 worktype it = src[x]; \
|
cvmorph.cpp | 462 worktype, update_extr_macro ) \ 487 worktype m = s[cn], t; \ 501 worktype m = s[0], t; \ 521 worktype, update_extr_macro, toggle_macro ) \ 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, \ 676 worktype s0 = sptr[i], s1 = sptr[i+1], [all...] |
cvimgwarp.cpp | 205 #define ICV_DEF_RESIZE_BILINEAR_FUNC( flavor, arrtype, worktype, alpha_field, \ 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 ) \ 306 worktype sum = 0; \ 415 #define ICV_DEF_RESIZE_BICUBIC_FUNC( flavor, arrtype, worktype, load_macro, [all...] |
cvcolor.cpp | 701 #define CV_IMPL_BGRx2YCrCb( flavor, arrtype, worktype, scale_macro, cast_macro, \ 717 worktype b = src[blue_idx], r = src[2^blue_idx], y; \ [all...] |
cvfilter.cpp | [all...] |
/external/opencv/cxcore/include/ |
cxmisc.h | 221 #define CV_UN_ENTRY_C1(worktype) \ 222 worktype s0 = scalar[0] 224 #define CV_UN_ENTRY_C2(worktype) \ 225 worktype s0 = scalar[0], s1 = scalar[1] 227 #define CV_UN_ENTRY_C3(worktype) \ 228 worktype s0 = scalar[0], s1 = scalar[1], s2 = scalar[2] 230 #define CV_UN_ENTRY_C4(worktype) \ 231 worktype s0 = scalar[0], s1 = scalar[1], s2 = scalar[2], s3 = scalar[3] [all...] |