| OLD | NEW |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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 CORE_FPDFAPI_FPDF_PARSER_FPDF_PARSER_DECODE_H_ | 7 #ifndef CORE_FPDFAPI_PARSER_FPDF_PARSER_DECODE_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PARSER_FPDF_PARSER_DECODE_H_ | 8 #define CORE_FPDFAPI_PARSER_FPDF_PARSER_DECODE_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/fx_basic.h" | 10 #include "core/fxcrt/fx_basic.h" |
| 11 | 11 |
| 12 class CPDF_Dictionary; | 12 class CPDF_Dictionary; |
| 13 | 13 |
| 14 // Indexed by 8-bit char code, contains unicode code points. | 14 // Indexed by 8-bit char code, contains unicode code points. |
| 15 extern const uint16_t PDFDocEncoding[256]; | 15 extern const uint16_t PDFDocEncoding[256]; |
| 16 | 16 |
| 17 CFX_ByteString PDF_NameDecode(const CFX_ByteStringC& orig); | 17 CFX_ByteString PDF_NameDecode(const CFX_ByteStringC& orig); |
| 18 CFX_ByteString PDF_NameDecode(const CFX_ByteString& orig); | 18 CFX_ByteString PDF_NameDecode(const CFX_ByteString& orig); |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 FX_BOOL PDF_DataDecode(const uint8_t* src_buf, | 67 FX_BOOL PDF_DataDecode(const uint8_t* src_buf, |
| 68 uint32_t src_size, | 68 uint32_t src_size, |
| 69 const CPDF_Dictionary* pDict, | 69 const CPDF_Dictionary* pDict, |
| 70 uint8_t*& dest_buf, | 70 uint8_t*& dest_buf, |
| 71 uint32_t& dest_size, | 71 uint32_t& dest_size, |
| 72 CFX_ByteString& ImageEncoding, | 72 CFX_ByteString& ImageEncoding, |
| 73 CPDF_Dictionary*& pImageParms, | 73 CPDF_Dictionary*& pImageParms, |
| 74 uint32_t estimated_size, | 74 uint32_t estimated_size, |
| 75 FX_BOOL bImageAcc); | 75 FX_BOOL bImageAcc); |
| 76 | 76 |
| 77 #endif // CORE_FPDFAPI_FPDF_PARSER_FPDF_PARSER_DECODE_H_ | 77 #endif // CORE_FPDFAPI_PARSER_FPDF_PARSER_DECODE_H_ |
| OLD | NEW |