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