Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(737)

Side by Side Diff: xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_ 7 #ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_
8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_ 8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_
9 9
10 #include "core/include/fxcrt/fx_basic.h" 10 #include "core/include/fxcrt/fx_basic.h"
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 CBC_ResultPoint* to); 62 CBC_ResultPoint* to);
63 FX_BOOL IsValid(CBC_ResultPoint* p); 63 FX_BOOL IsValid(CBC_ResultPoint* p);
64 int32_t Distance(CBC_ResultPoint* a, CBC_ResultPoint* b); 64 int32_t Distance(CBC_ResultPoint* a, CBC_ResultPoint* b);
65 void Increment(CFX_MapPtrTemplate<CBC_ResultPoint*, int32_t>& table, 65 void Increment(CFX_MapPtrTemplate<CBC_ResultPoint*, int32_t>& table,
66 CBC_ResultPoint* key); 66 CBC_ResultPoint* key);
67 int32_t Round(FX_FLOAT d); 67 int32_t Round(FX_FLOAT d);
68 void OrderBestPatterns(CFX_PtrArray* patterns); 68 void OrderBestPatterns(CFX_PtrArray* patterns);
69 virtual void Init(int32_t& e); 69 virtual void Init(int32_t& e);
70 70
71 private: 71 private:
72 static const int32_t INTEGERS[5];
73
72 CBC_CommonBitMatrix* m_image; 74 CBC_CommonBitMatrix* m_image;
73 CBC_WhiteRectangleDetector* m_rectangleDetector; 75 CBC_WhiteRectangleDetector* m_rectangleDetector;
74 const static int32_t INTEGERS[5];
75 }; 76 };
76 77
77 #endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_ 78 #endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDETECTOR_H_
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecodedBitStreamParser.h ('k') | xfa/src/fxbarcode/oned/BC_OneDReader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698