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_QRCODE_BC_QRCODERMATRIXUTIL_H_ | 7 #ifndef XFA_FXBARCODE_QRCODE_BC_QRCODERMATRIXUTIL_H_ |
8 #define XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMATRIXUTIL_H_ | 8 #define XFA_FXBARCODE_QRCODE_BC_QRCODERMATRIXUTIL_H_ |
9 | 9 |
10 class CBC_CommonByteMatrix; | 10 class CBC_CommonByteMatrix; |
11 class CBC_QRCoderErrorCorrectionLevel; | 11 class CBC_QRCoderErrorCorrectionLevel; |
12 class CBC_QRCoderBitVector; | 12 class CBC_QRCoderBitVector; |
13 class CBC_QRCoderMatrixUtil { | 13 class CBC_QRCoderMatrixUtil { |
14 private: | 14 private: |
15 static const int32_t POSITION_DETECTION_PATTERN[7][7]; | 15 static const int32_t POSITION_DETECTION_PATTERN[7][7]; |
16 static const int32_t VERTICAL_SEPARATION_PATTERN[7][1]; | 16 static const int32_t VERTICAL_SEPARATION_PATTERN[7][1]; |
17 static const int32_t HORIZONTAL_SEPARATION_PATTERN[1][8]; | 17 static const int32_t HORIZONTAL_SEPARATION_PATTERN[1][8]; |
18 static const int32_t POSITION_ADJUSTMENT_PATTERN[5][5]; | 18 static const int32_t POSITION_ADJUSTMENT_PATTERN[5][5]; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 CBC_CommonByteMatrix* matrix, | 77 CBC_CommonByteMatrix* matrix, |
78 int32_t& e); | 78 int32_t& e); |
79 static void EmbedPositionDetectionPatternsAndSeparators( | 79 static void EmbedPositionDetectionPatternsAndSeparators( |
80 CBC_CommonByteMatrix* matrix, | 80 CBC_CommonByteMatrix* matrix, |
81 int32_t& e); | 81 int32_t& e); |
82 static void MaybeEmbedPositionAdjustmentPatterns(int32_t version, | 82 static void MaybeEmbedPositionAdjustmentPatterns(int32_t version, |
83 CBC_CommonByteMatrix* matrix, | 83 CBC_CommonByteMatrix* matrix, |
84 int32_t& e); | 84 int32_t& e); |
85 }; | 85 }; |
86 | 86 |
87 #endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRCODERMATRIXUTIL_H_ | 87 #endif // XFA_FXBARCODE_QRCODE_BC_QRCODERMATRIXUTIL_H_ |
OLD | NEW |