diff options
author | thestig <thestig@chromium.org> | 2016-09-26 16:14:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-26 16:14:28 -0700 |
commit | 2ab466e3a59d845422e06e50bc38d4bf31ac1adf (patch) | |
tree | f34d7121c70042306739281445f2c19e83185fed /core/fxcodec/codec/fx_codec.cpp | |
parent | 2c065322f1b14ca3ff145dc068ab2361704f9e4b (diff) | |
download | pdfium-2ab466e3a59d845422e06e50bc38d4bf31ac1adf.tar.xz |
Clean up fx_codec_fax.cpp.
Review-Url: https://codereview.chromium.org/2357173005
Diffstat (limited to 'core/fxcodec/codec/fx_codec.cpp')
-rw-r--r-- | core/fxcodec/codec/fx_codec.cpp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/core/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp index 1995784dcd..7f0c8ad225 100644 --- a/core/fxcodec/codec/fx_codec.cpp +++ b/core/fxcodec/codec/fx_codec.cpp @@ -34,7 +34,24 @@ CCodec_ModuleMgr::CCodec_ModuleMgr() CCodec_ModuleMgr::~CCodec_ModuleMgr() {} CCodec_ScanlineDecoder::CCodec_ScanlineDecoder() - : m_NextLine(-1), m_pLastScanline(nullptr) {} + : CCodec_ScanlineDecoder(0, 0, 0, 0, 0, 0, 0) {} + +CCodec_ScanlineDecoder::CCodec_ScanlineDecoder(int nOrigWidth, + int nOrigHeight, + int nOutputWidth, + int nOutputHeight, + int nComps, + int nBpc, + uint32_t nPitch) + : m_OrigWidth(nOrigWidth), + m_OrigHeight(nOrigHeight), + m_OutputWidth(nOutputWidth), + m_OutputHeight(nOutputHeight), + m_nComps(nComps), + m_bpc(nBpc), + m_Pitch(nPitch), + m_NextLine(-1), + m_pLastScanline(nullptr) {} CCodec_ScanlineDecoder::~CCodec_ScanlineDecoder() {} |