diff options
author | Lei Zhang <thestig@chromium.org> | 2018-04-05 20:34:11 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-05 20:34:11 +0000 |
commit | cd39a7ca8c97e486aeeba1015667064bc22308e2 (patch) | |
tree | 3c02144a73e04a085e31816f059d4f2acc9af650 /core/fpdfapi/render/cpdf_dibsource.h | |
parent | 82f66b588f7d0a2edef878fa6c06a0e46d522821 (diff) | |
download | pdfium-cd39a7ca8c97e486aeeba1015667064bc22308e2.tar.xz |
Split CPDF_DIBSource::TranslateScanline24bpp().
Move some code into TranslateScanline24bppDefaultDecode().
Change-Id: I7e985c2abb9b2f9e41214531321f8f3846dd3a94
Reviewed-on: https://pdfium-review.googlesource.com/29857
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/render/cpdf_dibsource.h')
-rw-r--r-- | core/fpdfapi/render/cpdf_dibsource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fpdfapi/render/cpdf_dibsource.h b/core/fpdfapi/render/cpdf_dibsource.h index 534baabf16..4cb79fa57c 100644 --- a/core/fpdfapi/render/cpdf_dibsource.h +++ b/core/fpdfapi/render/cpdf_dibsource.h @@ -96,6 +96,8 @@ class CPDF_DIBSource : public CFX_DIBSource { const CPDF_Dictionary* pParams); void TranslateScanline24bpp(uint8_t* dest_scan, const uint8_t* src_scan) const; + bool TranslateScanline24bppDefaultDecode(uint8_t* dest_scan, + const uint8_t* src_scan) const; void ValidateDictParam(); void DownSampleScanline1Bit(int orig_Bpp, int dest_Bpp, |