Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417Detector.cpp53 CBC_CommonBitMatrix* bitMatrix = image->GetBlackMatrix(e); in detect() local
55 CFX_PtrArray* barcodeCoordinates = detect(multiple, bitMatrix); in detect()
57 rotate180(bitMatrix); in detect()
58 barcodeCoordinates = detect(multiple, bitMatrix); in detect()
65 new CBC_PDF417DetectorResult(bitMatrix, barcodeCoordinates); in detect()
68 void CBC_Detector::rotate180(CBC_CommonBitMatrix* bitMatrix) { in rotate180() argument
69 int32_t width = bitMatrix->GetWidth(); in rotate180()
70 int32_t height = bitMatrix->GetHeight(); in rotate180()
76 bitMatrix->GetRow(height - 1 - y, secondRowBitArray); in rotate180()
78 firstRowBitArray = bitMatrix->GetRow(y, tempfirstRow); in rotate180()
[all …]
DBC_PDF417Detector.h21 static void rotate180(CBC_CommonBitMatrix* bitMatrix);
39 static CFX_PtrArray* detect(FX_BOOL multiple, CBC_CommonBitMatrix* bitMatrix);
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DataMatrixBitMatrixParser.cpp32 void CBC_DataMatrixBitMatrixParser::Init(CBC_CommonBitMatrix* bitMatrix, in Init() argument
34 int32_t dimension = bitMatrix->GetHeight(); in Init()
39 m_version = ReadVersion(bitMatrix, e); in Init()
41 m_mappingBitMatrix = ExtractDataRegion(bitMatrix, e); in Init()
61 CBC_CommonBitMatrix* bitMatrix, in ReadVersion() argument
63 int32_t rows = bitMatrix->GetHeight(); in ReadVersion()
64 int32_t columns = bitMatrix->GetWidth(); in ReadVersion()
339 CBC_CommonBitMatrix* bitMatrix, in ExtractDataRegion() argument
343 if (bitMatrix->GetHeight() != symbolSizeRows) { in ExtractDataRegion()
371 if (bitMatrix->Get(readColumnOffset, readRowOffset)) { in ExtractDataRegion()
DBC_DataMatrixBitMatrixParser.h29 CBC_CommonBitMatrix* ExtractDataRegion(CBC_CommonBitMatrix* bitMatrix,
31 virtual void Init(CBC_CommonBitMatrix* bitMatrix, int32_t& e);
34 static CBC_DataMatrixVersion* ReadVersion(CBC_CommonBitMatrix* bitMatrix,
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRCoderVersion.cpp393 CBC_CommonBitMatrix* bitMatrix = new CBC_CommonBitMatrix(); in BuildFunctionPattern() local
394 bitMatrix->Init(dimension); in BuildFunctionPattern()
395 bitMatrix->SetRegion(0, 0, 9, 9, e); in BuildFunctionPattern()
397 bitMatrix->SetRegion(dimension - 8, 0, 8, 9, e); in BuildFunctionPattern()
399 bitMatrix->SetRegion(0, dimension - 8, 9, 8, e); in BuildFunctionPattern()
408 bitMatrix->SetRegion(m_alignmentPatternCenters[y] - 2, i, 5, 5, e); in BuildFunctionPattern()
412 bitMatrix->SetRegion(6, 9, 1, dimension - 17, e); in BuildFunctionPattern()
414 bitMatrix->SetRegion(9, 6, dimension - 17, 1, e); in BuildFunctionPattern()
417 bitMatrix->SetRegion(dimension - 11, 0, 3, 6, e); in BuildFunctionPattern()
419 bitMatrix->SetRegion(0, dimension - 11, 6, 3, e); in BuildFunctionPattern()
[all …]
DBC_QRBitMatrixParser.cpp30 void CBC_QRBitMatrixParser::Init(CBC_CommonBitMatrix* bitMatrix, int32_t& e) { in Init() argument
31 m_dimension = bitMatrix->GetDimension(e); in Init()
33 m_tempBitMatrix = bitMatrix; in Init()
DBC_QRBitMatrixParser.h28 virtual void Init(CBC_CommonBitMatrix* bitMatrix, int32_t& e);