Lines Matching refs:mat
751 CvMat* mat = 0;
787 mat = (CvMat*)lineStorage;
789 if( !CV_IS_MAT_CONT( mat->type ) || (mat->rows != 1 && mat->cols != 1) )
793 if( CV_MAT_TYPE( mat->type ) != lineType )
797 CV_CALL( lines = cvMakeSeqHeaderForArray( lineType, sizeof(CvSeq), elemSize, mat->data.ptr,
798 mat->rows + mat->cols - 1, &lines_header, &lines_block ));
828 if( mat )
830 if( mat->cols > mat->rows )
831 mat->cols = lines->total;
833 mat->rows = lines->total;
1086 CvMat* mat = 0;
1118 mat = (CvMat*)circle_storage;
1120 if( !CV_IS_MAT_CONT( mat->type ) || (mat->rows != 1 && mat->cols != 1) ||
1121 CV_MAT_TYPE(mat->type) != CV_32FC3 )
1126 mat->data.ptr, mat->rows + mat->cols - 1, &circles_header, &circles_block ));
1146 if( mat )
1148 if( mat->cols > mat->rows )
1149 mat->cols = circles->total;
1151 mat->rows = circles->total;