Lines Matching refs:pRect1
351 CvTrackingRect* pRect1 = (CvTrackingRect*)(reader.ptr);
357 if (abs(pRect1->ptCenter.y - pRect2->ptCenter.y) < d &&
358 abs(pRect1->r.height - pRect2->r.height) < d)
361 rNew.iColor = (pRect1->iColor + pRect2->iColor + 1) / 2;
362 rNew.r.x = min(pRect1->r.x, pRect2->r.x);
363 rNew.r.y = min(pRect1->r.y, pRect2->r.y);
364 rNew.r.width = max(pRect1->r.x + pRect1->r.width, pRect2->r.x + pRect2->r.width) - rNew.r.x;
365 rNew.r.height = min(pRect1->r.y + pRect1->r.height, pRect2->r.y + pRect2->r.height) - rNew.r.y;
366 if (rNew.r != pRect1->r && rNew.r != pRect2->r)
379 CvTrackingRect* pRect1 = (CvTrackingRect*)cvGetSeqElem(m_seqRects, i);
384 if (pRect1->r == pRect2->r)