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

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

Issue 1087053002: Merge to XFA: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 8 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 _BC_DATAMATRIXDETECTOR_H_ 7 #ifndef _BC_DATAMATRIXDETECTOR_H_
8 #define _BC_DATAMATRIXDETECTOR_H_ 8 #define _BC_DATAMATRIXDETECTOR_H_
9 class CBC_CommonBitMatrix; 9 class CBC_CommonBitMatrix;
10 class CBC_WhiteRectangleDetector; 10 class CBC_WhiteRectangleDetector;
11 class CBC_ResultPoint; 11 class CBC_ResultPoint;
12 class CBC_QRDetectorResult; 12 class CBC_QRDetectorResult;
13 class CBC_DataMatrixDetector; 13 class CBC_DataMatrixDetector;
14 class ResultPointsAndTransitions; 14 class ResultPointsAndTransitions;
15 class CBC_ResultPointsAndTransitions : public CFX_Object 15 class CBC_ResultPointsAndTransitions
16 { 16 {
17 public: 17 public:
18 CBC_ResultPointsAndTransitions(CBC_ResultPoint *from, CBC_ResultPoint *to, F X_INT32 transitions) 18 CBC_ResultPointsAndTransitions(CBC_ResultPoint *from, CBC_ResultPoint *to, F X_INT32 transitions)
19 { 19 {
20 m_from = from; 20 m_from = from;
21 m_to = to; 21 m_to = to;
22 m_transitions = transitions; 22 m_transitions = transitions;
23 } 23 }
24 ~CBC_ResultPointsAndTransitions() 24 ~CBC_ResultPointsAndTransitions()
25 { 25 {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 void Increment(CFX_MapPtrTemplate<CBC_ResultPoint*, FX_INT32> &table, CBC_Re sultPoint *key); 69 void Increment(CFX_MapPtrTemplate<CBC_ResultPoint*, FX_INT32> &table, CBC_Re sultPoint *key);
70 FX_INT32 Round(FX_FLOAT d); 70 FX_INT32 Round(FX_FLOAT d);
71 void OrderBestPatterns(CFX_PtrArray *patterns); 71 void OrderBestPatterns(CFX_PtrArray *patterns);
72 virtual void Init(FX_INT32 &e); 72 virtual void Init(FX_INT32 &e);
73 private: 73 private:
74 CBC_CommonBitMatrix *m_image; 74 CBC_CommonBitMatrix *m_image;
75 CBC_WhiteRectangleDetector *m_rectangleDetector; 75 CBC_WhiteRectangleDetector *m_rectangleDetector;
76 const static FX_INT32 INTEGERS[5]; 76 const static FX_INT32 INTEGERS[5];
77 }; 77 };
78 #endif 78 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/datamatrix/BC_DataMatrixDecoder.h ('k') | xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698