Home
last modified time | relevance | path

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

/external/pdfium/fxbarcode/common/reedsolomon/
DBC_ReedSolomon.cpp63 bool CBC_ReedSolomonEncoder::Encode(std::vector<int32_t>* toEncode, in Encode() argument
68 if (toEncode->size() <= ecBytes) in Encode()
75 size_t dataBytes = toEncode->size() - ecBytes; in Encode()
78 infoCoefficients[x] = (*toEncode)[x]; in Encode()
96 (*toEncode)[dataBytes + i] = 0; in Encode()
98 (*toEncode)[dataBytes + numZeroCoefficients + y] = coefficients[y]; in Encode()
DBC_ReedSolomon.h24 bool Encode(std::vector<int32_t>* toEncode, size_t ecBytes);
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderEncoder.cpp236 std::vector<int32_t> toEncode(numDataBytes + numEcBytesInBlock); in GenerateECBytes() local
238 toEncode[i] = dataBytes->At(i); in GenerateECBytes()
241 if (!encode.Encode(&toEncode, numEcBytesInBlock)) in GenerateECBytes()
245 ecBytes->Set(i, toEncode[numDataBytes + i]); in GenerateECBytes()