Home | History | Annotate | Download | only in src

Lines Matching refs:pixel_stat

134     buf_size = pixel_count*sizeof(p_model->pixel_stat[0]);
135 CV_CALL( p_model->pixel_stat = (CvBGPixelStat*)cvAlloc(buf_size) );
136 memset( p_model->pixel_stat, 0, buf_size );
138 buf_size = pixel_count*params.N2c*sizeof(p_model->pixel_stat[0].ctable[0]);
139 CV_CALL( p_model->pixel_stat[0].ctable = (CvBGPixelCStatTable*)cvAlloc(buf_size) );
140 memset( p_model->pixel_stat[0].ctable, 0, buf_size );
142 buf_size = pixel_count*params.N2cc*sizeof(p_model->pixel_stat[0].cctable[0]);
143 CV_CALL( p_model->pixel_stat[0].cctable = (CvBGPixelCCStatTable*)cvAlloc(buf_size) );
144 memset( p_model->pixel_stat[0].cctable, 0, buf_size );
149 p_model->pixel_stat[k].ctable = p_model->pixel_stat[0].ctable + k*params.N2c;
150 p_model->pixel_stat[k].cctable = p_model->pixel_stat[0].cctable + k*params.N2cc;
193 if( model->pixel_stat )
195 cvFree( &model->pixel_stat[0].ctable );
196 cvFree( &model->pixel_stat[0].cctable );
197 cvFree( &model->pixel_stat );
364 CvBGPixelStat* stat = model->pixel_stat + i * model->Ftd->width + j;
479 CvBGPixelStat* stat = model->pixel_stat + i * model->Ftd->width + j;
490 CvBGPixelStat* stat = model->pixel_stat + i * model->Ftd->width + j;