Lines Matching refs:blocksize

61     CvSize dftsize, blocksize;  in icvCrossCorr()  local
112 blocksize.width = cvRound(templ->cols*block_scale); in icvCrossCorr()
113 blocksize.width = MAX( blocksize.width, min_block_size - templ->cols + 1 ); in icvCrossCorr()
114 blocksize.width = MIN( blocksize.width, corr->cols ); in icvCrossCorr()
115 blocksize.height = cvRound(templ->rows*block_scale); in icvCrossCorr()
116 blocksize.height = MAX( blocksize.height, min_block_size - templ->rows + 1 ); in icvCrossCorr()
117 blocksize.height = MIN( blocksize.height, corr->rows ); in icvCrossCorr()
119 dftsize.width = cvGetOptimalDFTSize(blocksize.width + templ->cols - 1); in icvCrossCorr()
122 dftsize.height = cvGetOptimalDFTSize(blocksize.height + templ->rows - 1); in icvCrossCorr()
127 blocksize.width = dftsize.width - templ->cols + 1; in icvCrossCorr()
128 blocksize.width = MIN( blocksize.width, corr->cols ); in icvCrossCorr()
129 blocksize.height = dftsize.height - templ->rows + 1; in icvCrossCorr()
130 blocksize.height = MIN( blocksize.height, corr->rows ); in icvCrossCorr()
143 buf_size = MAX( buf_size, (blocksize.width + templ->cols - 1)* in icvCrossCorr()
144 (blocksize.height + templ->rows - 1)*CV_ELEM_SIZE(depth)); in icvCrossCorr()
147 buf_size = MAX( buf_size, blocksize.width*blocksize.height*CV_ELEM_SIZE(corr_depth)); in icvCrossCorr()
187 tile_count_x = (corr->cols + blocksize.width - 1)/blocksize.width; in icvCrossCorr()
188 tile_count_y = (corr->rows + blocksize.height - 1)/blocksize.height; in icvCrossCorr()
199 int x = (k%tile_count_x)*blocksize.width; in icvCrossCorr()
200 int y = (k/tile_count_x)*blocksize.height; in icvCrossCorr()
206 CvSize csz = { blocksize.width, blocksize.height }, isz; in icvCrossCorr()