Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRDetector.cpp188 int32_t fromY, in SizeOfBlackWhiteBlackRunBothWays() argument
191 FX_FLOAT result = SizeOfBlackWhiteBlackRun(fromX, fromY, toX, toY); in SizeOfBlackWhiteBlackRunBothWays()
198 int32_t otherToY = fromY - (toY - fromY); in SizeOfBlackWhiteBlackRunBothWays()
204 result += SizeOfBlackWhiteBlackRun(fromX, fromY, otherToX, otherToY); in SizeOfBlackWhiteBlackRunBothWays()
208 int32_t fromY, in SizeOfBlackWhiteBlackRun() argument
211 FX_BOOL steep = FXSYS_abs(toY - fromY) > FXSYS_abs(toX - fromX); in SizeOfBlackWhiteBlackRun()
214 fromX = fromY; in SizeOfBlackWhiteBlackRun()
215 fromY = temp; in SizeOfBlackWhiteBlackRun()
221 int32_t dy = FXSYS_abs(toY - fromY); in SizeOfBlackWhiteBlackRun()
223 int32_t ystep = fromY < toY ? 1 : -1; in SizeOfBlackWhiteBlackRun()
[all …]
DBC_QRDetector.h38 int32_t fromY,
42 int32_t fromY,
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DataMatrixDetector.cpp338 int32_t fromY = (int32_t)from->GetY(); in TransitionsBetween() local
341 FX_BOOL steep = FXSYS_abs(toY - fromY) > FXSYS_abs(toX - fromX); in TransitionsBetween()
344 fromX = fromY; in TransitionsBetween()
345 fromY = temp; in TransitionsBetween()
351 int32_t dy = FXSYS_abs(toY - fromY); in TransitionsBetween()
353 int32_t ystep = fromY < toY ? 1 : -1; in TransitionsBetween()
356 FX_BOOL inBlack = m_image->Get(steep ? fromY : fromX, steep ? fromX : fromY); in TransitionsBetween()
357 for (int32_t x = fromX, y = fromY; x != toX; x += xstep) { in TransitionsBetween()