diff options
author | Lei Zhang <thestig@chromium.org> | 2017-05-09 18:37:10 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-10 21:56:24 +0000 |
commit | bdc4580d450f84f094a93a0227a3f708416bc563 (patch) | |
tree | deec66aff0196fbd30da0217bd39bee5f4d89396 /core/fpdfapi/render/cpdf_dibsource.h | |
parent | 0a0892626d24ce82e7026c32c71b1de036d4bbe1 (diff) | |
download | pdfium-bdc4580d450f84f094a93a0227a3f708416bc563.tar.xz |
Split DCT decoder creation from CPDF_DIBSource::CreateDecoder().
Change-Id: Ia0ea49f0460fcb8e55542f237d321bb9207aa8e1
Reviewed-on: https://pdfium-review.googlesource.com/5250
Reviewed-by: Tom Sepez <tsepez@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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fpdfapi/render/cpdf_dibsource.h b/core/fpdfapi/render/cpdf_dibsource.h index e9fc6c1132..00f8c3a2f5 100644 --- a/core/fpdfapi/render/cpdf_dibsource.h +++ b/core/fpdfapi/render/cpdf_dibsource.h @@ -84,6 +84,9 @@ class CPDF_DIBSource : public CFX_DIBSource { void LoadJpxBitmap(); void LoadPalette(); int CreateDecoder(); + bool CreateDCTDecoder(const uint8_t* src_data, + uint32_t src_size, + const CPDF_Dictionary* pParams); void TranslateScanline24bpp(uint8_t* dest_scan, const uint8_t* src_scan) const; void ValidateDictParam(); |