Lines Matching refs:_cascade

152 icvReleaseHidHaarClassifierCascade( CvHidHaarClassifierCascade** _cascade )  in icvReleaseHidHaarClassifierCascade()  argument
154 if( _cascade && *_cascade ) in icvReleaseHidHaarClassifierCascade()
156 CvHidHaarClassifierCascade* cascade = *_cascade; in icvReleaseHidHaarClassifierCascade()
167 cvFree( _cascade ); in icvReleaseHidHaarClassifierCascade()
428 cvSetImagesForHaarClassifierCascade( CvHaarClassifierCascade* _cascade, in cvSetImagesForHaarClassifierCascade() argument
447 if( !CV_IS_HAAR_CLASSIFIER(_cascade) ) in cvSetImagesForHaarClassifierCascade()
448 CV_ERROR( !_cascade ? CV_StsNullPtr : CV_StsBadArg, "Invalid classifier pointer" ); in cvSetImagesForHaarClassifierCascade()
467 if( !_cascade->hid_cascade ) in cvSetImagesForHaarClassifierCascade()
468 CV_CALL( icvCreateHidHaarClassifierCascade(_cascade) ); in cvSetImagesForHaarClassifierCascade()
470 cascade = _cascade->hid_cascade; in cvSetImagesForHaarClassifierCascade()
489 _cascade->scale = scale; in cvSetImagesForHaarClassifierCascade()
490 _cascade->real_window_size.width = cvRound( _cascade->orig_window_size.width * scale ); in cvSetImagesForHaarClassifierCascade()
491 _cascade->real_window_size.height = cvRound( _cascade->orig_window_size.height * scale ); in cvSetImagesForHaarClassifierCascade()
497 equ_rect.width = cvRound((_cascade->orig_window_size.width-2)*scale); in cvSetImagesForHaarClassifierCascade()
498 equ_rect.height = cvRound((_cascade->orig_window_size.height-2)*scale); in cvSetImagesForHaarClassifierCascade()
521 for( i = 0; i < _cascade->count; i++ ) in cvSetImagesForHaarClassifierCascade()
529 &_cascade->stage_classifier[i].classifier[j].haar_feature[l]; in cvSetImagesForHaarClassifierCascade()
617 …const float orig_norm_size = (float)(_cascade->orig_window_size.width)*(_cascade->orig_window_size… in cvSetImagesForHaarClassifierCascade()
689 cvRunHaarClassifierCascade( CvHaarClassifierCascade* _cascade, in cvRunHaarClassifierCascade() argument
702 if( !CV_IS_HAAR_CLASSIFIER(_cascade) ) in cvRunHaarClassifierCascade()
703 CV_ERROR( !_cascade ? CV_StsNullPtr : CV_StsBadArg, "Invalid cascade pointer" ); in cvRunHaarClassifierCascade()
705 cascade = _cascade->hid_cascade; in cvRunHaarClassifierCascade()
711 pt.x + _cascade->real_window_size.width >= cascade->sum.width-2 || in cvRunHaarClassifierCascade()
712 pt.y + _cascade->real_window_size.height >= cascade->sum.height-2 ) in cvRunHaarClassifierCascade()
1729 cvReleaseHaarClassifierCascade( CvHaarClassifierCascade** _cascade ) in cvReleaseHaarClassifierCascade() argument
1731 if( _cascade && *_cascade ) in cvReleaseHaarClassifierCascade()
1734 CvHaarClassifierCascade* cascade = *_cascade; in cvReleaseHaarClassifierCascade()
1743 cvFree( _cascade ); in cvReleaseHaarClassifierCascade()