Home
last modified time | relevance | path

Searched refs:CBC_ReedSolomonGF256Poly (Results 1 – 6 of 6) sorted by relevance

/external/pdfium/fxbarcode/common/reedsolomon/
DBC_ReedSolomonGF256Poly.cpp33 CBC_ReedSolomonGF256Poly::CBC_ReedSolomonGF256Poly( in CBC_ReedSolomonGF256Poly() function in CBC_ReedSolomonGF256Poly
58 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 …]
DBC_ReedSolomonGF256Poly.h17 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 …]
DBC_ReedSolomonGF256.h14 class CBC_ReedSolomonGF256Poly; variable
21 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;
DBC_ReedSolomon.cpp34 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()
DBC_ReedSolomonGF256.cpp46 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()
DBC_ReedSolomon.h16 class CBC_ReedSolomonGF256Poly; variable
26 CBC_ReedSolomonGF256Poly* BuildGenerator(size_t degree);
29 std::vector<std::unique_ptr<CBC_ReedSolomonGF256Poly>> m_cachedGenerators;