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

Side by Side Diff: xfa/fxbarcode/pdf417/BC_PDF417.h

Issue 2649563003: Replace CFX_ByteArray with CFX_ArrayTemplate<uint8_t> (Closed)
Patch Set: re-upload Created 3 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
« no previous file with comments | « xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp ('k') | xfa/fxbarcode/pdf417/BC_PDF417.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FXBARCODE_PDF417_BC_PDF417_H_ 7 #ifndef XFA_FXBARCODE_PDF417_BC_PDF417_H_
8 #define XFA_FXBARCODE_PDF417_BC_PDF417_H_ 8 #define XFA_FXBARCODE_PDF417_BC_PDF417_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 static int32_t getNumberOfPadCodewords(int32_t m, 44 static int32_t getNumberOfPadCodewords(int32_t m,
45 int32_t k, 45 int32_t k,
46 int32_t c, 46 int32_t c,
47 int32_t r); 47 int32_t r);
48 static void encodeChar(int32_t pattern, int32_t len, CBC_BarcodeRow* logic); 48 static void encodeChar(int32_t pattern, int32_t len, CBC_BarcodeRow* logic);
49 void encodeLowLevel(CFX_WideString fullCodewords, 49 void encodeLowLevel(CFX_WideString fullCodewords,
50 int32_t c, 50 int32_t c,
51 int32_t r, 51 int32_t r,
52 int32_t errorCorrectionLevel, 52 int32_t errorCorrectionLevel,
53 CBC_BarcodeMatrix* logic); 53 CBC_BarcodeMatrix* logic);
54 CFX_Int32Array* determineDimensions(int32_t sourceCodeWords, 54 CFX_ArrayTemplate<int32_t>* determineDimensions(
55 int32_t errorCorrectionCodeWords, 55 int32_t sourceCodeWords,
56 int32_t& e); 56 int32_t errorCorrectionCodeWords,
57 int32_t& e);
57 58
58 std::unique_ptr<CBC_BarcodeMatrix> m_barcodeMatrix; 59 std::unique_ptr<CBC_BarcodeMatrix> m_barcodeMatrix;
59 bool m_compact; 60 bool m_compact;
60 Compaction m_compaction; 61 Compaction m_compaction;
61 int32_t m_minCols; 62 int32_t m_minCols;
62 int32_t m_maxCols; 63 int32_t m_maxCols;
63 int32_t m_maxRows; 64 int32_t m_maxRows;
64 int32_t m_minRows; 65 int32_t m_minRows;
65 }; 66 };
66 67
67 #endif // XFA_FXBARCODE_PDF417_BC_PDF417_H_ 68 #endif // XFA_FXBARCODE_PDF417_BC_PDF417_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/datamatrix/BC_HighLevelEncoder.cpp ('k') | xfa/fxbarcode/pdf417/BC_PDF417.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698