Lines Matching refs:src_contour
518 icvApproxPolyDP_32s( CvSeq* src_contour, int header_size, in icvApproxPolyDP_32s() argument
527 int i = 0, j, count = src_contour->total, new_count; in icvApproxPolyDP_32s()
528 int is_closed = CV_IS_SEQ_CLOSED( src_contour ); in icvApproxPolyDP_32s()
533 assert( CV_SEQ_ELTYPE(src_contour) == CV_32SC2 ); in icvApproxPolyDP_32s()
534 cvStartWriteSeq( src_contour->flags, header_size, sizeof(pt), storage, &writer ); in icvApproxPolyDP_32s()
536 if( src_contour->total == 0 ) in icvApproxPolyDP_32s()
544 assert( src_contour->first != 0 ); in icvApproxPolyDP_32s()
547 cvStartReadSeq( src_contour, &reader, 0 ); in icvApproxPolyDP_32s()
553 start_pt = *(CvPoint*)cvGetSeqElem( src_contour, -1 ); in icvApproxPolyDP_32s()
673 is_closed = CV_IS_SEQ_CLOSED( src_contour ); in icvApproxPolyDP_32s()
722 icvApproxPolyDP_32f( CvSeq* src_contour, int header_size, in icvApproxPolyDP_32f() argument
731 int i = 0, j, count = src_contour->total, new_count; in icvApproxPolyDP_32f()
732 int is_closed = CV_IS_SEQ_CLOSED( src_contour ); in icvApproxPolyDP_32f()
737 assert( CV_SEQ_ELTYPE(src_contour) == CV_32FC2 ); in icvApproxPolyDP_32f()
738 cvStartWriteSeq( src_contour->flags, header_size, sizeof(pt), storage, &writer ); in icvApproxPolyDP_32f()
740 if( src_contour->total == 0 ) in icvApproxPolyDP_32f()
748 assert( src_contour->first != 0 ); in icvApproxPolyDP_32f()
751 cvStartReadSeq( src_contour, &reader, 0 ); in icvApproxPolyDP_32f()
757 start_pt = *(CvPoint2D32f*)cvGetSeqElem( src_contour, -1 ); in icvApproxPolyDP_32f()
878 is_closed = CV_IS_SEQ_CLOSED( src_contour ); in icvApproxPolyDP_32f()