Lines Matching refs:cur_rect
68 CvRect cur_rect = windowIn; in cvMeanShift() local
100 CV_CALL( cvGetSubRect( mat, &cur_win, cur_rect )); in cvMeanShift()
111 nx = cur_rect.x + dx; in cvMeanShift()
112 ny = cur_rect.y + dy; in cvMeanShift()
116 else if( nx + cur_rect.width > mat->cols ) in cvMeanShift()
117 nx = mat->cols - cur_rect.width; in cvMeanShift()
121 else if( ny + cur_rect.height > mat->rows ) in cvMeanShift()
122 ny = mat->rows - cur_rect.height; in cvMeanShift()
124 dx = nx - cur_rect.x; in cvMeanShift()
125 dy = ny - cur_rect.y; in cvMeanShift()
126 cur_rect.x = nx; in cvMeanShift()
127 cur_rect.y = ny; in cvMeanShift()
138 comp->rect = cur_rect; in cvMeanShift()