| 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_INCLUDE_FPDFAPI_FPDF_PARSER_DECODE_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_PARSER_INCLUDE_FPDF_PARSER_DECODE_H_ |
| 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PARSER_DECODE_H_ | 8 #define CORE_FPDFAPI_FPDF_PARSER_INCLUDE_FPDF_PARSER_DECODE_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_basic.h" | 10 #include "core/include/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 FX_WORD PDFDocEncoding[256]; | 15 extern const FX_WORD 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 FX_BOOL PDF_DataDecode(const uint8_t* src_buf, | 66 FX_BOOL PDF_DataDecode(const uint8_t* src_buf, |
| 67 FX_DWORD src_size, | 67 FX_DWORD src_size, |
| 68 const CPDF_Dictionary* pDict, | 68 const CPDF_Dictionary* pDict, |
| 69 uint8_t*& dest_buf, | 69 uint8_t*& dest_buf, |
| 70 FX_DWORD& dest_size, | 70 FX_DWORD& dest_size, |
| 71 CFX_ByteString& ImageEncoding, | 71 CFX_ByteString& ImageEncoding, |
| 72 CPDF_Dictionary*& pImageParms, | 72 CPDF_Dictionary*& pImageParms, |
| 73 FX_DWORD estimated_size, | 73 FX_DWORD estimated_size, |
| 74 FX_BOOL bImageAcc); | 74 FX_BOOL bImageAcc); |
| 75 | 75 |
| 76 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_DECODE_H_ | 76 #endif // CORE_FPDFAPI_FPDF_PARSER_INCLUDE_FPDF_PARSER_DECODE_H_ |
| OLD | NEW |