Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: core/include/fpdfapi/fpdf_parser.h

Issue 1545563003: Cleanup: Remove unused CFX_PSRenderer and various encoders it used. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: self review Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <map> 10 #include <map>
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 void ParseStream(IFX_FileRead* pFile, FX_BOOL bOwnFile); 826 void ParseStream(IFX_FileRead* pFile, FX_BOOL bOwnFile);
827 CPDF_Dictionary* m_pRootDict; 827 CPDF_Dictionary* m_pRootDict;
828 IFX_FileRead* m_pFile; 828 IFX_FileRead* m_pFile;
829 FX_BOOL m_bOwnFile; 829 FX_BOOL m_bOwnFile;
830 }; 830 };
831 831
832 CFX_WideString FPDF_FileSpec_GetWin32Path(const CPDF_Object* pFileSpec); 832 CFX_WideString FPDF_FileSpec_GetWin32Path(const CPDF_Object* pFileSpec);
833 void FPDF_FileSpec_SetWin32Path(CPDF_Object* pFileSpec, 833 void FPDF_FileSpec_SetWin32Path(CPDF_Object* pFileSpec,
834 const CFX_WideString& fullpath); 834 const CFX_WideString& fullpath);
835 835
836 void FlateEncode(const uint8_t* src_buf, 836 bool FlateEncode(const uint8_t* src_buf,
837 FX_DWORD src_size, 837 FX_DWORD src_size,
838 uint8_t*& dest_buf, 838 uint8_t** dest_buf,
839 FX_DWORD& dest_size); 839 FX_DWORD* dest_size);
840 void FlateEncode(const uint8_t* src_buf, 840 bool PngEncode(const uint8_t* src_buf,
841 FX_DWORD src_size, 841 FX_DWORD src_size,
842 int predictor, 842 uint8_t** dest_buf,
843 int Colors, 843 FX_DWORD* dest_size);
844 int BitsPerComponent,
845 int Columns,
846 uint8_t*& dest_buf,
847 FX_DWORD& dest_size);
848 FX_DWORD FlateDecode(const uint8_t* src_buf, 844 FX_DWORD FlateDecode(const uint8_t* src_buf,
849 FX_DWORD src_size, 845 FX_DWORD src_size,
850 uint8_t*& dest_buf, 846 uint8_t*& dest_buf,
851 FX_DWORD& dest_size); 847 FX_DWORD& dest_size);
852 FX_DWORD RunLengthDecode(const uint8_t* src_buf, 848 FX_DWORD RunLengthDecode(const uint8_t* src_buf,
853 FX_DWORD src_size, 849 FX_DWORD src_size,
854 uint8_t*& dest_buf, 850 uint8_t*& dest_buf,
855 FX_DWORD& dest_size); 851 FX_DWORD& dest_size);
856 FX_BOOL IsSignatureDict(const CPDF_Dictionary* pDict); 852 FX_BOOL IsSignatureDict(const CPDF_Dictionary* pDict);
857 853
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 FX_DWORD src_size, 999 FX_DWORD src_size,
1004 const CPDF_Dictionary* pDict, 1000 const CPDF_Dictionary* pDict,
1005 uint8_t*& dest_buf, 1001 uint8_t*& dest_buf,
1006 FX_DWORD& dest_size, 1002 FX_DWORD& dest_size,
1007 CFX_ByteString& ImageEncoding, 1003 CFX_ByteString& ImageEncoding,
1008 CPDF_Dictionary*& pImageParms, 1004 CPDF_Dictionary*& pImageParms,
1009 FX_DWORD estimated_size, 1005 FX_DWORD estimated_size,
1010 FX_BOOL bImageAcc); 1006 FX_BOOL bImageAcc);
1011 1007
1012 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_ 1008 #endif // CORE_INCLUDE_FPDFAPI_FPDF_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698