Definition at line 22 of file qrsequence_test.cc.
◆ TestableQRSequenceGenerator()
tesseract::TestableQRSequenceGenerator::TestableQRSequenceGenerator |
( |
const int & |
N | ) |
|
|
inlineexplicit |
◆ GetBinaryReversedInteger()
int QRSequenceGenerator::GetBinaryReversedInteger |
( |
int |
in_val | ) |
const |
|
inline |
Definition at line 60 of file qrsequence.h.
60 {
62 int out_val = 0;
63 while (bit_pos--) {
64
65 out_val |= (in_val & 0x1);
66 if (bit_pos > 0) {
67
68 out_val <<= 1;
69 }
70
71 in_val >>= 1;
72 }
73 return out_val;
74 }
The documentation for this class was generated from the following file: