Lines Matching refs:mat1
979 CvMat stub1, *mat1 = (CvMat*)imgB;
985 if( !mat1 )
987 mat1 = mat2;
1009 if( CV_IS_MAT(mat1) && (!mat2 || CV_IS_MAT(mat2)) && !mask )
1013 if( !CV_ARE_TYPES_EQ( mat1, mat2 ))
1016 if( !CV_ARE_SIZES_EQ( mat1, mat2 ))
1022 size = cvGetMatSize( mat1 );
1023 type = CV_MAT_TYPE(mat1->type);
1027 if( CV_IS_MAT_CONT( mat1->type & mat2_flag ))
1035 const float* src1data = mat1->data.fl;
1071 const double* src1data = mat1->data.db;
1110 mat1_step = mat1->step;
1114 else if( !CV_IS_MATND(mat1) && !CV_IS_MATND(mat2) )
1116 CV_CALL( mat1 = cvGetMat( mat1, &stub1, &coi ));
1122 if( !CV_ARE_TYPES_EQ( mat1, mat2 ))
1125 if( !CV_ARE_SIZES_EQ( mat1, mat2 ))
1128 if( coi != coi2 && CV_MAT_CN( mat1->type ) > 1 )
1134 size = cvGetMatSize( mat1 );
1135 type = CV_MAT_TYPE(mat1->type);
1138 mat1_step = mat1->step;
1141 if( !mask && CV_IS_MAT_CONT( mat1->type & mat2_flag ))
1150 CvArr* arrs[] = { mat1, mat2 };
1268 IPPI_CALL( func( mat1->data.ptr, mat1_step, size, &norm ));
1275 IPPI_CALL( func( mat1->data.ptr, mat1_step, size, &norm, cvAlgHintAccurate ));
1286 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step,
1294 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step,
1311 IPPI_CALL( func( mat1->data.ptr, mat1_step, size, cn, coi, &norm ));
1319 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step,
1341 if( !CV_ARE_SIZES_EQ( mat1, matmask ))
1346 if( CV_IS_MAT_CONT( mat1->type & mat2_flag & matmask->type ))
1361 IPPI_CALL( func( mat1->data.ptr, mat1_step,
1371 IPPI_CALL( func( mat1->data.ptr, mat1_step, mat2->data.ptr, mat2_step,
1388 IPPI_CALL( func( mat1->data.ptr, mat1_step,
1399 IPPI_CALL( func( mat1->data.ptr, mat1_step,