summaryrefslogtreecommitdiff
path: root/core/fpdfapi/render/cpdf_dibsource.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-04-05 20:34:11 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-05 20:34:11 +0000
commitcd39a7ca8c97e486aeeba1015667064bc22308e2 (patch)
tree3c02144a73e04a085e31816f059d4f2acc9af650 /core/fpdfapi/render/cpdf_dibsource.h
parent82f66b588f7d0a2edef878fa6c06a0e46d522821 (diff)
downloadpdfium-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.h2
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,