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

Side by Side Diff: xfa/fxbarcode/qrcode/BC_QRAlignmentPatternFinder.h

Issue 1825953002: Move core/include/fxcrt to core/fxcrt/include. (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_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERNFINDER_H_ 7 #ifndef XFA_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERNFINDER_H_
8 #define XFA_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERNFINDER_H_ 8 #define XFA_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERNFINDER_H_
9 9
10 #include "core/include/fxcrt/fx_basic.h" 10 #include "core/fxcrt/include/fx_basic.h"
11 #include "xfa/fxbarcode/utils.h" 11 #include "xfa/fxbarcode/utils.h"
12 12
13 class CBC_CommonBitMatrix; 13 class CBC_CommonBitMatrix;
14 class CBC_QRAlignmentPattern; 14 class CBC_QRAlignmentPattern;
15 15
16 class CBC_QRAlignmentPatternFinder { 16 class CBC_QRAlignmentPatternFinder {
17 private: 17 private:
18 CBC_CommonBitMatrix* m_image; 18 CBC_CommonBitMatrix* m_image;
19 CFX_PtrArray m_possibleCenters; 19 CFX_PtrArray m_possibleCenters;
20 int32_t m_startX; 20 int32_t m_startX;
(...skipping 17 matching lines...) Expand all
38 int32_t maxCount, 38 int32_t maxCount,
39 int32_t originalStateCountTotal); 39 int32_t originalStateCountTotal);
40 CBC_QRAlignmentPattern* Find(int32_t& e); 40 CBC_QRAlignmentPattern* Find(int32_t& e);
41 CBC_QRAlignmentPattern* HandlePossibleCenter(const CFX_Int32Array& stateCount, 41 CBC_QRAlignmentPattern* HandlePossibleCenter(const CFX_Int32Array& stateCount,
42 int32_t i, 42 int32_t i,
43 int32_t j); 43 int32_t j);
44 static FX_FLOAT CenterFromEnd(const CFX_Int32Array& stateCount, int32_t end); 44 static FX_FLOAT CenterFromEnd(const CFX_Int32Array& stateCount, int32_t end);
45 }; 45 };
46 46
47 #endif // XFA_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERNFINDER_H_ 47 #endif // XFA_FXBARCODE_QRCODE_BC_QRALIGNMENTPATTERNFINDER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/qrcode/BC_FinderPatternInfo.h ('k') | xfa/fxbarcode/qrcode/BC_QRBitMatrixParser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698