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 _BC_DATAMATRIXDETECTOR_H_ |
8 #define _BC_DATAMATRIXDETECTOR_H_ | 8 #define _BC_DATAMATRIXDETECTOR_H_ |
9 class CBC_CommonBitMatrix; | 9 class CBC_CommonBitMatrix; |
10 class CBC_WhiteRectangleDetector; | 10 class CBC_WhiteRectangleDetector; |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 void Increment(CFX_MapPtrTemplate<CBC_ResultPoint*, FX_INT32> &table, CBC_Re
sultPoint *key); | 69 void Increment(CFX_MapPtrTemplate<CBC_ResultPoint*, FX_INT32> &table, CBC_Re
sultPoint *key); |
70 FX_INT32 Round(FX_FLOAT d); | 70 FX_INT32 Round(FX_FLOAT d); |
71 void OrderBestPatterns(CFX_PtrArray *patterns); | 71 void OrderBestPatterns(CFX_PtrArray *patterns); |
72 virtual void Init(FX_INT32 &e); | 72 virtual void Init(FX_INT32 &e); |
73 private: | 73 private: |
74 CBC_CommonBitMatrix *m_image; | 74 CBC_CommonBitMatrix *m_image; |
75 CBC_WhiteRectangleDetector *m_rectangleDetector; | 75 CBC_WhiteRectangleDetector *m_rectangleDetector; |
76 const static FX_INT32 INTEGERS[5]; | 76 const static FX_INT32 INTEGERS[5]; |
77 }; | 77 }; |
78 #endif | 78 #endif |
OLD | NEW |