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