| 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 _BC_QRDECODEDBITSTREAMPARSER_H_ |
| 8 #define _BC_QRDECODEDBITSTREAMPARSER_H_ | 8 #define _BC_QRDECODEDBITSTREAMPARSER_H_ |
| 9 class CBC_CommonDecoderResult; | 9 class CBC_CommonDecoderResult; |
| 10 class CBC_QRCoderErrorCorrectionLevel; | 10 class CBC_QRCoderErrorCorrectionLevel; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 static const CFX_ByteString GuessEncoding(CFX_ByteArray* bytes); | 26 static const CFX_ByteString GuessEncoding(CFX_ByteArray* bytes); |
| 27 static FX_INT32 ParseECIValue(CBC_CommonBitSource* bits, FX_INT32 &e); | 27 static FX_INT32 ParseECIValue(CBC_CommonBitSource* bits, FX_INT32 &e); |
| 28 static void DecodeGBKSegment(CBC_CommonBitSource* bits, CFX_ByteString &resu
lt, FX_INT32 count, FX_INT32 &e); | 28 static void DecodeGBKSegment(CBC_CommonBitSource* bits, CFX_ByteString &resu
lt, FX_INT32 count, FX_INT32 &e); |
| 29 static void DecodeKanjiSegment(CBC_CommonBitSource* bits, CFX_ByteString &re
sult, FX_INT32 count, FX_INT32 &e); | 29 static void DecodeKanjiSegment(CBC_CommonBitSource* bits, CFX_ByteString &re
sult, FX_INT32 count, FX_INT32 &e); |
| 30 static void DecodeNumericSegment(CBC_CommonBitSource* bits, CFX_ByteString &
result, FX_INT32 count, FX_INT32 &e); | 30 static void DecodeNumericSegment(CBC_CommonBitSource* bits, CFX_ByteString &
result, FX_INT32 count, FX_INT32 &e); |
| 31 static void DecodeAlphanumericSegment(CBC_CommonBitSource* bits, CFX_ByteStr
ing &result, FX_INT32 count, FX_BOOL fac1InEffect, FX_INT32 &e); | 31 static void DecodeAlphanumericSegment(CBC_CommonBitSource* bits, CFX_ByteStr
ing &result, FX_INT32 count, FX_BOOL fac1InEffect, FX_INT32 &e); |
| 32 static void DecodeByteSegment(CBC_CommonBitSource* bits, CFX_ByteString &res
ult, FX_INT32 count, CBC_CommonCharacterSetECI *currentCharacterSetECI, | 32 static void DecodeByteSegment(CBC_CommonBitSource* bits, CFX_ByteString &res
ult, FX_INT32 count, CBC_CommonCharacterSetECI *currentCharacterSetECI, |
| 33 CFX_Int32Array *byteSegments, FX_INT32 byteMod
eDecode, FX_INT32 &e); | 33 CFX_Int32Array *byteSegments, FX_INT32 byteMod
eDecode, FX_INT32 &e); |
| 34 }; | 34 }; |
| 35 #endif | 35 #endif |
| OLD | NEW |