Lines Matching refs:CV_CALL

69     CV_CALL( fs = cvOpenFileStorage( filename, 0, CV_STORAGE_WRITE ));  in save()
91 CV_CALL( fs = cvOpenFileStorage( filename, 0, CV_STORAGE_READ )); in load()
286 CV_CALL(centers = cvCreateMat (num_of_clusters, dim, CV_32FC1)); in icvGenerateRandomClusterCenters()
295 CV_CALL(centers = cvCreateMat (num_of_clusters, dim, CV_64FC1)); in icvGenerateRandomClusterCenters()
306 CV_CALL(cvGetCol (data, &data_comp, i)); in icvGenerateRandomClusterCenters()
307 CV_CALL(cvMinMaxLoc (&data_comp, &minVal, &maxVal, &minLoc, &maxLoc)); in icvGenerateRandomClusterCenters()
308 CV_CALL(cvGetCol (centers, &centers_comp, i)); in icvGenerateRandomClusterCenters()
309CV_CALL(cvRandArr (&rng, &centers_comp, CV_RAND_UNI, cvScalarAll(minVal), cvScalarAll(maxVal))); in icvGenerateRandomClusterCenters()
527 CV_CALL( idx = cvCreateMat( 1, idx_selected, CV_32SC1 )); in cvPreprocessIndexArray()
612 CV_CALL( out_var_type = cvCreateMat( 1, var_count, CV_8UC1 )); in cvPreprocessVarType()
676 CV_CALL( out_responses = cvCreateMat( 1, sample_count, CV_32FC1 )); in cvPreprocessOrderedResponses()
760 CV_CALL( out_responses = cvCreateMat( 1, sample_count, CV_32SC1 )); in cvPreprocessCategoricalResponses()
765 CV_CALL( response_ptr = (int**)cvAlloc( sample_count*sizeof(response_ptr[0]))); in cvPreprocessCategoricalResponses()
801 CV_CALL( *out_response_map = cvCreateMat( 1, cls_count, CV_32SC1 )); in cvPreprocessCategoricalResponses()
805 CV_CALL( *class_counts = cvCreateMat( 1, cls_count, CV_32SC1 )); in cvPreprocessCategoricalResponses()
871 CV_CALL( samples = (float**)cvAlloc(sample_count*sizeof(samples[0]) + in cvGetTrainSamples()
1006 CV_CALL( cvCheckTrainData( train_data, tflag, 0, &var_all, &sample_all )); in cvPrepareTrainData()
1009 CV_CALL( _sample_idx = cvPreprocessIndexArray( sample_idx, sample_all )); in cvPrepareTrainData()
1011 CV_CALL( _var_idx = cvPreprocessIndexArray( var_idx, var_all )); in cvPrepareTrainData()
1020 CV_CALL( _responses = cvPreprocessOrderedResponses( responses, in cvPrepareTrainData()
1025 CV_CALL( _responses = cvPreprocessCategoricalResponses( responses, in cvPrepareTrainData()
1030 CV_CALL( *out_train_samples = in cvPrepareTrainData()
1115 CV_CALL( pairs = (CvSampleResponsePair*)cvAlloc( (sample_count+1)*sizeof(pairs[0]))); in cvSortSamplesByClasses()
1174 CV_CALL( d = cvGetDims( sample, sizes )); in cvPreparePredictData()
1224 CV_CALL( row_sample = (float*)cvAlloc( vec_size )); in cvPreparePredictData()
1264 CV_CALL( row_sample = (float*)cvAlloc( vec_size )); in cvPreparePredictData()
1268 CV_CALL( inverse_comp_idx = (int*)cvAlloc( dims_all*sizeof(int) )); in cvPreparePredictData()
1464 CV_CALL( icvConvertDataToSparse( labels->data.ptr, labels->step, labels->type, in cvWritebackLabels()
1487 CV_CALL( icvConvertDataToSparse( centers->data.ptr + i*centers->step, 0, centers->type, in cvWritebackLabels()
1507 CV_CALL( icvConvertDataToSparse( probs->data.ptr, probs->step, probs->type, in cvWritebackLabels()
1565 CV_CALL( d = cvGetDims( predict_input, sizes ));
1632 CV_CALL( sample_idx_buffer = cvCreateMat( 1, samples_all, CV_8UC1 ));
1641 CV_CALL( sparse_rows = (CvSparseMat**)cvAlloc( samples_selected*sizeof(sparse_rows[0])));
1646 CV_CALL( sparse_rows[i] = cvCreateSparseMat( 1, &dims_all, type ));
1708 CV_CALL( response = stat_model->predict( stat_model, (CvMat*)sample, probs1 ));
1772 CV_CALL (new_data = (int**)cvAlloc (new_n * sizeof (new_data[0]))); in cvCombineResponseMaps()
1779 CV_CALL (old_data = (int**)cvAlloc (old_n * sizeof (old_data[0]))); in cvCombineResponseMaps()
1800 CV_CALL (*out_response_map = cvCreateMat (1, out_n, CV_32SC1)); in cvCombineResponseMaps()
1907 CV_CALL( counts = cvCreateMat( 1, nclusters + 1, CV_32SC1 ) ); in icvFindClusterLabels()
1908 CV_CALL( cvSetZero( counts )); in icvFindClusterLabels()