Lines Matching refs:ptseq
651 CvSeq* ptseq = (CvSeq*)array; in cvFitLine() local
657 if( CV_IS_SEQ(ptseq) ) in cvFitLine()
659 type = CV_SEQ_ELTYPE(ptseq); in cvFitLine()
660 if( ptseq->total == 0 ) in cvFitLine()
663 CV_ELEM_SIZE(type) != ptseq->elem_size ) in cvFitLine()
680 CV_CALL( ptseq = cvMakeSeqHeaderForArray( in cvFitLine()
688 if( CV_MAT_DEPTH(type) == CV_32F && ptseq->first->next == ptseq->first ) in cvFitLine()
691 points = ptseq->first->data; in cvFitLine()
695 CV_CALL( buffer = points = (schar*)cvAlloc( ptseq->total*CV_ELEM_SIZE(type) )); in cvFitLine()
696 CV_CALL( cvCvtSeqToArray( ptseq, points, CV_WHOLE_SEQ )); in cvFitLine()
700 int i, total = ptseq->total*CV_MAT_CN(type); in cvFitLine()
713 IPPI_CALL( icvFitLine2D( (CvPoint2D32f*)points, ptseq->total, in cvFitLine()
718 IPPI_CALL( icvFitLine3D( (CvPoint3D32f*)points, ptseq->total, in cvFitLine()