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