Home
last modified time | relevance | path

Searched refs:moduleBitCount (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/xfa/src/fxbarcode/pdf417/
DBC_PDF417CodewordDecoder.cpp49 CFX_Int32Array& moduleBitCount) { in getDecodedValue() argument
50 CFX_Int32Array* array = sampleBitCounts(moduleBitCount); in getDecodedValue()
56 return getClosestDecodedValue(moduleBitCount); in getDecodedValue()
59 CFX_Int32Array& moduleBitCount) { in sampleBitCounts() argument
61 (FX_FLOAT)CBC_PDF417Common::getBitCountSum(moduleBitCount); in sampleBitCounts()
70 if (sumPreviousBits + moduleBitCount.GetAt(bitCountIndex) <= sampleIndex) { in sampleBitCounts()
71 sumPreviousBits += moduleBitCount.GetAt(bitCountIndex); in sampleBitCounts()
79 CFX_Int32Array& moduleBitCount) { in getDecodedCodewordValue() argument
80 int32_t decodedValue = getBitValue(moduleBitCount); in getDecodedCodewordValue()
83 int32_t CBC_PDF417CodewordDecoder::getBitValue(CFX_Int32Array& moduleBitCount) { in getBitValue() argument
[all …]
DBC_PDF417CodewordDecoder.h18 static int32_t getDecodedValue(CFX_Int32Array& moduleBitCount);
22 static CFX_Int32Array* sampleBitCounts(CFX_Int32Array& moduleBitCount);
23 static int32_t getDecodedCodewordValue(CFX_Int32Array& moduleBitCount);
24 static int32_t getBitValue(CFX_Int32Array& moduleBitCount);
25 static int32_t getClosestDecodedValue(CFX_Int32Array& moduleBitCount);
DBC_PDF417ScanningDecoder.cpp567 CFX_Int32Array* moduleBitCount = getModuleBitCount( in detectCodeword() local
569 if (moduleBitCount == NULL) { in detectCodeword()
573 int32_t codewordBitCount = CBC_PDF417Common::getBitCountSum(*moduleBitCount); in detectCodeword()
577 for (int32_t i = 0; i<moduleBitCount->GetSize()>> 1; i++) { in detectCodeword()
578 int32_t tmpCount = moduleBitCount->GetAt(i); in detectCodeword()
579 moduleBitCount->SetAt( in detectCodeword()
580 i, moduleBitCount->GetAt(moduleBitCount->GetSize() - 1 - i)); in detectCodeword()
581 moduleBitCount->SetAt(moduleBitCount->GetSize() - 1 - i, tmpCount); in detectCodeword()
587 CBC_PDF417CodewordDecoder::getDecodedValue(*moduleBitCount); in detectCodeword()
589 delete moduleBitCount; in detectCodeword()
[all …]
DBC_PDF417Common.cpp620 int32_t CBC_PDF417Common::getBitCountSum(CFX_Int32Array& moduleBitCount) { in getBitCountSum() argument
622 for (int32_t i = 0; i < moduleBitCount.GetSize(); i++) { in getBitCountSum()
623 int32_t count = moduleBitCount.GetAt(i); in getBitCountSum()
DBC_PDF417Common.h13 static int32_t getBitCountSum(CFX_Int32Array& moduleBitCount);
DBC_PDF417ScanningDecoder.h117 static int32_t getCodewordBucketNumber(CFX_Int32Array& moduleBitCount);