| 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_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ | 7 #ifndef XFA_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ |
| 8 #define XFA_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ | 8 #define XFA_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/include/fx_string.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 int32_t getVerticalDataRegions(int32_t& e); | 47 int32_t getVerticalDataRegions(int32_t& e); |
| 48 int32_t getSymbolDataWidth(int32_t& e); | 48 int32_t getSymbolDataWidth(int32_t& e); |
| 49 int32_t getSymbolDataHeight(int32_t& e); | 49 int32_t getSymbolDataHeight(int32_t& e); |
| 50 int32_t getSymbolWidth(int32_t& e); | 50 int32_t getSymbolWidth(int32_t& e); |
| 51 int32_t getSymbolHeight(int32_t& e); | 51 int32_t getSymbolHeight(int32_t& e); |
| 52 int32_t getCodewordCount(); | 52 int32_t getCodewordCount(); |
| 53 int32_t getInterleavedBlockCount(); | 53 int32_t getInterleavedBlockCount(); |
| 54 int32_t getDataLengthForInterleavedBlock(int32_t index); | 54 int32_t getDataLengthForInterleavedBlock(int32_t index); |
| 55 int32_t getErrorLengthForInterleavedBlock(int32_t index); | 55 int32_t getErrorLengthForInterleavedBlock(int32_t index); |
| 56 | 56 |
| 57 public: | |
| 58 int32_t m_dataCapacity; | 57 int32_t m_dataCapacity; |
| 59 int32_t m_errorCodewords; | 58 int32_t m_errorCodewords; |
| 60 int32_t m_matrixWidth; | 59 int32_t m_matrixWidth; |
| 61 int32_t m_matrixHeight; | 60 int32_t m_matrixHeight; |
| 62 int32_t m_rsBlockData; | 61 int32_t m_rsBlockData; |
| 63 int32_t m_rsBlockError; | 62 int32_t m_rsBlockError; |
| 64 static CBC_SymbolInfo* m_PROD_SYMBOLS[30]; | |
| 65 | |
| 66 private: | |
| 67 static CBC_SymbolInfo* m_symbols[30]; | |
| 68 FX_BOOL m_rectangular; | |
| 69 int32_t m_dataRegions; | |
| 70 | 63 |
| 71 private: | 64 private: |
| 72 CBC_SymbolInfo(FX_BOOL rectangular, | 65 CBC_SymbolInfo(FX_BOOL rectangular, |
| 73 int32_t dataCapacity, | 66 int32_t dataCapacity, |
| 74 int32_t errorCodewords, | 67 int32_t errorCodewords, |
| 75 int32_t matrixWidth, | 68 int32_t matrixWidth, |
| 76 int32_t matrixHeight, | 69 int32_t matrixHeight, |
| 77 int32_t dataRegions, | 70 int32_t dataRegions, |
| 78 int32_t rsBlockData, | 71 int32_t rsBlockData, |
| 79 int32_t rsBlockError); | 72 int32_t rsBlockError); |
| 73 |
| 74 FX_BOOL m_rectangular; |
| 75 int32_t m_dataRegions; |
| 80 }; | 76 }; |
| 81 | 77 |
| 82 #endif // XFA_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ | 78 #endif // XFA_FXBARCODE_DATAMATRIX_BC_SYMBOLINFO_H_ |
| OLD | NEW |