Lines Matching refs:pixel_stat
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()
138 buf_size = pixel_count*params.N2c*sizeof(p_model->pixel_stat[0].ctable[0]); in cvCreateFGDStatModel()
139 CV_CALL( p_model->pixel_stat[0].ctable = (CvBGPixelCStatTable*)cvAlloc(buf_size) ); in cvCreateFGDStatModel()
140 memset( p_model->pixel_stat[0].ctable, 0, buf_size ); in cvCreateFGDStatModel()
142 buf_size = pixel_count*params.N2cc*sizeof(p_model->pixel_stat[0].cctable[0]); in cvCreateFGDStatModel()
143 CV_CALL( p_model->pixel_stat[0].cctable = (CvBGPixelCCStatTable*)cvAlloc(buf_size) ); in cvCreateFGDStatModel()
144 memset( p_model->pixel_stat[0].cctable, 0, buf_size ); in cvCreateFGDStatModel()
149 p_model->pixel_stat[k].ctable = p_model->pixel_stat[0].ctable + k*params.N2c; in cvCreateFGDStatModel()
150 p_model->pixel_stat[k].cctable = p_model->pixel_stat[0].cctable + k*params.N2cc; in cvCreateFGDStatModel()
193 if( model->pixel_stat ) in icvReleaseFGDStatModel()
195 cvFree( &model->pixel_stat[0].ctable ); in icvReleaseFGDStatModel()
196 cvFree( &model->pixel_stat[0].cctable ); in icvReleaseFGDStatModel()
197 cvFree( &model->pixel_stat ); in icvReleaseFGDStatModel()
364 CvBGPixelStat* stat = model->pixel_stat + i * model->Ftd->width + j; in icvUpdateFGDStatModel()
479 CvBGPixelStat* stat = model->pixel_stat + i * model->Ftd->width + j; in icvUpdateFGDStatModel()
490 CvBGPixelStat* stat = model->pixel_stat + i * model->Ftd->width + j; in icvUpdateFGDStatModel()