| OLD | NEW | 
|---|
| 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_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXBITMATRIXPARSER_H_ | 7 #ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXBITMATRIXPARSER_H_ | 
| 8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXBITMATRIXPARSER_H_ | 8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXBITMATRIXPARSER_H_ | 
| 9 | 9 | 
|  | 10 #include "core/include/fxcrt/fx_basic.h" | 
|  | 11 | 
| 10 class CBC_CommonBitMatrix; | 12 class CBC_CommonBitMatrix; | 
| 11 class CBC_DataMatrixVersion; | 13 class CBC_DataMatrixVersion; | 
|  | 14 | 
| 12 class CBC_DataMatrixBitMatrixParser { | 15 class CBC_DataMatrixBitMatrixParser { | 
| 13  public: | 16  public: | 
| 14   CBC_DataMatrixBitMatrixParser(); | 17   CBC_DataMatrixBitMatrixParser(); | 
| 15   virtual ~CBC_DataMatrixBitMatrixParser(); | 18   virtual ~CBC_DataMatrixBitMatrixParser(); | 
| 16   CBC_DataMatrixVersion* GetVersion(); | 19   CBC_DataMatrixVersion* GetVersion(); | 
| 17   CFX_ByteArray* ReadCodewords(int32_t& e); | 20   CFX_ByteArray* ReadCodewords(int32_t& e); | 
| 18   FX_BOOL ReadModule(int32_t row, | 21   FX_BOOL ReadModule(int32_t row, | 
| 19                      int32_t column, | 22                      int32_t column, | 
| 20                      int32_t numRows, | 23                      int32_t numRows, | 
| 21                      int32_t numColumns); | 24                      int32_t numColumns); | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 33 | 36 | 
| 34  private: | 37  private: | 
| 35   static CBC_DataMatrixVersion* ReadVersion(CBC_CommonBitMatrix* bitMatrix, | 38   static CBC_DataMatrixVersion* ReadVersion(CBC_CommonBitMatrix* bitMatrix, | 
| 36                                             int32_t& e); | 39                                             int32_t& e); | 
| 37   CBC_CommonBitMatrix* m_mappingBitMatrix; | 40   CBC_CommonBitMatrix* m_mappingBitMatrix; | 
| 38   CBC_CommonBitMatrix* m_readMappingMatrix; | 41   CBC_CommonBitMatrix* m_readMappingMatrix; | 
| 39   CBC_DataMatrixVersion* m_version; | 42   CBC_DataMatrixVersion* m_version; | 
| 40 }; | 43 }; | 
| 41 | 44 | 
| 42 #endif  // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXBITMATRIXPARSER_H_ | 45 #endif  // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXBITMATRIXPARSER_H_ | 
| OLD | NEW | 
|---|