diff options
Diffstat (limited to 'core/fxcodec/codec/ccodec_faxmodule.h')
-rw-r--r-- | core/fxcodec/codec/ccodec_faxmodule.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/fxcodec/codec/ccodec_faxmodule.h b/core/fxcodec/codec/ccodec_faxmodule.h index 3d546d741a..e43aea370b 100644 --- a/core/fxcodec/codec/ccodec_faxmodule.h +++ b/core/fxcodec/codec/ccodec_faxmodule.h @@ -36,6 +36,15 @@ class CCodec_FaxModule { std::unique_ptr<uint8_t, FxFreeDeleter>* dest_buf, uint32_t* dest_size); #endif // _FX_PLATFORM_ == _FX_PLATFORM_WINDOWS_ + + // Return the ending bit position. + static int FaxG4Decode(const uint8_t* src_buf, + uint32_t src_size, + int starting_bitpos, + int width, + int height, + int pitch, + uint8_t* dest_buf); }; #endif // CORE_FXCODEC_CODEC_CCODEC_FAXMODULE_H_ |