| 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_WHITERECTANGLEDETECTOR_H_ | 7 #ifndef XFA_FXBARCODE_COMMON_BC_WHITERECTANGLEDETECTOR_H_ |
| 8 #define XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANGLEDETECTOR_H_ | 8 #define XFA_FXBARCODE_COMMON_BC_WHITERECTANGLEDETECTOR_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/fxcrt/fx_basic.h" |
| 11 | 11 |
| 12 class CBC_CommonBitMatrix; | 12 class CBC_CommonBitMatrix; |
| 13 class CBC_ResultPoint; | 13 class CBC_ResultPoint; |
| 14 | 14 |
| 15 class CBC_WhiteRectangleDetector { | 15 class CBC_WhiteRectangleDetector { |
| 16 public: | 16 public: |
| 17 CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image); | 17 CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image); |
| 18 CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image, | 18 CBC_WhiteRectangleDetector(CBC_CommonBitMatrix* image, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 44 | 44 |
| 45 CBC_CommonBitMatrix* m_image; | 45 CBC_CommonBitMatrix* m_image; |
| 46 int32_t m_height; | 46 int32_t m_height; |
| 47 int32_t m_width; | 47 int32_t m_width; |
| 48 int32_t m_leftInit; | 48 int32_t m_leftInit; |
| 49 int32_t m_rightInit; | 49 int32_t m_rightInit; |
| 50 int32_t m_downInit; | 50 int32_t m_downInit; |
| 51 int32_t m_upInit; | 51 int32_t m_upInit; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 #endif // XFA_SRC_FXBARCODE_COMMON_BC_WHITERECTANGLEDETECTOR_H_ | 54 #endif // XFA_FXBARCODE_COMMON_BC_WHITERECTANGLEDETECTOR_H_ |
| OLD | NEW |