Home | History | Annotate | Download | only in src

Lines Matching defs:m_seqRects

193     CvSeq* m_seqRects;
199 m_seqRects = NULL;
214 if (NULL == m_seqRects)
215 m_seqRects = cvCreateSeq(0, sizeof(CvSeq), sizeof(CvTrackingRect), m_mstgRects);
217 cvClearSeq(m_seqRects);
218 if (NULL == m_seqRects)
237 if (0 == m_seqRects->total)
240 cvSeqSort(m_seqRects, CompareEnergy, NULL);
241 CvTrackingRect* pR = (CvTrackingRect*)cvGetSeqElem(m_seqRects, 0);
242 if (m_seqRects->total < 32)
246 cvSeqSort(m_seqRects, CompareEnergy, NULL);
248 pR = (CvTrackingRect*)cvGetSeqElem(m_seqRects, 0);
249 if ((pR->iEnergy > 100 && m_seqRects->total < 32) || (m_seqRects->total < 16))
253 cvSeqSort(m_seqRects, CompareEnergy, NULL);
255 pR = (CvTrackingRect*)cvGetSeqElem(m_seqRects, 0);
256 if ((pR->iEnergy > 100 && m_seqRects->total < 16) || (pR->iEnergy > 200 && m_seqRects->total < 32))
260 cvSeqSort(m_seqRects, CompareEnergy, NULL);
322 cvSeqPush(m_seqRects, &cr);
332 cvSeqPush(m_seqRects, &cr);
345 int nRects = m_seqRects->total;
347 cvStartReadSeq( m_seqRects, &reader );
352 cvStartReadSeq( m_seqRects, &reader2 );
369 cvSeqPush(m_seqRects, &rNew);
377 for (i = 0; i < m_seqRects->total; i++)
379 CvTrackingRect* pRect1 = (CvTrackingRect*)cvGetSeqElem(m_seqRects, i);
381 for (j = j_begin; j < m_seqRects->total;)
383 CvTrackingRect* pRect2 = (CvTrackingRect*)cvGetSeqElem(m_seqRects, j);
385 cvSeqRemove(m_seqRects, j);
396 cvStartReadSeq( m_seqRects, &reader );
397 for (int i = 0; i < m_seqRects->total; i++)
401 cvStartReadSeq( m_seqRects, &reader2 );
402 for (int j = 0; j < m_seqRects->total; j++)
530 if (big_face[el].m_seqRects->total > 16 || (big_face[el].m_seqRects->total > 8 && new_face[el].iEnergy < 100))
670 cvStartReadSeq( big_face[MOUTH].m_seqRects, &reader_m );
671 for (int i_mouth = 0; i_mouth < big_face[MOUTH].m_seqRects->total && i_mouth < nElements; i_mouth++)
674 cvStartReadSeq( big_face[LEYE].m_seqRects, &reader_l );
675 for (int i_left = 0; i_left < big_face[LEYE].m_seqRects->total && i_left < nElements; i_left++)
680 cvStartReadSeq( big_face[REYE].m_seqRects, &reader_r );
681 for (int i_right = 0; i_right < big_face[REYE].m_seqRects->total && i_right < nElements; i_right++)
729 cvStartReadSeq( big_face[element[0]].m_seqRects, &reader0 );
730 for (int i0 = 0; i0 < big_face[element[0]].m_seqRects->total && i0 < nElements; i0++)
733 cvStartReadSeq( big_face[element[1]].m_seqRects, &reader1 );
734 for (int i1 = 0; i1 < big_face[element[1]].m_seqRects->total && i1 < nElements; i1++)