Lines Matching refs:prev_contour
387 CvSeq *prev_contour = 0, *parent = 0; in cvApproxChains() local
420 contour->h_prev = prev_contour; in cvApproxChains()
422 if( prev_contour ) in cvApproxChains()
423 prev_contour->h_next = contour; in cvApproxChains()
426 prev_contour = contour; in cvApproxChains()
428 dst_seq = prev_contour; in cvApproxChains()
441 assert( prev_contour != 0 ); in cvApproxChains()
442 parent = prev_contour; in cvApproxChains()
443 prev_contour = 0; in cvApproxChains()
453 prev_contour = parent; in cvApproxChains()
711 CvSeq *prev_contour = 0, *parent = 0; in cvApproxPoly() local
814 contour->h_prev = prev_contour; in cvApproxPoly()
816 if( prev_contour ) in cvApproxPoly()
817 prev_contour->h_next = contour; in cvApproxPoly()
820 prev_contour = contour; in cvApproxPoly()
822 dst_seq = prev_contour; in cvApproxPoly()
829 assert( prev_contour != 0 ); in cvApproxPoly()
830 parent = prev_contour; in cvApproxPoly()
831 prev_contour = 0; in cvApproxPoly()
841 prev_contour = parent; in cvApproxPoly()