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

Side by Side Diff: xfa/src/fxbarcode/src/BC_Library.cpp

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 #include "barcode.h"
8 #include "include/BC_Reader.h"
9 #include "include/BC_OneDReader.h"
10 #include "include/BC_UtilCodingConvert.h"
11 #include "include/BC_DataMatrixVersion.h"
12 #include "include/BC_BinaryBitmap.h"
13 #include "include/BC_LuminanceSource.h"
14 #include "include/BC_BufferedImageLuminanceSource.h"
15 #include "include/BC_Binarizer.h"
16 #include "include/BC_GlobalHistogramBinarizer.h"
17 #include "include/BC_OnedCode128Reader.h"
18 #include "include/BC_OnedCode39Reader.h"
19 #include "include/BC_OneDimReader.h"
20 #include "include/BC_OnedEAN13Reader.h"
21 #include "include/BC_OnedEAN8Reader.h"
22 #include "include/BC_OnedUPCAReader.h"
23 #include "include/BC_OnedCodaBarReader.h"
24 #include "include/BC_DataMatrixReader.h"
25 #include "include/BC_QRCodeReader.h"
26 #include "include/BC_Writer.h"
27 #include "include/BC_OneDimWriter.h"
28 #include "include/BC_OnedCode128Writer.h"
29 #include "include/BC_OnedCode39Writer.h"
30 #include "include/BC_OnedEAN13Writer.h"
31 #include "include/BC_OnedEAN8Writer.h"
32 #include "include/BC_OnedUPCAWriter.h"
33 #include "include/BC_CommonBitMatrix.h"
34 #include "include/BC_QRCodeWriter.h"
35 #include "include/BC_QRCoderErrorCorrectionLevel.h"
36 #include "include/BC_QRCoderMode.h"
37 #include "include/BC_QRCoderVersion.h"
38 #include "include/BC_QRDataMask.h"
39 #include "include/BC_QRDecodedBitStreamParser.h"
40 #include "include/BC_ReedSolomonGF256.h"
41 #include "include/BC_Encoder.h"
42 #include "include/BC_DefaultPlacement.h"
43 #include "include/BC_SymbolShapeHint.h"
44 #include "include/BC_SymbolInfo.h"
45 #include "include/BC_DataMatrixSymbolInfo144.h"
46 #include "include/BC_ErrorCorrection.h"
47 #include "include/BC_Dimension.h"
48 #include "include/BC_EncoderContext.h"
49 #include "include/BC_C40Encoder.h"
50 #include "include/BC_TextEncoder.h"
51 #include "include/BC_X12Encoder.h"
52 #include "include/BC_EdifactEncoder.h"
53 #include "include/BC_Base256Encoder.h"
54 #include "include/BC_ASCIIEncoder.h"
55 #include "include/BC_HighLevelEncoder.h"
56 #include "include/BC_CommonByteMatrix.h"
57 #include "include/BC_DataMatrixWriter.h"
58 #include "include/BC_PDF417Compaction.h"
59 #include "include/BC_UtilCodingConvert.h"
60 #include "include/BC_PDF417HighLevelEncoder.h"
61 #include "include/BC_ResultPoint.h"
62 #include "include/BC_PDF417DetectorResult.h"
63 #include "include/BC_BinaryBitmap.h"
64 #include "include/BC_CommonBitMatrix.h"
65 #include "include/BC_CommonBitArray.h"
66 #include "include/BC_PDF417Detector.h"
67 #include "include/BC_PDF417DetectorResult.h"
68 #include "include/BC_DecoderResult.h"
69 #include "include/BC_PDF417Codeword.h"
70 #include "include/BC_CommonBitMatrix.h"
71 #include "include/BC_PDF417Common.h"
72 #include "include/BC_PDF417BarcodeValue.h"
73 #include "include/BC_PDF417BarcodeMetadata.h"
74 #include "include/BC_PDF417BoundingBox.h"
75 #include "include/BC_PDF417DetectionResultColumn.h"
76 #include "include/BC_PDF417DetectionResultRowIndicatorColumn.h"
77 #include "include/BC_PDF417DetectionResult.h"
78 #include "include/BC_PDF417DecodedBitStreamParser.h"
79 #include "include/BC_PDF417CodewordDecoder.h"
80 #include "include/BC_PDF417DecodedBitStreamParser.h"
81 #include "include/BC_PDF417ECModulusPoly.h"
82 #include "include/BC_PDF417ECModulusGF.h"
83 #include "include/BC_PDF417ECErrorCorrection.h"
84 #include "include/BC_PDF417DecodedBitStreamParser.h"
85 #include "include/BC_CommonDecoderResult.h"
86 #include "include/BC_PDF417ScanningDecoder.h"
87 #include "include/BC_PDF417Reader.h"
88 void BC_Library_Init()
89 {
90 CBC_QRCoderErrorCorrectionLevel::Initialize();
91 CBC_QRCoderMode::Initialize();
92 CBC_QRCoderVersion::Initialize();
93 CBC_QRDataMask::Initialize();
94 CBC_ReedSolomonGF256::Initialize();
95 CBC_DataMatrixVersion::Initialize();
96 CBC_SymbolInfo::Initialize();
97 CBC_ErrorCorrection::Initialize();
98 CBC_PDF417HighLevelEncoder::Initialize();
99 FX_INT32 e = 0;
100 CBC_PDF417ECModulusGF::Initialize(e);
101 CBC_DecodedBitStreamPaser::Initialize();
102 CBC_PDF417CodewordDecoder::Initialize();
103 CBC_PDF417ECErrorCorrection::Initialize(e);
104 CBC_PDF417ScanningDecoder::Initialize();
105 }
106 void BC_Library_Destory()
107 {
108 CBC_QRCoderErrorCorrectionLevel::Finalize();
109 CBC_QRCoderMode::Finalize();
110 CBC_QRCoderVersion::Finalize();
111 CBC_QRDataMask::Finalize();
112 CBC_ReedSolomonGF256::Finalize();
113 CBC_DataMatrixVersion::Finalize();
114 CBC_SymbolInfo::Finalize();
115 CBC_ErrorCorrection::Finalize();
116 CBC_PDF417HighLevelEncoder::Finalize();
117 CBC_DecodedBitStreamPaser::Finalize();
118 CBC_PDF417CodewordDecoder::Finalize();
119 CBC_PDF417ECErrorCorrection::Finalize();
120 CBC_PDF417ECModulusGF::Finalize();
121 CBC_PDF417ScanningDecoder::Finalize();
122 }
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/src/BC_HighLevelEncoder.cpp ('k') | xfa/src/fxbarcode/src/BC_LuminanceSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698