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_PDF417_BC_PDF417DETECTOR_H_ | 7 #ifndef XFA_FXBARCODE_PDF417_BC_PDF417DETECTOR_H_ |
8 #define XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTOR_H_ | 8 #define XFA_FXBARCODE_PDF417_BC_PDF417DETECTOR_H_ |
9 | 9 |
10 class CBC_PDF417DetectorResult; | 10 class CBC_PDF417DetectorResult; |
11 class CBC_BinaryBitmap; | 11 class CBC_BinaryBitmap; |
12 class CBC_CommonBitMatrix; | 12 class CBC_CommonBitMatrix; |
13 class CBC_CommonBitArray; | 13 class CBC_CommonBitArray; |
14 | 14 |
15 class CBC_Detector { | 15 class CBC_Detector { |
16 public: | 16 public: |
17 CBC_Detector(); | 17 CBC_Detector(); |
18 virtual ~CBC_Detector(); | 18 virtual ~CBC_Detector(); |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 int32_t width, | 59 int32_t width, |
60 FX_BOOL whiteFirst, | 60 FX_BOOL whiteFirst, |
61 int32_t* pattern, | 61 int32_t* pattern, |
62 int32_t patternLength, | 62 int32_t patternLength, |
63 CFX_Int32Array& counters); | 63 CFX_Int32Array& counters); |
64 static int32_t patternMatchVariance(CFX_Int32Array& counters, | 64 static int32_t patternMatchVariance(CFX_Int32Array& counters, |
65 int32_t* pattern, | 65 int32_t* pattern, |
66 int32_t maxIndividualVariance); | 66 int32_t maxIndividualVariance); |
67 }; | 67 }; |
68 | 68 |
69 #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTOR_H_ | 69 #endif // XFA_FXBARCODE_PDF417_BC_PDF417DETECTOR_H_ |
OLD | NEW |