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_PDF417DETECTIONRESULT_H_ | 7 #ifndef XFA_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULT_H_ |
8 #define XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULT_H_ | 8 #define XFA_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULT_H_ |
9 | 9 |
10 class CBC_BarcodeMetadata; | 10 class CBC_BarcodeMetadata; |
11 class CBC_BoundingBox; | 11 class CBC_BoundingBox; |
12 class CBC_Codeword; | 12 class CBC_Codeword; |
13 class CBC_DetectionResultColumn; | 13 class CBC_DetectionResultColumn; |
14 class CBC_DetectionResult { | 14 class CBC_DetectionResult { |
15 public: | 15 public: |
16 CBC_DetectionResult(CBC_BarcodeMetadata* barcodeMetadata, | 16 CBC_DetectionResult(CBC_BarcodeMetadata* barcodeMetadata, |
17 CBC_BoundingBox* boundingBox); | 17 CBC_BoundingBox* boundingBox); |
18 virtual ~CBC_DetectionResult(); | 18 virtual ~CBC_DetectionResult(); |
(...skipping 28 matching lines...) Expand all Loading... |
47 static int32_t adjustRowNumberIfValid(int32_t rowIndicatorRowNumber, | 47 static int32_t adjustRowNumberIfValid(int32_t rowIndicatorRowNumber, |
48 int32_t invalidRowCounts, | 48 int32_t invalidRowCounts, |
49 CBC_Codeword* codeword); | 49 CBC_Codeword* codeword); |
50 void adjustRowNumbers(int32_t barcodeColumn, | 50 void adjustRowNumbers(int32_t barcodeColumn, |
51 int32_t codewordsRow, | 51 int32_t codewordsRow, |
52 CFX_PtrArray* codewords); | 52 CFX_PtrArray* codewords); |
53 static FX_BOOL adjustRowNumber(CBC_Codeword* codeword, | 53 static FX_BOOL adjustRowNumber(CBC_Codeword* codeword, |
54 CBC_Codeword* otherCodeword); | 54 CBC_Codeword* otherCodeword); |
55 }; | 55 }; |
56 | 56 |
57 #endif // XFA_SRC_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULT_H_ | 57 #endif // XFA_FXBARCODE_PDF417_BC_PDF417DETECTIONRESULT_H_ |
OLD | NEW |