Home | History | Annotate | Download | only in src

Lines Matching defs:r2

122     const CvRect* r2 = (const CvRect*)_r2;
125 return r2->x <= r1->x + distance &&
126 r2->x >= r1->x - distance &&
127 r2->y <= r1->y + distance &&
128 r2->y >= r1->y - distance &&
129 r2->width <= cvRound( r1->width * 1.2 ) &&
130 cvRound( r2->width * 1.2 ) >= r1->width;
1510 CvAvgComp r2 = *(CvAvgComp*)cvGetSeqElem( seq2, j );
1511 int distance = cvRound( r2.rect.width * 0.2 );
1514 r1.rect.x >= r2.rect.x - distance &&
1515 r1.rect.y >= r2.rect.y - distance &&
1516 r1.rect.x + r1.rect.width <= r2.rect.x + r2.rect.width + distance &&
1517 r1.rect.y + r1.rect.height <= r2.rect.y + r2.rect.height + distance &&
1518 (r2.neighbors > MAX( 3, r1.neighbors ) || r1.neighbors < 3) )