From 8d94b6687f27e1238f352939434704f75b330c1d Mon Sep 17 00:00:00 2001 From: rbpotter Date: Fri, 6 Jan 2017 08:10:18 -0800 Subject: Revert postscript code removal. Revert CL http://crrev.com/2608663003 in preparation for adding postscript generation to Pdfium. Note postscript generation code will not be called until additional patches land. These patches will also include modifications needed to make this code functional (currently missing a few compression functions). BUG= Review-Url: https://codereview.chromium.org/2615703002 --- core/fxcodec/codec/fx_codec.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'core/fxcodec/codec/fx_codec.cpp') diff --git a/core/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp index aa2ecef345..6b6c723388 100644 --- a/core/fxcodec/codec/fx_codec.cpp +++ b/core/fxcodec/codec/fx_codec.cpp @@ -97,6 +97,20 @@ uint8_t* CCodec_ScanlineDecoder::ReadNextLine() { return v_GetNextLine(); } +bool CCodec_BasicModule::RunLengthEncode(const uint8_t* src_buf, + uint32_t src_size, + uint8_t** dest_buf, + uint32_t* dest_size) { + return false; +} + +bool CCodec_BasicModule::A85Encode(const uint8_t* src_buf, + uint32_t src_size, + uint8_t** dest_buf, + uint32_t* dest_size) { + return false; +} + #ifdef PDF_ENABLE_XFA CFX_DIBAttribute::CFX_DIBAttribute() : m_nXDPI(-1), -- cgit v1.2.3