| 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 _BC_QRCODERVERSION_H_ | 7 #ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERVERSION_H_ |
| 8 #define _BC_QRCODERVERSION_H_ | 8 #define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERVERSION_H_ |
| 9 |
| 9 class CBC_QRCoderECBlocks; | 10 class CBC_QRCoderECBlocks; |
| 10 class CBC_CommonBitMatrix; | 11 class CBC_CommonBitMatrix; |
| 11 class CBC_QRCoderErrorCorrectionLevel; | 12 class CBC_QRCoderErrorCorrectionLevel; |
| 12 class CBC_QRCoderVersion { | 13 class CBC_QRCoderVersion { |
| 13 private: | 14 private: |
| 14 const static int32_t VERSION_DECODE_INFO[34]; | 15 const static int32_t VERSION_DECODE_INFO[34]; |
| 15 static CFX_PtrArray* VERSION; | 16 static CFX_PtrArray* VERSION; |
| 16 int32_t m_versionNumber; | 17 int32_t m_versionNumber; |
| 17 int32_t m_totalCodeWords; | 18 int32_t m_totalCodeWords; |
| 18 CFX_Int32Array m_alignmentPatternCenters; | 19 CFX_Int32Array m_alignmentPatternCenters; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 39 CBC_QRCoderErrorCorrectionLevel* ecLevel); | 40 CBC_QRCoderErrorCorrectionLevel* ecLevel); |
| 40 static CBC_QRCoderVersion* GetVersionForNumber(int32_t versionNumber, | 41 static CBC_QRCoderVersion* GetVersionForNumber(int32_t versionNumber, |
| 41 int32_t& e); | 42 int32_t& e); |
| 42 static CBC_QRCoderVersion* GetProvisionalVersionForDimension( | 43 static CBC_QRCoderVersion* GetProvisionalVersionForDimension( |
| 43 int32_t dimension, | 44 int32_t dimension, |
| 44 int32_t& e); | 45 int32_t& e); |
| 45 static CBC_QRCoderVersion* DecodeVersionInformation(int32_t versionBits, | 46 static CBC_QRCoderVersion* DecodeVersionInformation(int32_t versionBits, |
| 46 int32_t& e); | 47 int32_t& e); |
| 47 static void Destroy(); | 48 static void Destroy(); |
| 48 }; | 49 }; |
| 49 #endif | 50 |
| 51 #endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERVERSION_H_ |
| OLD | NEW |