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

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

Issue 2067903002: Make code compile with clang_use_chrome_plugin (part III) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 6 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_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ 7 #ifndef XFA_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_
8 #define XFA_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ 8 #define XFA_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_
9
9 class CBC_CommonDecoderResult; 10 class CBC_CommonDecoderResult;
10 class CBC_CommonBitSource; 11 class CBC_CommonBitSource;
12
11 class CBC_DataMatrixDecodedBitStreamParser { 13 class CBC_DataMatrixDecodedBitStreamParser {
12 public: 14 public:
13 CBC_DataMatrixDecodedBitStreamParser(); 15 CBC_DataMatrixDecodedBitStreamParser();
14 virtual ~CBC_DataMatrixDecodedBitStreamParser(); 16 virtual ~CBC_DataMatrixDecodedBitStreamParser();
17
15 static CBC_CommonDecoderResult* Decode(CFX_ByteArray& bytes, int32_t& e); 18 static CBC_CommonDecoderResult* Decode(CFX_ByteArray& bytes, int32_t& e);
16 19
17 private: 20 private:
18 static int32_t DecodeAsciiSegment(CBC_CommonBitSource* bits, 21 static int32_t DecodeAsciiSegment(CBC_CommonBitSource* bits,
19 CFX_ByteString& result, 22 CFX_ByteString& result,
20 CFX_ByteString& resultTrailer, 23 CFX_ByteString& resultTrailer,
21 int32_t& e); 24 int32_t& e);
22 static void DecodeC40Segment(CBC_CommonBitSource* bits, 25 static void DecodeC40Segment(CBC_CommonBitSource* bits,
23 CFX_ByteString& result, 26 CFX_ByteString& result,
24 int32_t& e); 27 int32_t& e);
(...skipping 24 matching lines...) Expand all
49 static const int32_t PAD_ENCODE; 52 static const int32_t PAD_ENCODE;
50 static const int32_t ASCII_ENCODE; 53 static const int32_t ASCII_ENCODE;
51 static const int32_t C40_ENCODE; 54 static const int32_t C40_ENCODE;
52 static const int32_t TEXT_ENCODE; 55 static const int32_t TEXT_ENCODE;
53 static const int32_t ANSIX12_ENCODE; 56 static const int32_t ANSIX12_ENCODE;
54 static const int32_t EDIFACT_ENCODE; 57 static const int32_t EDIFACT_ENCODE;
55 static const int32_t BASE256_ENCODE; 58 static const int32_t BASE256_ENCODE;
56 }; 59 };
57 60
58 #endif // XFA_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ 61 #endif // XFA_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_
OLDNEW
« no previous file with comments | « xfa/fxbarcode/datamatrix/BC_DataMatrixBitMatrixParser.h ('k') | xfa/fxbarcode/datamatrix/BC_DataMatrixDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698