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