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_WHITERECTANLEDETECTOR_H_ | 7 #ifndef XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ |
8 #define _BC_WHITERECTANLEDETECTOR_H_ | 8 #define XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ |
| 9 |
9 class CBC_CommonBitMatrix; | 10 class CBC_CommonBitMatrix; |
10 class CBC_ResultPoint; | 11 class CBC_ResultPoint; |
11 class CBC_WhiteRectangleDetector { | 12 class CBC_WhiteRectangleDetector { |
12 public: | 13 public: |
13 CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image); | 14 CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image); |
14 CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image, | 15 CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image, |
15 int32_t initSize, | 16 int32_t initSize, |
16 int32_t x, | 17 int32_t x, |
17 int32_t y); | 18 int32_t y); |
18 virtual ~CBC_WhiteRectangleDetector(); | 19 virtual ~CBC_WhiteRectangleDetector(); |
(...skipping 19 matching lines...) Expand all Loading... |
38 const static int32_t CORR; | 39 const static int32_t CORR; |
39 | 40 |
40 CBC_CommonBitMatrix* m_image; | 41 CBC_CommonBitMatrix* m_image; |
41 int32_t m_height; | 42 int32_t m_height; |
42 int32_t m_width; | 43 int32_t m_width; |
43 int32_t m_leftInit; | 44 int32_t m_leftInit; |
44 int32_t m_rightInit; | 45 int32_t m_rightInit; |
45 int32_t m_downInit; | 46 int32_t m_downInit; |
46 int32_t m_upInit; | 47 int32_t m_upInit; |
47 }; | 48 }; |
48 #endif | 49 |
| 50 #endif // XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANLEDETECTOR_H_ |
OLD | NEW |