Searched refs:CBC_ReedSolomonGF256Poly (Results 1 – 6 of 6) sorted by relevance
33 CBC_ReedSolomonGF256Poly::CBC_ReedSolomonGF256Poly( in CBC_ReedSolomonGF256Poly() function in CBC_ReedSolomonGF256Poly58 CBC_ReedSolomonGF256Poly::~CBC_ReedSolomonGF256Poly() = default;60 const std::vector<int32_t>& CBC_ReedSolomonGF256Poly::GetCoefficients() const { in GetCoefficients()64 int32_t CBC_ReedSolomonGF256Poly::GetDegree() const { in GetDegree()68 bool CBC_ReedSolomonGF256Poly::IsZero() const { in IsZero()72 int32_t CBC_ReedSolomonGF256Poly::GetCoefficients(int32_t degree) const { in GetCoefficients()76 std::unique_ptr<CBC_ReedSolomonGF256Poly> CBC_ReedSolomonGF256Poly::Clone() in Clone()78 return pdfium::MakeUnique<CBC_ReedSolomonGF256Poly>(m_field.Get(), in Clone()82 std::unique_ptr<CBC_ReedSolomonGF256Poly>83 CBC_ReedSolomonGF256Poly::AddOrSubtract(const CBC_ReedSolomonGF256Poly* other) { in AddOrSubtract()[all …]
17 class CBC_ReedSolomonGF256Poly final {19 CBC_ReedSolomonGF256Poly(CBC_ReedSolomonGF256* field,21 ~CBC_ReedSolomonGF256Poly();27 std::unique_ptr<CBC_ReedSolomonGF256Poly> AddOrSubtract(28 const CBC_ReedSolomonGF256Poly* other);29 std::unique_ptr<CBC_ReedSolomonGF256Poly> Multiply(30 const CBC_ReedSolomonGF256Poly* other);31 std::unique_ptr<CBC_ReedSolomonGF256Poly> MultiplyByMonomial(34 std::unique_ptr<CBC_ReedSolomonGF256Poly> Divide(35 const CBC_ReedSolomonGF256Poly* other);[all …]
14 class CBC_ReedSolomonGF256Poly; variable21 CBC_ReedSolomonGF256Poly* GetZero() const { return m_zero.get(); } in GetZero()22 CBC_ReedSolomonGF256Poly* GetOne() const { return m_one.get(); } in GetOne()24 std::unique_ptr<CBC_ReedSolomonGF256Poly> BuildMonomial(int32_t degree,33 std::unique_ptr<CBC_ReedSolomonGF256Poly> m_zero;34 std::unique_ptr<CBC_ReedSolomonGF256Poly> m_one;
34 m_cachedGenerators.push_back(pdfium::MakeUnique<CBC_ReedSolomonGF256Poly>( in CBC_ReedSolomonEncoder()40 CBC_ReedSolomonGF256Poly* CBC_ReedSolomonEncoder::BuildGenerator( in BuildGenerator()43 CBC_ReedSolomonGF256Poly* lastGenerator = m_cachedGenerators.back().get(); in BuildGenerator()45 CBC_ReedSolomonGF256Poly temp_poly(m_field.Get(), in BuildGenerator()66 CBC_ReedSolomonGF256Poly* generator = BuildGenerator(ecBytes); in Encode()75 CBC_ReedSolomonGF256Poly info(m_field.Get(), infoCoefficients); in Encode()
46 m_zero = pdfium::MakeUnique<CBC_ReedSolomonGF256Poly>( in Init()48 m_one = pdfium::MakeUnique<CBC_ReedSolomonGF256Poly>(this, in Init()54 std::unique_ptr<CBC_ReedSolomonGF256Poly> CBC_ReedSolomonGF256::BuildMonomial( in BuildMonomial()65 return pdfium::MakeUnique<CBC_ReedSolomonGF256Poly>(this, coefficients); in BuildMonomial()
16 class CBC_ReedSolomonGF256Poly; variable26 CBC_ReedSolomonGF256Poly* BuildGenerator(size_t degree);29 std::vector<std::unique_ptr<CBC_ReedSolomonGF256Poly>> m_cachedGenerators;