Home
last modified time | relevance | path

Searched refs:NEXT_MASK (Results 1 – 1 of 1) sorted by relevance

/external/opencv3/modules/features2d/src/
Dmser.cpp102 enum { DIR_SHIFT = 29, NEXT_MASK = ((1<<DIR_SHIFT)-1) }; enumerator
113 int getNext() const { return (val & NEXT_MASK); } in getNext()
114 void setNext(int next) { val = (val & ~NEXT_MASK) | next; } in setNext()
117 void setDir(int dir) { val = (val & NEXT_MASK) | (dir << DIR_SHIFT); } in setDir()
118 bool isVisited() const { return (val & ~NEXT_MASK) != 0; } in isVisited()