| 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 CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
| 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
| 9 | 9 |
| 10 #include "../../../third_party/base/nonstd_unique_ptr.h" | 10 #include "../../../third_party/base/nonstd_unique_ptr.h" |
| (...skipping 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 PDF_DATAAVAIL_PAGETREE, | 938 PDF_DATAAVAIL_PAGETREE, |
| 939 PDF_DATAAVAIL_PAGE, | 939 PDF_DATAAVAIL_PAGE, |
| 940 PDF_DATAAVAIL_PAGE_LATERLOAD, | 940 PDF_DATAAVAIL_PAGE_LATERLOAD, |
| 941 PDF_DATAAVAIL_RESOURCES, | 941 PDF_DATAAVAIL_RESOURCES, |
| 942 PDF_DATAAVAIL_DONE, | 942 PDF_DATAAVAIL_DONE, |
| 943 PDF_DATAAVAIL_ERROR, | 943 PDF_DATAAVAIL_ERROR, |
| 944 PDF_DATAAVAIL_LOADALLFILE, | 944 PDF_DATAAVAIL_LOADALLFILE, |
| 945 PDF_DATAAVAIL_TRAILER_APPEND | 945 PDF_DATAAVAIL_TRAILER_APPEND |
| 946 }; | 946 }; |
| 947 | 947 |
| 948 // Public for testing. |
| 949 FX_DWORD A85Decode(const uint8_t* src_buf, |
| 950 FX_DWORD src_size, |
| 951 uint8_t*& dest_buf, |
| 952 FX_DWORD& dest_size); |
| 953 // Public for testing. |
| 954 FX_DWORD HexDecode(const uint8_t* src_buf, |
| 955 FX_DWORD src_size, |
| 956 uint8_t*& dest_buf, |
| 957 FX_DWORD& dest_size); |
| 958 // Public for testing. |
| 959 FX_DWORD FPDFAPI_FlateOrLZWDecode(FX_BOOL bLZW, |
| 960 const uint8_t* src_buf, |
| 961 FX_DWORD src_size, |
| 962 CPDF_Dictionary* pParams, |
| 963 FX_DWORD estimated_size, |
| 964 uint8_t*& dest_buf, |
| 965 FX_DWORD& dest_size); |
| 948 FX_BOOL PDF_DataDecode(const uint8_t* src_buf, | 966 FX_BOOL PDF_DataDecode(const uint8_t* src_buf, |
| 949 FX_DWORD src_size, | 967 FX_DWORD src_size, |
| 950 const CPDF_Dictionary* pDict, | 968 const CPDF_Dictionary* pDict, |
| 951 uint8_t*& dest_buf, | 969 uint8_t*& dest_buf, |
| 952 FX_DWORD& dest_size, | 970 FX_DWORD& dest_size, |
| 953 CFX_ByteString& ImageEncoding, | 971 CFX_ByteString& ImageEncoding, |
| 954 CPDF_Dictionary*& pImageParms, | 972 CPDF_Dictionary*& pImageParms, |
| 955 FX_DWORD estimated_size, | 973 FX_DWORD estimated_size, |
| 956 FX_BOOL bImageAcc); | 974 FX_BOOL bImageAcc); |
| 957 | 975 |
| 958 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ | 976 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ |
| OLD | NEW |