Searched refs:numECWords (Results 1 – 1 of 1) sorted by relevance
143 WideString CreateECCBlock(const WideString& codewords, size_t numECWords) { in CreateECCBlock() argument144 ASSERT(numECWords > 0); in CreateECCBlock()149 while (table < kFactorTableNum && FACTOR_SETS[table] != numECWords) in CreateECCBlock()155 std::vector<uint16_t> ecc(numECWords); in CreateECCBlock()157 uint16_t m = ecc[numECWords - 1] ^ codewords[i]; in CreateECCBlock()158 for (int32_t j = numECWords - 1; j > 0; --j) { in CreateECCBlock()174 strecc.Reserve(numECWords); in CreateECCBlock()175 for (size_t i = 0; i < numECWords; ++i) in CreateECCBlock()176 strecc.InsertAtBack(static_cast<wchar_t>(ecc[numECWords - i - 1])); in CreateECCBlock()