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_ONEDREADER_H_ | 7 #ifndef XFA_SRC_FXBARCODE_ONED_BC_ONEDREADER_H_ |
8 #define _BC_ONEDREADER_H_ | 8 #define XFA_SRC_FXBARCODE_ONED_BC_ONEDREADER_H_ |
| 9 |
9 class CBC_Reader; | 10 class CBC_Reader; |
10 class CBC_BinaryBitmap; | 11 class CBC_BinaryBitmap; |
11 class CBC_CommonBitArray; | 12 class CBC_CommonBitArray; |
12 class CBC_OneDReader; | 13 class CBC_OneDReader; |
13 class CBC_OneDReader : public CBC_Reader { | 14 class CBC_OneDReader : public CBC_Reader { |
14 public: | 15 public: |
15 CBC_OneDReader(); | 16 CBC_OneDReader(); |
16 virtual ~CBC_OneDReader(); | 17 virtual ~CBC_OneDReader(); |
17 virtual CFX_ByteString Decode(CBC_BinaryBitmap* image, int32_t& e); | 18 virtual CFX_ByteString Decode(CBC_BinaryBitmap* image, int32_t& e); |
18 virtual CFX_ByteString Decode(CBC_BinaryBitmap* image, | 19 virtual CFX_ByteString Decode(CBC_BinaryBitmap* image, |
(...skipping 17 matching lines...) Expand all Loading... |
36 CFX_Int32Array* counters, | 37 CFX_Int32Array* counters, |
37 int32_t& e); | 38 int32_t& e); |
38 void RecordPatternInReverse(CBC_CommonBitArray* row, | 39 void RecordPatternInReverse(CBC_CommonBitArray* row, |
39 int32_t start, | 40 int32_t start, |
40 CFX_Int32Array* counters, | 41 CFX_Int32Array* counters, |
41 int32_t& e); | 42 int32_t& e); |
42 int32_t PatternMatchVariance(CFX_Int32Array* counters, | 43 int32_t PatternMatchVariance(CFX_Int32Array* counters, |
43 const int32_t* pattern, | 44 const int32_t* pattern, |
44 int32_t maxIndividualVariance); | 45 int32_t maxIndividualVariance); |
45 }; | 46 }; |
46 #endif | 47 |
| 48 #endif // XFA_SRC_FXBARCODE_ONED_BC_ONEDREADER_H_ |
OLD | NEW |