Searched refs:p_model (Results 1 – 1 of 1) sorted by relevance
81 CvFGDStatModel* p_model = 0; in cvCreateFGDStatModel() local124 CV_CALL( p_model = (CvFGDStatModel*)cvAlloc( sizeof(*p_model) )); in cvCreateFGDStatModel()125 memset( p_model, 0, sizeof(*p_model) ); in cvCreateFGDStatModel()126 p_model->type = CV_BG_MODEL_FGD; in cvCreateFGDStatModel()127 p_model->release = (CvReleaseBGStatModel)icvReleaseFGDStatModel; in cvCreateFGDStatModel()128 p_model->update = (CvUpdateBGStatModel)icvUpdateFGDStatModel;; in cvCreateFGDStatModel()129 p_model->params = params; in cvCreateFGDStatModel()134 buf_size = pixel_count*sizeof(p_model->pixel_stat[0]); in cvCreateFGDStatModel()135 CV_CALL( p_model->pixel_stat = (CvBGPixelStat*)cvAlloc(buf_size) ); in cvCreateFGDStatModel()136 memset( p_model->pixel_stat, 0, buf_size ); in cvCreateFGDStatModel()[all …]