From 1e87d8a58b638bb3fd5f9683f06b74e13e9533a2 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Mon, 28 Sep 2015 14:21:09 -0700 Subject: Merge to XFA: Cleanup some fx_codec_fax.cpp code. R=tsepez@chromium.org TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1367633005 . (cherry picked from commit 39cd934a4705f69c30e1bbf13eab347f66999020) Review URL: https://codereview.chromium.org/1370273002 . --- core/include/fxcodec/fx_codec.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'core/include/fxcodec') diff --git a/core/include/fxcodec/fx_codec.h b/core/include/fxcodec/fx_codec.h index 06eaf85063..796fbf0c11 100644 --- a/core/include/fxcodec/fx_codec.h +++ b/core/include/fxcodec/fx_codec.h @@ -530,4 +530,24 @@ class IFX_DIBAttributeExif { virtual FX_BOOL GetInfo(FX_WORD tag, void* val) = 0; }; +FX_BOOL FaxSkipEOL(const uint8_t* src_buf, int bitsize, int& bitpos); +FX_BOOL FaxGet1DLine(const uint8_t* src_buf, + int bitsize, + int& bitpos, + uint8_t* dest_buf, + int columns); +FX_BOOL FaxG4GetRow(const uint8_t* src_buf, + int bitsize, + int& bitpos, + uint8_t* dest_buf, + const uint8_t* ref_buf, + int columns); +void FaxG4Decode(const uint8_t* src_buf, + FX_DWORD src_size, + int* pbitpos, + uint8_t* dest_buf, + int width, + int height, + int pitch); + #endif // CORE_INCLUDE_FXCODEC_FX_CODEC_H_ -- cgit v1.2.3