Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRAlignmentPattern.cpp37 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()
DBC_QRFinderPattern.cpp53 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()
DBC_QRAlignmentPatternFinder.cpp34 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()
DBC_QRDetector.cpp53 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()
DBC_QRFinderPatternFinder.cpp221 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()
DBC_QRAlignmentPattern.h21 FX_BOOL AboutEquals(FX_FLOAT moduleSize, FX_FLOAT i, FX_FLOAT j);
DBC_QRFinderPattern.h25 FX_BOOL AboutEquals(FX_FLOAT moduleSize, FX_FLOAT i, FX_FLOAT j);
DBC_QRAlignmentPatternFinder.h28 FX_FLOAT moduleSize);
DBC_QRDetector.h54 FX_FLOAT moduleSize,