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_DATAMATRIXDETECTOR_H_ | 7 #ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_ |
8 #define _BC_DATAMATRIXDETECTOR_H_ | 8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_ |
| 9 |
9 class CBC_CommonBitMatrix; | 10 class CBC_CommonBitMatrix; |
10 class CBC_WhiteRectangleDetector; | 11 class CBC_WhiteRectangleDetector; |
11 class CBC_ResultPoint; | 12 class CBC_ResultPoint; |
12 class CBC_QRDetectorResult; | 13 class CBC_QRDetectorResult; |
13 class CBC_DataMatrixDetector; | 14 class CBC_DataMatrixDetector; |
14 class ResultPointsAndTransitions; | 15 class ResultPointsAndTransitions; |
15 class CBC_ResultPointsAndTransitions { | 16 class CBC_ResultPointsAndTransitions { |
16 public: | 17 public: |
17 CBC_ResultPointsAndTransitions(CBC_ResultPoint* from, | 18 CBC_ResultPointsAndTransitions(CBC_ResultPoint* from, |
18 CBC_ResultPoint* to, | 19 CBC_ResultPoint* to, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 CBC_ResultPoint* key); | 64 CBC_ResultPoint* key); |
64 int32_t Round(FX_FLOAT d); | 65 int32_t Round(FX_FLOAT d); |
65 void OrderBestPatterns(CFX_PtrArray* patterns); | 66 void OrderBestPatterns(CFX_PtrArray* patterns); |
66 virtual void Init(int32_t& e); | 67 virtual void Init(int32_t& e); |
67 | 68 |
68 private: | 69 private: |
69 CBC_CommonBitMatrix* m_image; | 70 CBC_CommonBitMatrix* m_image; |
70 CBC_WhiteRectangleDetector* m_rectangleDetector; | 71 CBC_WhiteRectangleDetector* m_rectangleDetector; |
71 const static int32_t INTEGERS[5]; | 72 const static int32_t INTEGERS[5]; |
72 }; | 73 }; |
73 #endif | 74 |
| 75 #endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_ |
OLD | NEW |