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