Home
last modified time | relevance | path

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

/dports/graphics/tesseract/tesseract-5.0.0/src/classify/
H A Dintproto.h54 #define CLASSES_PER_CP 32 macro
57 #define CLASSES_PER_CP_WERD (CLASSES_PER_CP / NUM_BITS_PER_CLASS)
59 #define BITS_PER_CP_VECTOR (CLASSES_PER_CP * NUM_BITS_PER_CLASS)
60 #define MAX_NUM_CLASS_PRUNERS ((MAX_NUM_CLASSES + CLASSES_PER_CP - 1) / CLASSES_PER_CP)
153 #define MaxNumClassesIn(T) (T->NumClassPruners * CLASSES_PER_CP)
158 #define CPrunerIdFor(c) ((c) / CLASSES_PER_CP)
160 #define CPrunerWordIndexFor(c) (((c) % CLASSES_PER_CP) / CLASSES_PER_CP_WERD)
161 #define CPrunerBitIndexFor(c) (((c) % CLASSES_PER_CP) % CLASSES_PER_CP_WERD)