Lines Matching refs:_cascade
134 myicvReleaseHidHaarClassifierCascade( MyCvHidHaarClassifierCascade** _cascade ) in myicvReleaseHidHaarClassifierCascade() argument
136 if( _cascade && *_cascade ) in myicvReleaseHidHaarClassifierCascade()
149 cvFree( _cascade ); in myicvReleaseHidHaarClassifierCascade()
474 mycvRunHaarClassifierCascade( CvHaarClassifierCascade* _cascade, in mycvRunHaarClassifierCascade() argument
489 if( !CV_IS_HAAR_CLASSIFIER(_cascade) ) in mycvRunHaarClassifierCascade()
490 CV_ERROR( !_cascade ? CV_StsNullPtr : CV_StsBadArg, "Invalid cascade pointer" ); in mycvRunHaarClassifierCascade()
492 cascade = (MyCvHidHaarClassifierCascade*)_cascade->hid_cascade; in mycvRunHaarClassifierCascade()
498 pt.x + _cascade->real_window_size.width >= cascade->sum.width-2 || in mycvRunHaarClassifierCascade()
499 pt.y + _cascade->real_window_size.height >= cascade->sum.height-2 ) in mycvRunHaarClassifierCascade()
627 mycvSetImagesForHaarClassifierCascade( CvHaarClassifierCascade* _cascade, in mycvSetImagesForHaarClassifierCascade() argument
646 if( !CV_IS_HAAR_CLASSIFIER(_cascade) ) in mycvSetImagesForHaarClassifierCascade()
647 CV_ERROR( !_cascade ? CV_StsNullPtr : CV_StsBadArg, "Invalid classifier pointer" ); in mycvSetImagesForHaarClassifierCascade()
666 if( !_cascade->hid_cascade ) in mycvSetImagesForHaarClassifierCascade()
667 CV_CALL( myicvCreateHidHaarClassifierCascade(_cascade) ); in mycvSetImagesForHaarClassifierCascade()
669 cascade = (MyCvHidHaarClassifierCascade*)_cascade->hid_cascade; in mycvSetImagesForHaarClassifierCascade()
688 _cascade->scale = scale; in mycvSetImagesForHaarClassifierCascade()
689 _cascade->real_window_size.width = cvRound( _cascade->orig_window_size.width * scale ); in mycvSetImagesForHaarClassifierCascade()
690 _cascade->real_window_size.height = cvRound( _cascade->orig_window_size.height * scale ); in mycvSetImagesForHaarClassifierCascade()
696 equ_rect.width = cvRound((_cascade->orig_window_size.width-2)*scale); in mycvSetImagesForHaarClassifierCascade()
697 equ_rect.height = cvRound((_cascade->orig_window_size.height-2)*scale); in mycvSetImagesForHaarClassifierCascade()
720 for( i = 0; i < _cascade->count; i++ ) in mycvSetImagesForHaarClassifierCascade()
728 &_cascade->stage_classifier[i].classifier[j].haar_feature[l]; in mycvSetImagesForHaarClassifierCascade()
818 …const float orig_norm_size = (float)(_cascade->orig_window_size.width)*(_cascade->orig_window_size… in mycvSetImagesForHaarClassifierCascade()