| OLD | NEW | 
|---|
| 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_DATAMATRIXDECODEDBITSTREAMPARSER_H_ | 7 #ifndef XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ | 
| 8 #define _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; | 
| 11 class CBC_DataMatrixDecodedBitStreamParser { | 11 class CBC_DataMatrixDecodedBitStreamParser { | 
| 12  public: | 12  public: | 
| 13   CBC_DataMatrixDecodedBitStreamParser(); | 13   CBC_DataMatrixDecodedBitStreamParser(); | 
| 14   virtual ~CBC_DataMatrixDecodedBitStreamParser(); | 14   virtual ~CBC_DataMatrixDecodedBitStreamParser(); | 
| 15   static CBC_CommonDecoderResult* Decode(CFX_ByteArray& bytes, int32_t& e); | 15   static CBC_CommonDecoderResult* Decode(CFX_ByteArray& bytes, int32_t& e); | 
| 16 | 16 | 
| 17  private: | 17  private: | 
| 18   static int32_t DecodeAsciiSegment(CBC_CommonBitSource* bits, | 18   static int32_t DecodeAsciiSegment(CBC_CommonBitSource* bits, | 
| (...skipping 28 matching lines...) Expand all  Loading... | 
| 47   const static FX_CHAR TEXT_BASIC_SET_CHARS[]; | 47   const static FX_CHAR TEXT_BASIC_SET_CHARS[]; | 
| 48   const static FX_CHAR TEXT_SHIFT3_SET_CHARS[]; | 48   const static FX_CHAR TEXT_SHIFT3_SET_CHARS[]; | 
| 49   const static int32_t PAD_ENCODE; | 49   const static int32_t PAD_ENCODE; | 
| 50   const static int32_t ASCII_ENCODE; | 50   const static int32_t ASCII_ENCODE; | 
| 51   const static int32_t C40_ENCODE; | 51   const static int32_t C40_ENCODE; | 
| 52   const static int32_t TEXT_ENCODE; | 52   const static int32_t TEXT_ENCODE; | 
| 53   const static int32_t ANSIX12_ENCODE; | 53   const static int32_t ANSIX12_ENCODE; | 
| 54   const static int32_t EDIFACT_ENCODE; | 54   const static int32_t EDIFACT_ENCODE; | 
| 55   const static int32_t BASE256_ENCODE; | 55   const static int32_t BASE256_ENCODE; | 
| 56 }; | 56 }; | 
| 57 #endif | 57 | 
|  | 58 #endif  // XFA_SRC_FXBARCODE_DATAMATRIX_BC_DATAMATRIXDECODEDBITSTREAMPARSER_H_ | 
| OLD | NEW | 
|---|