Home
last modified time | relevance | path

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

/external/pdfium/fxbarcode/datamatrix/
DBC_ErrorCorrection.cpp147 WideString CreateECCBlock(const WideString& codewords, size_t numECWords) { in CreateECCBlock() argument
148 DCHECK(numECWords > 0); in CreateECCBlock()
153 while (table < kFactorTableNum && FACTOR_SETS[table] != numECWords) in CreateECCBlock()
159 FixedZeroedDataVector<uint16_t> ecc(numECWords); in CreateECCBlock()
162 uint16_t m = ecc_span[numECWords - 1] ^ codewords[i]; in CreateECCBlock()
163 for (int32_t j = numECWords - 1; j > 0; --j) { in CreateECCBlock()
179 strecc.Reserve(numECWords); in CreateECCBlock()
180 for (size_t i = 0; i < numECWords; ++i) in CreateECCBlock()
181 strecc.InsertAtBack(static_cast<wchar_t>(ecc_span[numECWords - i - 1])); in CreateECCBlock()