Searched refs:toEncode (Results 1 – 3 of 3) sorted by relevance
63 bool CBC_ReedSolomonEncoder::Encode(std::vector<int32_t>* toEncode, in Encode() argument68 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()
24 bool Encode(std::vector<int32_t>* toEncode, size_t ecBytes);
236 std::vector<int32_t> toEncode(numDataBytes + numEcBytesInBlock); in GenerateECBytes() local238 toEncode[i] = dataBytes->At(i); in GenerateECBytes()241 if (!encode.Encode(&toEncode, numEcBytesInBlock)) in GenerateECBytes()245 ecBytes->Set(i, toEncode[numDataBytes + i]); in GenerateECBytes()