Home | History | Annotate | Download | only in src

Lines Matching defs:src1

57     worktype a1 = _toggle_macro_(src1[x]),                      \
67 worktype a1 = _toggle_macro_(src1[x*2]), \
70 a1 = _toggle_macro_(src1[x*2+1]); \
81 worktype a1 = _toggle_macro_(src1[x*3]), \
84 a1 = _toggle_macro_(src1[x*3+1]); \
88 a1 = _toggle_macro_(src1[x*3+2]); \
99 worktype a1 = _toggle_macro_(src1[x*4]), \
102 a1 = _toggle_macro_(src1[x*4+1]); \
106 a1 = _toggle_macro_(src1[x*4+2]); \
110 a1 = _toggle_macro_(src1[x*4+3]); \
121 icvInRange_##flavor##_C##cn##R( const arrtype* src1, int step1, \
126 step1 /= sizeof(src1[0]); step2 /= sizeof(src2[0]); \
129 for( ; size.height--; src1 += step1, src2 += step2, \
143 worktype a1 = _toggle_macro_(src1[x]); \
151 worktype a1 = _toggle_macro_(src1[x*2]); \
153 a1 = _toggle_macro_(src1[x*2+1]); \
162 worktype a1 = _toggle_macro_(src1[x*3]); \
164 a1 = _toggle_macro_(src1[x*3+1]); \
166 a1 = _toggle_macro_(src1[x*3+2]); \
175 worktype a1 = _toggle_macro_(src1[x*4]); \
177 a1 = _toggle_macro_(src1[x*4+1]); \
179 a1 = _toggle_macro_(src1[x*4+2]); \
181 a1 = _toggle_macro_(src1[x*4+3]); \
190 icvInRangeC_##flavor##_C##cn##R( const arrtype* src1, int step1, \
194 step1 /= sizeof(src1[0]); step /= sizeof(dst[0]); \
196 for( ; size.height--; src1 += step1, dst += step ) \
256 CvMat srcstub1, *src1 = (CvMat*)srcarr1;
269 if( !CV_IS_MAT(src1) )
271 CV_CALL( src1 = cvGetMat( src1, &srcstub1, &coi ));
297 if( !CV_ARE_TYPES_EQ( src1, src2 ) ||
298 !CV_ARE_TYPES_EQ( src1, src3 ) )
304 if( !CV_ARE_SIZES_EQ( src1, src2 ) ||
305 !CV_ARE_SIZES_EQ( src1, src3 ) ||
306 !CV_ARE_SIZES_EQ( src1, dst ))
309 type = CV_MAT_TYPE(src1->type);
310 size = cvGetMatSize( src1 );
312 if( CV_IS_MAT_CONT( src1->type & src2->type & src3->type & dst->type ))
320 src1_step = src1->step;
334 IPPI_CALL( func( src1->data.ptr, src1_step, src2->data.ptr, src2_step,
355 CvMat srcstub1, *src1 = (CvMat*)srcarr;
367 if( !CV_IS_MAT(src1) )
369 CV_CALL( src1 = cvGetMat( src1, &srcstub1, &coi ));
384 if( !CV_ARE_SIZES_EQ( src1, dst ))
387 sctype = type = CV_MAT_TYPE(src1->type);
391 size = cvGetMatSize( src1 );
393 if( CV_IS_MAT_CONT( src1->type & dst->type ))
401 src1_step = src1->step;
416 IPPI_CALL( func( src1->data.ptr, src1_step, dst->data.ptr,
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])); \
450 icv##name##_##flavor##_C1R( const arrtype* src1, int step1, \
454 step1 /= sizeof(src1[0]); step2 /= sizeof(src2[0]); \
457 for( ; size.height--; src1 += step1, src2 += step2, \
471 int f0 = __op__( _toggle_macro_(src1[x]), scalar ); \
472 int f1 = __op__( _toggle_macro_(src1[x+1]), scalar ); \
475 f0 = __op__( _toggle_macro_(src1[x+2]), scalar ); \
476 f1 = __op__( _toggle_macro_(src1[x+3]), scalar ); \
483 int f0 = __op__( _toggle_macro_(src1[x]), scalar ); \
491 icv##name##C_##flavor##_C1R( const arrtype* src1, int step1, \
496 step1 /= sizeof(src1[0]); step /= sizeof(dst[0]); \
498 for( ; size.height--; src1 += step1, dst += step ) \
567 CvMat srcstub1, *src1 = (CvMat*)srcarr1;
581 if( !CV_IS_MAT(src1) )
583 CV_CALL( src1 = cvGetMat( src1, &srcstub1, &coi ));
608 CV_SWAP( src1, src2, temp );
612 CV_SWAP( src1, src2, temp );
625 if( !CV_ARE_TYPES_EQ( src1, src2 ) )
628 if( CV_MAT_CN( src1->type ) != 1 )
634 if( !CV_ARE_SIZES_EQ( src1, src2 ) ||
635 !CV_ARE_SIZES_EQ( src1, dst ))
638 type = CV_MAT_TYPE(src1->type);
639 size = cvGetMatSize( src1 );
641 if( CV_IS_MAT_CONT( src1->type & src2->type & dst->type ))
649 src1_step = src1->step;
663 IPPI_CALL( icvCompare_8u_C1R_p( src1->data.ptr, src1_step, src2->data.ptr,
668 IPPI_CALL( icvCompare_16s_C1R_p( src1->data.s, src1_step, src2->data.s,
673 IPPI_CALL( icvCompare_32f_C1R_p( src1->data.fl, src1_step, src2->data.fl,
678 IPPI_CALL( func( src1->data.ptr, src1_step, src2->data.ptr, src2_step,
705 CvMat srcstub1, *src1 = (CvMat*)srcarr;
718 if( !CV_IS_MAT(src1) )
720 CV_CALL( src1 = cvGetMat( src1, &srcstub1, &coi ));
757 if( CV_MAT_CN( src1->type ) != 1 )
760 if( !CV_ARE_SIZES_EQ( src1, dst ))
763 type = CV_MAT_TYPE(src1->type);
764 size = cvGetMatSize( src1 );
766 if( CV_IS_MAT_CONT( src1->type & dst->type ))
774 src1_step = src1->step;
804 IPPI_CALL( icvCompareC_8u_C1R_p( src1->data.ptr, src1_step, (uchar)ival,
809 IPPI_CALL( icvCompareC_16s_C1R_p( src1->data.s, src1_step, (short)ival,
814 IPPI_CALL( icvCompareC_32f_C1R_p( src1->data.fl, src1_step, (float)value,
825 IPPI_CALL( func( src1->data.ptr, src1_step, dst->data.ptr,
830 IPPI_CALL( func( src1->data.ptr, src1_step, dst->data.ptr,
851 src1, int step1, \
855 step1 /= sizeof(src1[0]); step2 /= sizeof(src2[0]); \
858 for( ; size.height--; src1 += step1, \
864 worktype a0 = _toggle_macro_(src1[x]); \
866 worktype a1 = _toggle_macro_(src1[x+1]); \
872 a0 = _toggle_macro_(src1[x+2]); \
874 a1 = _toggle_macro_(src1[x+3]); \
884 worktype a0 = _toggle_macro_(src1[x]); \
898 icv##name##C_##flavor##_C1R( const arrtype* src1, int step1,\
903 step1 /= sizeof(src1[0]); step /= sizeof(dst[0]); \
905 for( ; size.height--; src1 += step1, dst += step ) \
910 worktype a0 = _toggle_macro_(src1[x]); \
911 worktype a1 = _toggle_macro_(src1[x+1]); \
916 a0 = _toggle_macro_(src1[x+2]); \
917 a1 = _toggle_macro_(src1[x+3]); \
926 worktype a0 = _toggle_macro_(src1[x]); \
975 CvMat srcstub1, *src1 = (CvMat*)srcarr1;
988 if( !CV_IS_MAT(src1) )
990 CV_CALL( src1 = cvGetMat( src1, &srcstub1, &coi ));
1009 if( !CV_ARE_TYPES_EQ( src1, src2 ) ||
1010 !CV_ARE_TYPES_EQ( src1, dst ))
1013 if( CV_MAT_CN( src1->type ) != 1 )
1016 if( !CV_ARE_SIZES_EQ( src1, src2 ) ||
1017 !CV_ARE_SIZES_EQ( src1, dst ))
1020 type = CV_MAT_TYPE(src1->type);
1021 size = cvGetMatSize( src1 );
1023 if( CV_IS_MAT_CONT( src1->type & src2->type & dst->type ))
1031 src1_step = src1->step;
1041 IPPI_CALL( func( src1->data.ptr, src1_step, src2->data.ptr, src2_step,
1076 CvMat srcstub1, *src1 = (CvMat*)srcarr;
1095 if( !CV_IS_MAT(src1) )
1097 CV_CALL( src1 = cvGetMat( src1, &srcstub1, &coi ));
1109 if( !CV_ARE_TYPES_EQ( src1, dst ))
1112 if( CV_MAT_CN( src1->type ) != 1 )
1115 if( !CV_ARE_SIZES_EQ( src1, dst ))
1118 type = CV_MAT_TYPE(src1->type);
1137 size = cvGetMatSize( src1 );
1139 if( CV_IS_MAT_CONT( src1->type & dst->type ))
1147 src1_step = src1->step;
1160 IPPI_CALL( icvThreshold_LT_8u_C1R_p( src1->data.ptr, src1_step, dst->data.ptr,
1166 IPPI_CALL( icvThreshold_LT_16s_C1R_p( src1->data.s, src1_step, dst->data.s,
1172 IPPI_CALL( icvThreshold_LT_32f_C1R_p( src1->data.fl, src1_step, dst->data.fl,
1181 IPPI_CALL( icvThreshold_GT_8u_C1R_p( src1->data.ptr, src1_step, dst->data.ptr,
1187 IPPI_CALL( icvThreshold_GT_16s_C1R_p( src1->data.s, src1_step, dst->data.s,
1193 IPPI_CALL( icvThreshold_GT_32f_C1R_p( src1->data.fl, src1_step, dst->data.fl,
1220 cvLUT( src1, dst, &_tab );
1224 IPPI_CALL( func( src1->data.ptr, src1_step, dst->data.ptr,
1251 name,( const arrtype* src1, int step1, \
1254 (src1, step1, src2, step2, dst, step, size)) \
1256 step1 /= sizeof(src1[0]); step2 /= sizeof(src2[0]); \
1259 for( ; size.height--; src1 += step1, src2 += step2, \
1266 temptype t0 = src1[i] - src2[i]; \
1267 temptype t1 = src1[i+1] - src2[i+1]; \
1275 t0 = src1[i+2] - src2[i+2]; \
1276 t1 = src1[i+3] - src2[i+3]; \
1287 temptype t0 = src1[i] - src2[i]; \
1425 CvMat srcstub1, *src1 = (CvMat*)srcarr1;
1438 CV_CALL( src1 = cvGetMat( src1, &srcstub1, &coi1 ));
1445 if( !CV_ARE_SIZES_EQ( src1, src2 ) )
1448 size = cvGetMatSize( src1 );
1449 type = CV_MAT_TYPE(src1->type);
1451 if( !CV_ARE_SIZES_EQ( src1, dst ))
1454 if( !CV_ARE_TYPES_EQ( src1, src2 ))
1457 if( !CV_ARE_TYPES_EQ( src1, dst ))
1462 src1_step = src1->step;
1466 if( CV_IS_MAT_CONT( src1->type & src2->type & dst->type ))
1480 IPPI_CALL( func( src1->data.ptr, src1_step, src2->data.ptr, src2_step,