Home
last modified time | relevance | path

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

/external/pdfium/fxbarcode/common/reedsolomon/
DBC_ReedSolomon.cpp64 size_t ecBytes) { in Encode() argument
65 if (ecBytes == 0) in Encode()
68 if (toEncode->size() <= ecBytes) in Encode()
71 CBC_ReedSolomonGF256Poly* generator = BuildGenerator(ecBytes); in Encode()
75 size_t dataBytes = toEncode->size() - ecBytes; in Encode()
84 auto infoTemp = info.MultiplyByMonomial(ecBytes, 1); in Encode()
94 ecBytes > coefficients.size() ? ecBytes - coefficients.size() : 0; in Encode()
DBC_ReedSolomon.h24 bool Encode(std::vector<int32_t>* toEncode, size_t ecBytes);
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderEncoder.cpp243 auto ecBytes = pdfium::MakeUnique<CBC_CommonByteArray>(numEcBytesInBlock); in GenerateECBytes() local
245 ecBytes->Set(i, toEncode[numDataBytes + i]); in GenerateECBytes()
246 return ecBytes; in GenerateECBytes()
531 std::unique_ptr<CBC_CommonByteArray> ecBytes = in InterleaveWithECBytes() local
533 if (!ecBytes) in InterleaveWithECBytes()
537 maxNumEcBytes = std::max(maxNumEcBytes, ecBytes->Size()); in InterleaveWithECBytes()
538 blocks[i].SetData(std::move(dataBytes), std::move(ecBytes)); in InterleaveWithECBytes()
553 const CBC_CommonByteArray* ecBytes = blocks[l].GetErrorCorrectionBytes(); in InterleaveWithECBytes() local
554 if (y < ecBytes->Size()) in InterleaveWithECBytes()
555 result->AppendBits(ecBytes->At(y), 8); in InterleaveWithECBytes()