From 36f4841d67037ce640273ce357d2d33f3e8567c3 Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Fri, 21 Sep 2018 21:09:32 +0000 Subject: Cleanup in CCodec_FaxModule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This CL moves FaxG4Decode to the class where it's implemented. It should remain there because it calls FaxG4GetRow, declared and used in the cpp file. Do some ++ cleanup while at it. This CL also makes CCodec_FaxModule own some methods that were namespaced since doing so allows removing a bunch of parameters. Change-Id: I24787f5668c7273b9bdb4009c3d0b29590c5552f Reviewed-on: https://pdfium-review.googlesource.com/42950 Commit-Queue: Nicolás Peña Moreno Reviewed-by: Tom Sepez --- core/fxcodec/fx_codec.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'core/fxcodec/fx_codec.h') diff --git a/core/fxcodec/fx_codec.h b/core/fxcodec/fx_codec.h index 8e966761c7..3b15fd7e99 100644 --- a/core/fxcodec/fx_codec.h +++ b/core/fxcodec/fx_codec.h @@ -151,13 +151,6 @@ std::tuple AdobeCMYK_to_sRGB1(uint8_t c, uint8_t m, uint8_t y, uint8_t k); -void FaxG4Decode(const uint8_t* src_buf, - uint32_t src_size, - int* pbitpos, - uint8_t* dest_buf, - int width, - int height, - int pitch); FX_SAFE_UINT32 CalculatePitch8(uint32_t bpc, uint32_t components, int width); FX_SAFE_UINT32 CalculatePitch32(int bpp, int width); -- cgit v1.2.3