Lines Matching refs:pointer

199 icvCalcAndWritePtIndices( CvPoint** pointer, int* stack, int start, int end,  in CV_IMPLEMENT_QSORT()
211 CvPoint* ptr = (CvPoint*)pointer[stack[i]]; in CV_IMPLEMENT_QSORT()
232 CvPoint** pointer = 0; in cvConvexHull2() local
332 CV_CALL( pointer = (CvPoint**)cvAlloc( ptseq->total*sizeof(pointer[0]) )); in cvConvexHull2()
334 pointerf = (CvPoint2D32f**)pointer; in cvConvexHull2()
340 pointer[i] = (CvPoint*)reader.ptr; in cvConvexHull2()
347 icvSortPointsByPointers_32s( pointer, total, 0 ); in cvConvexHull2()
350 int y = pointer[i]->y; in cvConvexHull2()
351 if( pointer[miny_ind]->y > y ) in cvConvexHull2()
353 if( pointer[maxy_ind]->y < y ) in cvConvexHull2()
370 if( pointer[0]->x == pointer[total-1]->x && in cvConvexHull2()
371 pointer[0]->y == pointer[total-1]->y ) in cvConvexHull2()
375 CV_WRITE_SEQ_ELEM( pointer[0], writer ); in cvConvexHull2()
384 CvPoint pt = pointer[0][0]; in cvConvexHull2()
393 int tl_count = sklansky( pointer, 0, maxy_ind, tl_stack, -1, 1 ); in cvConvexHull2()
395 int tr_count = sklansky( pointer, ptseq->total - 1, maxy_ind, tr_stack, -1, -1 ); in cvConvexHull2()
407 CV_WRITE_SEQ_ELEM( pointer[tl_stack[i]], writer ); in cvConvexHull2()
410 CV_WRITE_SEQ_ELEM( pointer[tr_stack[i]], writer ); in cvConvexHull2()
414 CV_CALL( icvCalcAndWritePtIndices( pointer, tl_stack, in cvConvexHull2()
416 CV_CALL( icvCalcAndWritePtIndices( pointer, tr_stack, in cvConvexHull2()
422 CV_WRITE_SEQ_ELEM( pointer[tl_stack[i]][0], writer ); in cvConvexHull2()
425 CV_WRITE_SEQ_ELEM( pointer[tr_stack[i]][0], writer ); in cvConvexHull2()
433 int bl_count = sklansky( pointer, 0, miny_ind, bl_stack, 1, -1 ); in cvConvexHull2()
435 int br_count = sklansky( pointer, ptseq->total - 1, miny_ind, br_stack, 1, 1 ); in cvConvexHull2()
448 pointer[check_idx]->x == pointer[stop_idx]->x && in cvConvexHull2()
449 pointer[check_idx]->y == pointer[stop_idx]->y) ) in cvConvexHull2()
462 CV_WRITE_SEQ_ELEM( pointer[bl_stack[i]], writer ); in cvConvexHull2()
465 CV_WRITE_SEQ_ELEM( pointer[br_stack[i]], writer ); in cvConvexHull2()
469 CV_CALL( icvCalcAndWritePtIndices( pointer, bl_stack, in cvConvexHull2()
471 CV_CALL( icvCalcAndWritePtIndices( pointer, br_stack, in cvConvexHull2()
477 CV_WRITE_SEQ_ELEM( pointer[bl_stack[i]][0], writer ); in cvConvexHull2()
480 CV_WRITE_SEQ_ELEM( pointer[br_stack[i]][0], writer ); in cvConvexHull2()
507 cvFree( &pointer ); in cvConvexHull2()