diff options
author | Lei Zhang <thestig@chromium.org> | 2015-09-28 14:21:09 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-09-28 14:21:09 -0700 |
commit | 1e87d8a58b638bb3fd5f9683f06b74e13e9533a2 (patch) | |
tree | dd57e9035254025fc5e7b1e2ce9001053b3c5250 /core/include/fxcodec | |
parent | bd7fabf61f41e5ac2ded12ac46a4193c3dbffc44 (diff) | |
download | pdfium-1e87d8a58b638bb3fd5f9683f06b74e13e9533a2.tar.xz |
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 .
Diffstat (limited to 'core/include/fxcodec')
-rw-r--r-- | core/include/fxcodec/fx_codec.h | 20 |
1 files changed, 20 insertions, 0 deletions
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_ |