Lines Matching refs:total
253 int i, miny_ind = 0, maxy_ind = 0, total;
300 if( mat->cols + mat->rows - 1 < ptseq->total )
316 total = ptseq->total;
317 if( total == 0 )
332 CV_CALL( pointer = (CvPoint**)cvAlloc( ptseq->total*sizeof(pointer[0]) ));
333 CV_CALL( stack = (int*)cvAlloc( (ptseq->total + 2)*sizeof(stack[0]) ));
338 for( i = 0; i < total; i++ )
347 icvSortPointsByPointers_32s( pointer, total, 0 );
348 for( i = 1; i < total; i++ )
359 icvSortPointsByPointers_32f( pointerf, total, 0 );
360 for( i = 1; i < total; i++ )
370 if( pointer[0]->x == pointer[total-1]->x &&
371 pointer[0]->y == pointer[total-1]->y )
395 int tr_count = sklansky( pointer, ptseq->total - 1, maxy_ind, tr_stack, -1, -1 );
435 int br_count = sklansky( pointer, ptseq->total - 1, miny_ind, br_stack, 1, 1 );
490 mat->rows = hullseq->total;
492 mat->cols = hullseq->total;
583 if( mat->cols + mat->rows - 1 > ptseq->total )
600 if( ptseq->total < 4 || hull->total < 3)
654 for( i = 0; i < hull->total; i++ )
757 if( contour->total == 0 )
772 for( i = 0; i < contour->total; i++ )
813 for( i = 0; i < contour->total; i++ )