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

Side by Side Diff: xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.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_PDF417SCANNINGDECODER_H_ 7 #ifndef _BC_PDF417SCANNINGDECODER_H_
8 #define _BC_PDF417SCANNINGDECODER_H_ 8 #define _BC_PDF417SCANNINGDECODER_H_
9 class CBC_CommonDecoderResult; 9 class CBC_CommonDecoderResult;
10 class CBC_CommonBitMatrix; 10 class CBC_CommonBitMatrix;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 static FX_INT32 adjustCodewordStartColumn(CBC_CommonBitMatrix* image, FX_INT 32 minColumn, FX_INT32 maxColumn, FX_BOOL leftToRight, FX_INT32 codewordStartCol umn, FX_INT32 imageRow); 52 static FX_INT32 adjustCodewordStartColumn(CBC_CommonBitMatrix* image, FX_INT 32 minColumn, FX_INT32 maxColumn, FX_BOOL leftToRight, FX_INT32 codewordStartCol umn, FX_INT32 imageRow);
53 static FX_BOOL checkCodewordSkew(FX_INT32 codewordSize, FX_INT32 minCodeword Width, FX_INT32 maxCodewordWidth); 53 static FX_BOOL checkCodewordSkew(FX_INT32 codewordSize, FX_INT32 minCodeword Width, FX_INT32 maxCodewordWidth);
54 static CBC_CommonDecoderResult* decodeCodewords(CFX_Int32Array &codewords, F X_INT32 ecLevel, CFX_Int32Array &erasures, FX_INT32 &e); 54 static CBC_CommonDecoderResult* decodeCodewords(CFX_Int32Array &codewords, F X_INT32 ecLevel, CFX_Int32Array &erasures, FX_INT32 &e);
55 static FX_INT32 correctErrors(CFX_Int32Array &codewords, CFX_Int32Array &era sures, FX_INT32 numECCodewords, FX_INT32 &e); 55 static FX_INT32 correctErrors(CFX_Int32Array &codewords, CFX_Int32Array &era sures, FX_INT32 numECCodewords, FX_INT32 &e);
56 static void verifyCodewordCount(CFX_Int32Array &codewords, FX_INT32 numECCod ewords, FX_INT32 &e); 56 static void verifyCodewordCount(CFX_Int32Array &codewords, FX_INT32 numECCod ewords, FX_INT32 &e);
57 static CFX_Int32Array* getBitCountForCodeword(FX_INT32 codeword); 57 static CFX_Int32Array* getBitCountForCodeword(FX_INT32 codeword);
58 static FX_INT32 getCodewordBucketNumber(FX_INT32 codeword); 58 static FX_INT32 getCodewordBucketNumber(FX_INT32 codeword);
59 static FX_INT32 getCodewordBucketNumber(CFX_Int32Array& moduleBitCount); 59 static FX_INT32 getCodewordBucketNumber(CFX_Int32Array& moduleBitCount);
60 }; 60 };
61 #endif 61 #endif
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/pdf417/BC_PDF417ResultMetadata.cpp ('k') | xfa/src/fxbarcode/pdf417/BC_PDF417ScanningDecoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698