Searched refs:moduleSize (Results 1 – 9 of 9) sorted by relevance
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
D | BC_QRAlignmentPattern.cpp | 37 FX_BOOL CBC_QRAlignmentPattern::AboutEquals(FX_FLOAT moduleSize, in AboutEquals() argument 40 if ((FXSYS_fabs(i - GetY()) <= moduleSize) && in AboutEquals() 41 (FXSYS_fabs(j - GetX()) <= moduleSize)) { in AboutEquals() 42 FX_FLOAT moduleSizeDiff = FXSYS_fabs(moduleSize - m_moduleSize); in AboutEquals()
|
D | BC_QRFinderPattern.cpp | 53 FX_BOOL CBC_QRFinderPattern::AboutEquals(FX_FLOAT moduleSize, in AboutEquals() argument 56 if ((fabs(i - GetY()) <= moduleSize) && (fabs(j - GetX()) <= moduleSize)) { in AboutEquals() 57 FX_FLOAT moduleSizeDiff = fabs(moduleSize - m_estimatedModuleSize); in AboutEquals()
|
D | BC_QRAlignmentPatternFinder.cpp | 34 FX_FLOAT moduleSize) in CBC_QRAlignmentPatternFinder() argument 40 m_moduleSize(moduleSize) in CBC_QRAlignmentPatternFinder() 120 FX_FLOAT moduleSize = m_moduleSize; in FoundPatternCross() local 121 FX_FLOAT maxVariance = moduleSize / 2.0f; in FoundPatternCross() 123 if (fabs(moduleSize - stateCount[i]) >= maxVariance) { in FoundPatternCross()
|
D | BC_QRDetector.cpp | 53 FX_FLOAT moduleSize = in ProcessFinderPatternInfo() local 55 if (moduleSize < 1.0f) { in ProcessFinderPatternInfo() 60 bottomLeft.get(), moduleSize, e); in ProcessFinderPatternInfo() 83 moduleSize, estAlignmentX, estAlignmentY, (FX_FLOAT)i, e); in ProcessFinderPatternInfo() 139 FX_FLOAT moduleSize, in ComputeDimension() argument 142 CBC_QRFinderPatternFinder::Distance(topLeft, topRight) / moduleSize); in ComputeDimension() 144 CBC_QRFinderPatternFinder::Distance(topLeft, bottomLeft) / moduleSize); in ComputeDimension()
|
D | BC_QRFinderPatternFinder.cpp | 221 int32_t moduleSize = (totalModuleSize << INTEGER_MATH_SHIFT) / 7; in FoundPatternCross() local 222 int32_t maxVariance = moduleSize / 2; in FoundPatternCross() 223 return FXSYS_abs(moduleSize - (stateCount[0] << INTEGER_MATH_SHIFT)) < in FoundPatternCross() 225 FXSYS_abs(moduleSize - (stateCount[1] << INTEGER_MATH_SHIFT)) < in FoundPatternCross() 227 FXSYS_abs(3 * moduleSize - (stateCount[2] << INTEGER_MATH_SHIFT)) < in FoundPatternCross() 229 FXSYS_abs(moduleSize - (stateCount[3] << INTEGER_MATH_SHIFT)) < in FoundPatternCross() 231 FXSYS_abs(moduleSize - (stateCount[4] << INTEGER_MATH_SHIFT)) < in FoundPatternCross()
|
D | BC_QRAlignmentPattern.h | 21 FX_BOOL AboutEquals(FX_FLOAT moduleSize, FX_FLOAT i, FX_FLOAT j);
|
D | BC_QRFinderPattern.h | 25 FX_BOOL AboutEquals(FX_FLOAT moduleSize, FX_FLOAT i, FX_FLOAT j);
|
D | BC_QRAlignmentPatternFinder.h | 28 FX_FLOAT moduleSize);
|
D | BC_QRDetector.h | 54 FX_FLOAT moduleSize,
|