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

Side by Side Diff: xfa/src/fxbarcode/qrcode/BC_QRDetector.h

Issue 842043002: Organize barcode codes into modules. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: rebase Created 5 years, 11 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_QRDETECTOR_H_ 7 #ifndef _BC_QRDETECTOR_H_
8 #define _BC_QRDETECTOR_H_ 8 #define _BC_QRDETECTOR_H_
9 class CBC_ResultPoint; 9 class CBC_ResultPoint;
10 class CBC_CommonBitMatrix; 10 class CBC_CommonBitMatrix;
(...skipping 21 matching lines...) Expand all
32 FX_FLOAT CalculateModuleSizeOneWay(CBC_ResultPoint *pattern, CBC_ResultPoint *otherPattern); 32 FX_FLOAT CalculateModuleSizeOneWay(CBC_ResultPoint *pattern, CBC_ResultPoint *otherPattern);
33 FX_FLOAT SizeOfBlackWhiteBlackRunBothWays(FX_INT32 fromX, FX_INT32 fromY, FX _INT32 toX, FX_INT32 toY); 33 FX_FLOAT SizeOfBlackWhiteBlackRunBothWays(FX_INT32 fromX, FX_INT32 fromY, FX _INT32 toX, FX_INT32 toY);
34 FX_FLOAT SizeOfBlackWhiteBlackRun(FX_INT32 fromX, FX_INT32 fromY, FX_INT32 t oX, FX_INT32 toY); 34 FX_FLOAT SizeOfBlackWhiteBlackRun(FX_INT32 fromX, FX_INT32 fromY, FX_INT32 t oX, FX_INT32 toY);
35 CBC_QRAlignmentPattern* FindAlignmentInRegion(FX_FLOAT overallEstModuleSize, FX_INT32 estAlignmentX, FX_INT32 estAlignmentY, FX_FLOAT allowanceFactor, FX_IN T32 &e); 35 CBC_QRAlignmentPattern* FindAlignmentInRegion(FX_FLOAT overallEstModuleSize, FX_INT32 estAlignmentX, FX_INT32 estAlignmentY, FX_FLOAT allowanceFactor, FX_IN T32 &e);
36 static FX_INT32 Round(FX_FLOAT d); 36 static FX_INT32 Round(FX_FLOAT d);
37 static FX_INT32 ComputeDimension(CBC_ResultPoint *topLeft, CBC_ResultPoint * topRight, CBC_ResultPoint *bottomLeft, FX_FLOAT moduleSize, FX_INT32 &e); 37 static FX_INT32 ComputeDimension(CBC_ResultPoint *topLeft, CBC_ResultPoint * topRight, CBC_ResultPoint *bottomLeft, FX_FLOAT moduleSize, FX_INT32 &e);
38 static CBC_CommonBitMatrix* SampleGrid(CBC_CommonBitMatrix *image, CBC_Resul tPoint *topLeft, CBC_ResultPoint *topRight, 38 static CBC_CommonBitMatrix* SampleGrid(CBC_CommonBitMatrix *image, CBC_Resul tPoint *topLeft, CBC_ResultPoint *topRight,
39 CBC_ResultPoint *bottomLeft, CBC_Resu ltPoint* alignmentPattern, FX_INT32 dimension, FX_INT32 &e); 39 CBC_ResultPoint *bottomLeft, CBC_Resu ltPoint* alignmentPattern, FX_INT32 dimension, FX_INT32 &e);
40 }; 40 };
41 #endif 41 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/qrcode/BC_QRDecodedBitStreamParser.cpp ('k') | xfa/src/fxbarcode/qrcode/BC_QRDetector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698