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_QRDECODEDBITSTREAMPARSER_H_ | 7 #ifndef XFA_SRC_FXBARCODE_QRCODE_BC_QRDECODEDBITSTREAMPARSER_H_ |
8 #define _BC_QRDECODEDBITSTREAMPARSER_H_ | 8 #define XFA_SRC_FXBARCODE_QRCODE_BC_QRDECODEDBITSTREAMPARSER_H_ |
| 9 |
9 class CBC_CommonDecoderResult; | 10 class CBC_CommonDecoderResult; |
10 class CBC_QRCoderErrorCorrectionLevel; | 11 class CBC_QRCoderErrorCorrectionLevel; |
11 class CBC_CommonBitSource; | 12 class CBC_CommonBitSource; |
12 class CBC_QRCoderVersion; | 13 class CBC_QRCoderVersion; |
13 class CBC_CommonCharacterSetECI; | 14 class CBC_CommonCharacterSetECI; |
14 class CBC_QRDecodedBitStreamParser { | 15 class CBC_QRDecodedBitStreamParser { |
15 private: | 16 private: |
16 const static FX_CHAR ALPHANUMERIC_CHARS[45]; | 17 const static FX_CHAR ALPHANUMERIC_CHARS[45]; |
17 static const FX_CHAR* UTF_8; | 18 static const FX_CHAR* UTF_8; |
18 CBC_QRDecodedBitStreamParser(); | 19 CBC_QRDecodedBitStreamParser(); |
(...skipping 28 matching lines...) Expand all Loading... |
47 int32_t& e); | 48 int32_t& e); |
48 static void DecodeByteSegment( | 49 static void DecodeByteSegment( |
49 CBC_CommonBitSource* bits, | 50 CBC_CommonBitSource* bits, |
50 CFX_ByteString& result, | 51 CFX_ByteString& result, |
51 int32_t count, | 52 int32_t count, |
52 CBC_CommonCharacterSetECI* currentCharacterSetECI, | 53 CBC_CommonCharacterSetECI* currentCharacterSetECI, |
53 CFX_Int32Array* byteSegments, | 54 CFX_Int32Array* byteSegments, |
54 int32_t byteModeDecode, | 55 int32_t byteModeDecode, |
55 int32_t& e); | 56 int32_t& e); |
56 }; | 57 }; |
57 #endif | 58 |
| 59 #endif // XFA_SRC_FXBARCODE_QRCODE_BC_QRDECODEDBITSTREAMPARSER_H_ |
OLD | NEW |