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

Side by Side Diff: xfa/fxbarcode/qrcode/BC_QRFinderPatternFinder.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_QRFINDERPATTERNFINDER_H_ 7 #ifndef XFA_FXBARCODE_QRCODE_BC_QRFINDERPATTERNFINDER_H_
8 #define XFA_FXBARCODE_QRCODE_BC_QRFINDERPATTERNFINDER_H_ 8 #define XFA_FXBARCODE_QRCODE_BC_QRFINDERPATTERNFINDER_H_
9 9
10 #include "core/include/fxcrt/fx_basic.h" 10 #include "core/fxcrt/include/fx_basic.h"
11 11
12 class CBC_CommonBitMatrix; 12 class CBC_CommonBitMatrix;
13 class CBC_QRFinderPattern; 13 class CBC_QRFinderPattern;
14 class CBC_ResultPoint; 14 class CBC_ResultPoint;
15 class CBC_QRFinderPatternInfo; 15 class CBC_QRFinderPatternInfo;
16 16
17 class CBC_QRFinderPatternFinder { 17 class CBC_QRFinderPatternFinder {
18 private: 18 private:
19 static const int32_t CENTER_QUORUM; 19 static const int32_t CENTER_QUORUM;
20 static const int32_t MIN_SKIP; 20 static const int32_t MIN_SKIP;
(...skipping 27 matching lines...) Expand all
48 FX_FLOAT CrossCheckHorizontal(int32_t startJ, 48 FX_FLOAT CrossCheckHorizontal(int32_t startJ,
49 int32_t CenterI, 49 int32_t CenterI,
50 int32_t maxCOunt, 50 int32_t maxCOunt,
51 int32_t originalStateCountTotal); 51 int32_t originalStateCountTotal);
52 static void OrderBestPatterns(CFX_PtrArray* patterns); 52 static void OrderBestPatterns(CFX_PtrArray* patterns);
53 static FX_BOOL FoundPatternCross(const CFX_Int32Array& stateCount); 53 static FX_BOOL FoundPatternCross(const CFX_Int32Array& stateCount);
54 static FX_FLOAT Distance(CBC_ResultPoint* point1, CBC_ResultPoint* point2); 54 static FX_FLOAT Distance(CBC_ResultPoint* point1, CBC_ResultPoint* point2);
55 }; 55 };
56 56
57 #endif // XFA_FXBARCODE_QRCODE_BC_QRFINDERPATTERNFINDER_H_ 57 #endif // XFA_FXBARCODE_QRCODE_BC_QRFINDERPATTERNFINDER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/qrcode/BC_QRDetectorResult.h ('k') | xfa/fxbarcode/qrcode/BC_QRFinderPatternFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698