Lines Matching refs:CV_CALL
139 CV_CALL( cascade = (CvHaarClassifierCascade*)cvAlloc( block_size )); in icvCreateHaarClassifierCascade()
268 CV_CALL( out = (CvHidHaarClassifierCascade*)cvAlloc( datasize )); in icvCreateHidHaarClassifierCascade()
351 CV_CALL( out->ipp_stages = (void**)cvAlloc( ipp_datasize )); in icvCreateHidHaarClassifierCascade()
354 CV_CALL( ipp_features = (CvRect*)cvAlloc( max_count*3*sizeof(ipp_features[0]) )); in icvCreateHidHaarClassifierCascade()
355 CV_CALL( ipp_weights = (float*)cvAlloc( max_count*3*sizeof(ipp_weights[0]) )); in icvCreateHidHaarClassifierCascade()
356 CV_CALL( ipp_thresholds = (float*)cvAlloc( max_count*sizeof(ipp_thresholds[0]) )); in icvCreateHidHaarClassifierCascade()
357 CV_CALL( ipp_val1 = (float*)cvAlloc( max_count*sizeof(ipp_val1[0]) )); in icvCreateHidHaarClassifierCascade()
358 CV_CALL( ipp_val2 = (float*)cvAlloc( max_count*sizeof(ipp_val2[0]) )); in icvCreateHidHaarClassifierCascade()
359 CV_CALL( ipp_counts = (int*)cvAlloc( max_count*sizeof(ipp_counts[0]) )); in icvCreateHidHaarClassifierCascade()
453 CV_CALL( sum = cvGetMat( sum, &sum_stub, &coi0 )); in cvSetImagesForHaarClassifierCascade()
454 CV_CALL( sqsum = cvGetMat( sqsum, &sqsum_stub, &coi1 )); in cvSetImagesForHaarClassifierCascade()
468 CV_CALL( icvCreateHidHaarClassifierCascade(_cascade) ); in cvSetImagesForHaarClassifierCascade()
474 CV_CALL( tilted = cvGetMat( tilted, &tilted_stub, &coi1 )); in cvSetImagesForHaarClassifierCascade()
889 CV_CALL( img = cvGetMat( img, &stub, &coi )); in cvHaarDetectObjects()
899 CV_CALL( temp = cvCreateMat( img->rows, img->cols, CV_8UC1 )); in cvHaarDetectObjects()
900 CV_CALL( sum = cvCreateMat( img->rows + 1, img->cols + 1, CV_32SC1 )); in cvHaarDetectObjects()
901 CV_CALL( sqsum = cvCreateMat( img->rows + 1, img->cols + 1, CV_64FC1 )); in cvHaarDetectObjects()
902 CV_CALL( temp_storage = cvCreateChildMemStorage( storage )); in cvHaarDetectObjects()
905 CV_CALL( icvCreateHidHaarClassifierCascade(cascade) ); in cvHaarDetectObjects()
919 CV_CALL( temp_storage_thread = cvCreateMemStorage(0)); in cvHaarDetectObjects()
920 CV_CALL( seq_thread[i] = cvCreateSeq( 0, sizeof(CvSeq), in cvHaarDetectObjects()
942 CV_CALL( norm_img = cvCreateMat( img->rows, img->cols, CV_32FC1 )); in cvHaarDetectObjects()
943 CV_CALL( img_small = cvCreateMat( img->rows + 1, img->cols + 1, CV_8UC1 )); in cvHaarDetectObjects()
1269 CV_CALL( comps = (CvAvgComp*)cvAlloc( (ncomp+1)*sizeof(comps[0]))); in cvHaarDetectObjects()
1429 CV_CALL( comps = (CvAvgComp*)cvAlloc( (ncomp+1)*sizeof(comps[0]))); in cvHaarDetectObjects()
1687 CV_CALL( cascade = (CvHaarClassifierCascade*)cvLoad( directory )); in cvLoadHaarClassifierCascade()
1694 CV_CALL( input_cascade = (const char**)cvAlloc( size )); in cvLoadHaarClassifierCascade()
1793 CV_CALL( stages_fn = cvGetFileNodeByName( fs, node, ICV_HAAR_STAGES_NAME ) ); in icvReadHaarClassifier()
1798 CV_CALL( cascade = icvCreateHaarClassifierCascade(n) ); in icvReadHaarClassifier()
1801 CV_CALL( seq_fn = cvGetFileNodeByName( fs, node, ICV_HAAR_SIZE_NAME ) ); in icvReadHaarClassifier()
1804 CV_CALL( fn = (CvFileNode*) cvGetSeqElem( seq_fn->data.seq, 0 ) ); in icvReadHaarClassifier()
1808 CV_CALL( fn = (CvFileNode*) cvGetSeqElem( seq_fn->data.seq, 1 ) ); in icvReadHaarClassifier()
1813 CV_CALL( cvStartReadSeq( stages_fn->data.seq, &stages_reader ) ); in icvReadHaarClassifier()
1827 CV_CALL( trees_fn = cvGetFileNodeByName( fs, stage_fn, ICV_HAAR_TREES_NAME ) ); in icvReadHaarClassifier()
1835 CV_CALL( cascade->stage_classifier[i].classifier = in icvReadHaarClassifier()
1844 CV_CALL( cvStartReadSeq( trees_fn->data.seq, &trees_reader ) ); in icvReadHaarClassifier()
1862 CV_CALL( classifier->haar_feature = (CvHaarFeature*) cvAlloc( in icvReadHaarClassifier()
1873 CV_CALL( cvStartReadSeq( tree_fn->data.seq, &tree_reader ) ); in icvReadHaarClassifier()
1888 CV_CALL( feature_fn = cvGetFileNodeByName( fs, node_fn, in icvReadHaarClassifier()
1896 CV_CALL( rects_fn = cvGetFileNodeByName( fs, feature_fn, in icvReadHaarClassifier()
1906 CV_CALL( cvStartReadSeq( rects_fn->data.seq, &rects_reader ) ); in icvReadHaarClassifier()
1975 CV_CALL( fn = cvGetFileNodeByName( fs, feature_fn, ICV_HAAR_TILTED_NAME)); in icvReadHaarClassifier()
1983 CV_CALL( fn = cvGetFileNodeByName( fs, node_fn, ICV_HAAR_THRESHOLD_NAME)); in icvReadHaarClassifier()
1991 CV_CALL( fn = cvGetFileNodeByName( fs, node_fn, ICV_HAAR_LEFT_NODE_NAME)); in icvReadHaarClassifier()
2006 CV_CALL( fn = cvGetFileNodeByName( fs, node_fn, in icvReadHaarClassifier()
2030 CV_CALL( fn = cvGetFileNodeByName( fs, node_fn,ICV_HAAR_RIGHT_NODE_NAME)); in icvReadHaarClassifier()
2045 CV_CALL( fn = cvGetFileNodeByName( fs, node_fn, in icvReadHaarClassifier()
2082 CV_CALL( fn = cvGetFileNodeByName( fs, stage_fn, ICV_HAAR_STAGE_THRESHOLD_NAME)); in icvReadHaarClassifier()
2093 CV_CALL( fn = cvGetFileNodeByName( fs, stage_fn, ICV_HAAR_PARENT_NAME ) ); in icvReadHaarClassifier()
2101 CV_CALL( fn = cvGetFileNodeByName( fs, stage_fn, ICV_HAAR_NEXT_NAME ) ); in icvReadHaarClassifier()
2147 CV_CALL( cvStartWriteStruct( fs, name, CV_NODE_MAP, CV_TYPE_NAME_HAAR, attributes ) ); in icvWriteHaarClassifier()
2149 CV_CALL( cvStartWriteStruct( fs, ICV_HAAR_SIZE_NAME, CV_NODE_SEQ | CV_NODE_FLOW ) ); in icvWriteHaarClassifier()
2150 CV_CALL( cvWriteInt( fs, NULL, cascade->orig_window_size.width ) ); in icvWriteHaarClassifier()
2151 CV_CALL( cvWriteInt( fs, NULL, cascade->orig_window_size.height ) ); in icvWriteHaarClassifier()
2152 CV_CALL( cvEndWriteStruct( fs ) ); /* size */ in icvWriteHaarClassifier()
2154 CV_CALL( cvStartWriteStruct( fs, ICV_HAAR_STAGES_NAME, CV_NODE_SEQ ) ); in icvWriteHaarClassifier()
2157 CV_CALL( cvStartWriteStruct( fs, NULL, CV_NODE_MAP ) ); in icvWriteHaarClassifier()
2159 CV_CALL( cvWriteComment( fs, buf, 1 ) ); in icvWriteHaarClassifier()
2161 CV_CALL( cvStartWriteStruct( fs, ICV_HAAR_TREES_NAME, CV_NODE_SEQ ) ); in icvWriteHaarClassifier()
2167 CV_CALL( cvStartWriteStruct( fs, NULL, CV_NODE_SEQ ) ); in icvWriteHaarClassifier()
2169 CV_CALL( cvWriteComment( fs, buf, 1 ) ); in icvWriteHaarClassifier()
2175 CV_CALL( cvStartWriteStruct( fs, NULL, CV_NODE_MAP ) ); in icvWriteHaarClassifier()
2184 CV_CALL( cvWriteComment( fs, buf, 1 ) ); in icvWriteHaarClassifier()
2186 CV_CALL( cvStartWriteStruct( fs, ICV_HAAR_FEATURE_NAME, CV_NODE_MAP ) ); in icvWriteHaarClassifier()
2188 CV_CALL( cvStartWriteStruct( fs, ICV_HAAR_RECTS_NAME, CV_NODE_SEQ ) ); in icvWriteHaarClassifier()
2191 CV_CALL( cvStartWriteStruct( fs, NULL, CV_NODE_SEQ | CV_NODE_FLOW ) ); in icvWriteHaarClassifier()
2192 CV_CALL( cvWriteInt( fs, NULL, feature->rect[l].r.x ) ); in icvWriteHaarClassifier()
2193 CV_CALL( cvWriteInt( fs, NULL, feature->rect[l].r.y ) ); in icvWriteHaarClassifier()
2194 CV_CALL( cvWriteInt( fs, NULL, feature->rect[l].r.width ) ); in icvWriteHaarClassifier()
2195 CV_CALL( cvWriteInt( fs, NULL, feature->rect[l].r.height ) ); in icvWriteHaarClassifier()
2196 CV_CALL( cvWriteReal( fs, NULL, feature->rect[l].weight ) ); in icvWriteHaarClassifier()
2197 CV_CALL( cvEndWriteStruct( fs ) ); /* rect */ in icvWriteHaarClassifier()
2199 CV_CALL( cvEndWriteStruct( fs ) ); /* rects */ in icvWriteHaarClassifier()
2200 CV_CALL( cvWriteInt( fs, ICV_HAAR_TILTED_NAME, feature->tilted ) ); in icvWriteHaarClassifier()
2201 CV_CALL( cvEndWriteStruct( fs ) ); /* feature */ in icvWriteHaarClassifier()
2203 CV_CALL( cvWriteReal( fs, ICV_HAAR_THRESHOLD_NAME, tree->threshold[k]) ); in icvWriteHaarClassifier()
2207 CV_CALL( cvWriteInt( fs, ICV_HAAR_LEFT_NODE_NAME, tree->left[k] ) ); in icvWriteHaarClassifier()
2211 CV_CALL( cvWriteReal( fs, ICV_HAAR_LEFT_VAL_NAME, in icvWriteHaarClassifier()
2217 CV_CALL( cvWriteInt( fs, ICV_HAAR_RIGHT_NODE_NAME, tree->right[k] ) ); in icvWriteHaarClassifier()
2221 CV_CALL( cvWriteReal( fs, ICV_HAAR_RIGHT_VAL_NAME, in icvWriteHaarClassifier()
2225 CV_CALL( cvEndWriteStruct( fs ) ); /* split */ in icvWriteHaarClassifier()
2228 CV_CALL( cvEndWriteStruct( fs ) ); /* tree */ in icvWriteHaarClassifier()
2231 CV_CALL( cvEndWriteStruct( fs ) ); /* trees */ in icvWriteHaarClassifier()
2233 CV_CALL( cvWriteReal( fs, ICV_HAAR_STAGE_THRESHOLD_NAME, in icvWriteHaarClassifier()
2236 CV_CALL( cvWriteInt( fs, ICV_HAAR_PARENT_NAME, in icvWriteHaarClassifier()
2238 CV_CALL( cvWriteInt( fs, ICV_HAAR_NEXT_NAME, in icvWriteHaarClassifier()
2241 CV_CALL( cvEndWriteStruct( fs ) ); /* stage */ in icvWriteHaarClassifier()
2244 CV_CALL( cvEndWriteStruct( fs ) ); /* stages */ in icvWriteHaarClassifier()
2245 CV_CALL( cvEndWriteStruct( fs ) ); /* root */ in icvWriteHaarClassifier()
2264 CV_CALL( cascade = icvCreateHaarClassifierCascade(n) ); in icvCloneHaarClassifier()
2275 CV_CALL( cascade->stage_classifier[i].classifier = in icvCloneHaarClassifier()
2294 CV_CALL( classifier->haar_feature = (CvHaarFeature*) cvAlloc( in icvCloneHaarClassifier()