Home
last modified time | relevance | path

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

/external/pdfium/xfa/src/fxbarcode/common/reedsolomon/
DBC_ReedSolomonGF256Poly.cpp26 CBC_ReedSolomonGF256Poly::CBC_ReedSolomonGF256Poly(CBC_ReedSolomonGF256* field, in CBC_ReedSolomonGF256Poly() function in CBC_ReedSolomonGF256Poly
34 CBC_ReedSolomonGF256Poly::CBC_ReedSolomonGF256Poly() { in CBC_ReedSolomonGF256Poly() function in CBC_ReedSolomonGF256Poly
37 void CBC_ReedSolomonGF256Poly::Init(CBC_ReedSolomonGF256* field, in Init()
64 CFX_Int32Array* CBC_ReedSolomonGF256Poly::GetCoefficients() { in GetCoefficients()
67 int32_t CBC_ReedSolomonGF256Poly::GetDegree() { in GetDegree()
70 FX_BOOL CBC_ReedSolomonGF256Poly::IsZero() { in IsZero()
73 int32_t CBC_ReedSolomonGF256Poly::GetCoefficients(int32_t degree) { in GetCoefficients()
76 int32_t CBC_ReedSolomonGF256Poly::EvaluateAt(int32_t a) { in EvaluateAt()
95 CBC_ReedSolomonGF256Poly* CBC_ReedSolomonGF256Poly::Clone(int32_t& e) { in Clone()
96 CBC_ReedSolomonGF256Poly* temp = new CBC_ReedSolomonGF256Poly(); in Clone()
[all …]
DBC_ReedSolomonDecoder.cpp34 CBC_ReedSolomonGF256Poly poly; in Decode()
51 CBC_ReedSolomonGF256Poly syndrome; in Decode()
54 CBC_ReedSolomonGF256Poly* rsg = m_field->BuildMonomial(twoS, 1, e); in Decode()
56 CBC_AutoPtr<CBC_ReedSolomonGF256Poly> temp(rsg); in Decode()
60 CBC_AutoPtr<CBC_ReedSolomonGF256Poly> sigma( in Decode()
61 (CBC_ReedSolomonGF256Poly*)(*sigmaOmega)[0]); in Decode()
62 CBC_AutoPtr<CBC_ReedSolomonGF256Poly> omega( in Decode()
63 (CBC_ReedSolomonGF256Poly*)(*sigmaOmega)[1]); in Decode()
84 CBC_ReedSolomonGF256Poly* a, in RunEuclideanAlgorithm()
85 CBC_ReedSolomonGF256Poly* b, in RunEuclideanAlgorithm()
[all …]
DBC_ReedSolomonGF256Poly.h10 class CBC_ReedSolomonGF256Poly {
12 CBC_ReedSolomonGF256Poly(CBC_ReedSolomonGF256* field, int32_t coefficients);
13 CBC_ReedSolomonGF256Poly();
14 virtual ~CBC_ReedSolomonGF256Poly();
20 CBC_ReedSolomonGF256Poly* AddOrSubtract(CBC_ReedSolomonGF256Poly* other,
22 CBC_ReedSolomonGF256Poly* Multiply(CBC_ReedSolomonGF256Poly* other,
24 CBC_ReedSolomonGF256Poly* Multiply(int32_t scalar, int32_t& e);
25 CBC_ReedSolomonGF256Poly* MultiplyByMonomial(int32_t degree,
28 CFX_PtrArray* Divide(CBC_ReedSolomonGF256Poly* other, int32_t& e);
29 CBC_ReedSolomonGF256Poly* Clone(int32_t& e);
DBC_ReedSolomon.cpp31 m_cachedGenerators.Add(new CBC_ReedSolomonGF256Poly(m_field, 1)); in Init()
33 CBC_ReedSolomonGF256Poly* CBC_ReedSolomonEncoder::BuildGenerator(int32_t degree, in BuildGenerator()
36 CBC_ReedSolomonGF256Poly* lastGenerator = in BuildGenerator()
37 (CBC_ReedSolomonGF256Poly*)(m_cachedGenerators in BuildGenerator()
43 CBC_ReedSolomonGF256Poly temp_poly; in BuildGenerator()
46 CBC_ReedSolomonGF256Poly* nextGenerator = in BuildGenerator()
53 return (CBC_ReedSolomonGF256Poly*)(m_cachedGenerators[degree]); in BuildGenerator()
67 CBC_ReedSolomonGF256Poly* generator = BuildGenerator(ecBytes, e); in Encode()
74 CBC_ReedSolomonGF256Poly info; in Encode()
77 CBC_ReedSolomonGF256Poly* rsg = info.MultiplyByMonomial(ecBytes, 1, e); in Encode()
[all …]
DBC_ReedSolomonGF256.h9 class CBC_ReedSolomonGF256Poly; variable
18 CBC_ReedSolomonGF256Poly* GetZero();
19 CBC_ReedSolomonGF256Poly* GetOne();
20 CBC_ReedSolomonGF256Poly* BuildMonomial(int32_t degree,
33 CBC_ReedSolomonGF256Poly* m_zero;
34 CBC_ReedSolomonGF256Poly* m_one;
DBC_ReedSolomonGF256.cpp59 m_zero = new CBC_ReedSolomonGF256Poly(this, 0); in Init()
60 m_one = new CBC_ReedSolomonGF256Poly(this, 1); in Init()
72 CBC_ReedSolomonGF256Poly* CBC_ReedSolomonGF256::GetZero() { in GetZero()
75 CBC_ReedSolomonGF256Poly* CBC_ReedSolomonGF256::GetOne() { in GetOne()
78 CBC_ReedSolomonGF256Poly* CBC_ReedSolomonGF256::BuildMonomial( in BuildMonomial()
87 CBC_ReedSolomonGF256Poly* temp = m_zero->Clone(e); in BuildMonomial()
94 CBC_ReedSolomonGF256Poly* temp = new CBC_ReedSolomonGF256Poly(); in BuildMonomial()
DBC_ReedSolomonDecoder.h10 class CBC_ReedSolomonGF256Poly; variable
19 CFX_PtrArray* RunEuclideanAlgorithm(CBC_ReedSolomonGF256Poly* a,
20 CBC_ReedSolomonGF256Poly* b,
23 CFX_Int32Array* FindErrorLocations(CBC_ReedSolomonGF256Poly* errorLocator,
25 CFX_Int32Array* FindErrorMagnitudes(CBC_ReedSolomonGF256Poly* errorEvaluator,
DBC_ReedSolomon.h10 class CBC_ReedSolomonGF256Poly; variable
15 CBC_ReedSolomonGF256Poly* BuildGenerator(int32_t degree, int32_t& e);