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

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

Issue 1773733002: Review and cleanup lint warnings. (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_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ 7 #ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_
8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ 8 #define XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_
9 class CBC_CommonDecoderResult; 9 class CBC_CommonDecoderResult;
10 class CBC_CommonBitSource; 10 class CBC_CommonBitSource;
(...skipping 23 matching lines...) Expand all
34 static void DecodeEdifactSegment(CBC_CommonBitSource* bits, 34 static void DecodeEdifactSegment(CBC_CommonBitSource* bits,
35 CFX_ByteString& result, 35 CFX_ByteString& result,
36 int32_t& e); 36 int32_t& e);
37 static void DecodeBase256Segment(CBC_CommonBitSource* bits, 37 static void DecodeBase256Segment(CBC_CommonBitSource* bits,
38 CFX_ByteString& result, 38 CFX_ByteString& result,
39 CFX_Int32Array& byteSegments, 39 CFX_Int32Array& byteSegments,
40 int32_t& e); 40 int32_t& e);
41 static uint8_t Unrandomize255State(int32_t randomizedBase256Codeword, 41 static uint8_t Unrandomize255State(int32_t randomizedBase256Codeword,
42 int32_t base256CodewordPosition); 42 int32_t base256CodewordPosition);
43 43
44 const static FX_CHAR C40_BASIC_SET_CHARS[]; 44 static const FX_CHAR C40_BASIC_SET_CHARS[];
45 const static FX_CHAR C40_SHIFT2_SET_CHARS[]; 45 static const FX_CHAR C40_SHIFT2_SET_CHARS[];
46 46
47 const static FX_CHAR TEXT_BASIC_SET_CHARS[]; 47 static const FX_CHAR TEXT_BASIC_SET_CHARS[];
48 const static FX_CHAR TEXT_SHIFT3_SET_CHARS[]; 48 static const FX_CHAR TEXT_SHIFT3_SET_CHARS[];
49 const static int32_t PAD_ENCODE; 49 static const int32_t PAD_ENCODE;
50 const static int32_t ASCII_ENCODE; 50 static const int32_t ASCII_ENCODE;
51 const static int32_t C40_ENCODE; 51 static const int32_t C40_ENCODE;
52 const static int32_t TEXT_ENCODE; 52 static const int32_t TEXT_ENCODE;
53 const static int32_t ANSIX12_ENCODE; 53 static const int32_t ANSIX12_ENCODE;
54 const static int32_t EDIFACT_ENCODE; 54 static const int32_t EDIFACT_ENCODE;
55 const static int32_t BASE256_ENCODE; 55 static const int32_t BASE256_ENCODE;
56 }; 56 };
57 57
58 #endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ 58 #endif // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_
OLDNEW
« no previous file with comments | « xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.cpp ('k') | xfa/src/fxbarcode/datamatrix/BC_DataMatrixDetector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698