Lines Matching refs:max_rect
49 CvRect max_rect; in cvMaxRect() local
52 max_rect.x = a = rect1->x; in cvMaxRect()
54 if( max_rect.x > b ) in cvMaxRect()
55 max_rect.x = b; in cvMaxRect()
57 max_rect.width = a += rect1->width; in cvMaxRect()
60 if( max_rect.width < b ) in cvMaxRect()
61 max_rect.width = b; in cvMaxRect()
62 max_rect.width -= max_rect.x; in cvMaxRect()
64 max_rect.y = a = rect1->y; in cvMaxRect()
66 if( max_rect.y > b ) in cvMaxRect()
67 max_rect.y = b; in cvMaxRect()
69 max_rect.height = a += rect1->height; in cvMaxRect()
72 if( max_rect.height < b ) in cvMaxRect()
73 max_rect.height = b; in cvMaxRect()
74 max_rect.height -= max_rect.y; in cvMaxRect()
75 return max_rect; in cvMaxRect()