Lines Matching refs:CV_CALL
105 CV_CALL( *samples = cvCreateMat( num_samples, num_features, CV_32FC1 ) ); in cvCreateTestSet()
106 CV_CALL( *responses = cvCreateMat( 1, num_samples, CV_32SC1 ) ); in cvCreateTestSet()
107 CV_CALL( mean = cvCreateMat( 1, num_features, CV_32FC1 ) ); in cvCreateTestSet()
108 CV_CALL( cvSetZero( mean ) ); in cvCreateTestSet()
109 CV_CALL( cov = cvCreateMat( num_features, num_features, CV_32FC1 ) ); in cvCreateTestSet()
110 CV_CALL( cvSetIdentity( cov ) ); in cvCreateTestSet()
114 CV_CALL( cvRandMVNormal( mean, cov, *samples ) ); in cvCreateTestSet()
118 CV_CALL( storage = cvCreateMemStorage() ); in cvCreateTestSet()
119 CV_CALL( cvStartWriteSeq( 0, sizeof( CvSeq ), sizeof( CvDI ), storage, &writer )); in cvCreateTestSet()
122 CV_CALL( cvGetRow( *samples, &sample, i )); in cvCreateTestSet()
124 CV_CALL( elem.d = cvNorm( &sample, NULL, CV_L2 )); in cvCreateTestSet()
127 CV_CALL( seq = cvEndWriteSeq( &writer ) ); in cvCreateTestSet()
130 CV_CALL( cvSeqSort( seq, icvCmpDI, NULL ) ); in cvCreateTestSet()
134 CV_CALL( cvStartReadSeq( seq, &reader ) ); in cvCreateTestSet()
142 CV_CALL( max_dst = (*((CvDI*) cvGetSeqElem( seq, last_idx ))).d ); in cvCreateTestSet()