Home
last modified time | relevance | path

Searched refs:__op__ (Results 1 – 5 of 5) sorted by relevance

/external/opencv/cxcore/src/
Dcxsumpixels.cpp48 #define ICV_SUM_COI_CASE( __op__, len, cn ) \ argument
50 s0 += __op__(src[x]) + __op__(src[x+(cn)]) + \
51 __op__(src[x+(cn)*2]) + __op__(src[x+(cn)*3]);\
54 s0 += __op__(src[x]);
57 #define ICV_SUM_CASE_C1( __op__, len ) \ argument
58 ICV_SUM_COI_CASE( __op__, len, 1 )
61 #define ICV_SUM_CASE_C2( __op__, len ) \ argument
64 s0 += __op__(src[x]) + __op__(src[x+2]) + \
65 __op__(src[x+4]) + __op__(src[x+6]); \
66 s1 += __op__(src[x+1]) + __op__(src[x+3]) + \
[all …]
Dcxlogic.cpp61 #define ICV_DEF_BIN_LOG_OP_2D( __op__, name ) \ argument
74 int t0 = __op__(((const int*)(src1+i))[0], ((const int*)(src2+i))[0]);\
75 int t1 = __op__(((const int*)(src1+i))[1], ((const int*)(src2+i))[1]);\
80 t0 = __op__(((const int*)(src1+i))[2], ((const int*)(src2+i))[2]); \
81 t1 = __op__(((const int*)(src1+i))[3], ((const int*)(src2+i))[3]); \
89 int t = __op__(*(const int*)(src1+i), *(const int*)(src2+i)); \
96 int t = __op__(((const uchar*)src1)[i],((const uchar*)src2)[i]); \
110 #define ICV_DEF_UN_LOG_OP_2D( __op__, name ) \ argument
129 int t0 = __op__(((const int*)(src+i))[0], ((const int*)(scalar+i))[0]); \
130 int t1 = __op__(((const int*)(src+i))[1], ((const int*)(scalar+i))[1]); \
[all …]
Dcxarithm.cpp54 #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]); \
66 t0 = __op__((src1)[i+2],(src2)[i+2]); \
67 t1 = __op__((src1)[i+3],(src2)[i+3]); \
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
[all …]
Dcxcmp.cpp427 #define ICV_DEF_CMP_CASE_C1( __op__, _toggle_macro_ ) \ argument
430 int f0 = __op__( _toggle_macro_(src1[x]), _toggle_macro_(src2[x])); \
431 int f1 = __op__( _toggle_macro_(src1[x+1]), _toggle_macro_(src2[x+1])); \
434 f0 = __op__( _toggle_macro_(src1[x+2]), _toggle_macro_(src2[x+2])); \
435 f1 = __op__( _toggle_macro_(src1[x+3]), _toggle_macro_(src2[x+3])); \
442 int f0 = __op__( _toggle_macro_(src1[x]), _toggle_macro_(src2[x])); \
447 #define ICV_DEF_CMP_FUNC( __op__, name, flavor, arrtype, \ argument
461 ICV_DEF_CMP_CASE_C1( __op__, _toggle_macro_ ) \
468 #define ICV_DEF_CMP_CONST_CASE_C1( __op__, _toggle_macro_ ) \ argument
471 int f0 = __op__( _toggle_macro_(src1[x]), scalar ); \
[all …]
/external/opencv/cv/src/
Dcvmoments.cpp252 #define ICV_DEF_CALC_MOMENTS_IN_TILE( __op__, name, flavor, srctype, temptype, momtype ) \ argument
277 temptype p0 = __op__(ptr[0]), p1 = __op__(ptr[cn]), \
278 p2 = __op__(ptr[2*cn]), p3 = __op__(ptr[3*cn]); \
302 temptype p = __op__(ptr[0]); \