Home | History | Annotate | Download | only in src

Lines Matching refs:comp1

299         void merge( ConnectedComp* comp1, ConnectedComp* comp2,
302 comp1->growHistory( hptr, wp, -1, false );
305 if( comp1->size < comp2->size )
306 std::swap(comp1, comp2);
310 gray_level = comp1->gray_level;
311 head = comp1->head;
312 tail = comp1->tail;
313 size = comp1->size;
314 history = comp1->history;
318 CompHistory* h1 = comp1->history;
321 gray_level = std::max(comp1->gray_level, comp2->gray_level);
322 history = comp1->history;
323 wp.pix0[comp1->tail].setNext(comp2->head);
325 head = comp1->head;
327 size = comp1->size + comp2->size;