summaryrefslogtreecommitdiff
path: root/core/fxcodec/codec/ccodec_flatemodule.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-06 17:54:29 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-06 17:54:29 -0700
commitb0fcfad1412c2ddaf33c74fa4b854c3c1390a509 (patch)
treee890bd15ef68a679e06b58e42f51496a050166ed /core/fxcodec/codec/ccodec_flatemodule.h
parent0abe65264043b8a1b4afbf8d3e9ce88b4a534826 (diff)
downloadpdfium-b0fcfad1412c2ddaf33c74fa4b854c3c1390a509.tar.xz
Remove unused PS generation code.
CFX_PSRenderer, IFX_PSOutput, CPSOutput, CPSPrinterDriver. Also reland commit 2d63eaa. Review-Url: https://codereview.chromium.org/2019603002
Diffstat (limited to 'core/fxcodec/codec/ccodec_flatemodule.h')
-rw-r--r--core/fxcodec/codec/ccodec_flatemodule.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/core/fxcodec/codec/ccodec_flatemodule.h b/core/fxcodec/codec/ccodec_flatemodule.h
index aee03719de..01797e7e68 100644
--- a/core/fxcodec/codec/ccodec_flatemodule.h
+++ b/core/fxcodec/codec/ccodec_flatemodule.h
@@ -34,18 +34,14 @@ class CCodec_FlateModule {
uint32_t estimated_size,
uint8_t*& dest_buf,
uint32_t& dest_size);
- FX_BOOL Encode(const uint8_t* src_buf,
+ bool Encode(const uint8_t* src_buf,
+ uint32_t src_size,
+ uint8_t** dest_buf,
+ uint32_t* dest_size);
+ bool PngEncode(const uint8_t* src_buf,
uint32_t src_size,
- int predictor,
- int Colors,
- int BitsPerComponent,
- int Columns,
- uint8_t*& dest_buf,
- uint32_t& dest_size);
- FX_BOOL Encode(const uint8_t* src_buf,
- uint32_t src_size,
- uint8_t*& dest_buf,
- uint32_t& dest_size);
+ uint8_t** dest_buf,
+ uint32_t* dest_size);
};
#endif // CORE_FXCODEC_CODEC_CCODEC_FLATEMODULE_H_