Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Side by Side Diff: xfa/src/fxbarcode/src/include/BC_PDF417ECModulusGF.h

Issue 842043002: Organize barcode codes into modules. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7 #ifndef _BC_PDF417ECMODULUSGF_H_
8 #define _BC_PDF417ECMODULUSGF_H_
9 class CBC_PDF417ECModulusPoly;
10 class CBC_PDF417Common;
11 class CBC_PDF417ECModulusGF;
12 class CBC_PDF417ECModulusGF : public CFX_Object
13 {
14 public:
15 CBC_PDF417ECModulusGF(FX_INT32 modulus, FX_INT32 generator, FX_INT32 &e);
16 virtual ~CBC_PDF417ECModulusGF();
17 static void Initialize(FX_INT32 &e);
18 static void Finalize();
19 CBC_PDF417ECModulusPoly* getZero();
20 CBC_PDF417ECModulusPoly* getOne();
21 CBC_PDF417ECModulusPoly* buildMonomial(FX_INT32 degree, FX_INT32 coefficient , FX_INT32 &e);
22 FX_INT32 add(FX_INT32 a, FX_INT32 b);
23 FX_INT32 subtract(FX_INT32 a, FX_INT32 b);
24 FX_INT32 exp(FX_INT32 a);
25 FX_INT32 log(FX_INT32 a, FX_INT32 &e);
26 FX_INT32 inverse(FX_INT32 a, FX_INT32 &e);
27 FX_INT32 multiply(FX_INT32 a, FX_INT32 b);
28 FX_INT32 getSize();
29 static CBC_PDF417ECModulusGF* PDF417_GF;
30 private:
31 CFX_Int32Array m_expTable;
32 CFX_Int32Array m_logTable;
33 CBC_PDF417ECModulusPoly* m_zero;
34 CBC_PDF417ECModulusPoly* m_one;
35 FX_INT32 m_modulus;
36 };
37 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/src/include/BC_PDF417ECErrorCorrection.h ('k') | xfa/src/fxbarcode/src/include/BC_PDF417ECModulusPoly.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698