Searched refs:ecBytes (Results 1 – 3 of 3) sorted by relevance
64 size_t ecBytes) { in Encode() argument65 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()
24 bool Encode(std::vector<int32_t>* toEncode, size_t ecBytes);
243 auto ecBytes = pdfium::MakeUnique<CBC_CommonByteArray>(numEcBytesInBlock); in GenerateECBytes() local245 ecBytes->Set(i, toEncode[numDataBytes + i]); in GenerateECBytes()246 return ecBytes; in GenerateECBytes()531 std::unique_ptr<CBC_CommonByteArray> ecBytes = in InterleaveWithECBytes() local533 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() local554 if (y < ecBytes->Size()) in InterleaveWithECBytes()555 result->AppendBits(ecBytes->At(y), 8); in InterleaveWithECBytes()