Searched refs:max_rect (Results 1 – 2 of 2) sorted by relevance
49 CvRect max_rect; in cvMaxRect() local52 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()[all …]
114 static void icvMaxRoi( _CvRect16u *max_rect, _CvRect16u* cur_rect );115 static void icvMaxRoi1( _CvRect16u *max_rect, int x, int y );1762 icvMaxRoi( _CvRect16u * max_rect, _CvRect16u * cur_rect ) in icvMaxRoi() argument1764 if( max_rect->x2 == 0 ) in icvMaxRoi()1765 *max_rect = *cur_rect; in icvMaxRoi()1768 if( max_rect->x1 > cur_rect->x1 ) in icvMaxRoi()1769 max_rect->x1 = cur_rect->x1; in icvMaxRoi()1770 if( max_rect->y1 > cur_rect->y1 ) in icvMaxRoi()1771 max_rect->y1 = cur_rect->y1; in icvMaxRoi()1773 if( max_rect->x2 < cur_rect->x2 ) in icvMaxRoi()[all …]