Lines Matching refs:winsize
581 CvSize winsize; member
836 CvBackgroundData* icvCreateBackgroundData( const char* filename, CvSize winsize ) in icvCreateBackgroundData() argument
899 data->winsize = winsize; in icvCreateBackgroundData()
1009 data->round = data->round % (data->winsize.width * data->winsize.height); in icvGetNextFromBackgroundData()
1011 offset.x = round % data->winsize.width; in icvGetNextFromBackgroundData()
1012 offset.y = round / data->winsize.width; in icvGetNextFromBackgroundData()
1014 offset.x = MIN( offset.x, img->width - data->winsize.width ); in icvGetNextFromBackgroundData()
1015 offset.y = MIN( offset.y, img->height - data->winsize.height ); in icvGetNextFromBackgroundData()
1049 ((float) data->winsize.width + reader->point.x) / ((float) reader->src.cols), in icvGetNextFromBackgroundData()
1050 ((float) data->winsize.height + reader->point.y) / ((float) reader->src.rows) ); in icvGetNextFromBackgroundData()
1085 assert( img->cols == data->winsize.width ); in icvGetBackgroundImage()
1086 assert( img->rows == data->winsize.height ); in icvGetBackgroundImage()
1093 mat = cvMat( data->winsize.height, data->winsize.width, CV_8UC1 ); in icvGetBackgroundImage()
1098 if( (int) ( reader->point.x + (1.0F + reader->stepfactor ) * data->winsize.width ) in icvGetBackgroundImage()
1101 reader->point.x += (int) (reader->stepfactor * data->winsize.width); in icvGetBackgroundImage()
1106 if( (int) ( reader->point.y + (1.0F + reader->stepfactor ) * data->winsize.height ) in icvGetBackgroundImage()
1109 reader->point.y += (int) (reader->stepfactor * data->winsize.height); in icvGetBackgroundImage()
1142 static int icvInitBackgroundReaders( const char* filename, CvSize winsize ) in icvInitBackgroundReaders() argument
1146 cvbgdata = icvCreateBackgroundData( filename, winsize ); in icvInitBackgroundReaders()