diff options
Diffstat (limited to 'core/fpdfapi/parser/cpdf_stream_acc.h')
-rw-r--r-- | core/fpdfapi/parser/cpdf_stream_acc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/fpdfapi/parser/cpdf_stream_acc.h b/core/fpdfapi/parser/cpdf_stream_acc.h index fae8ba0516..3c42639828 100644 --- a/core/fpdfapi/parser/cpdf_stream_acc.h +++ b/core/fpdfapi/parser/cpdf_stream_acc.h @@ -24,8 +24,9 @@ class CPDF_StreamAcc final : public Retainable { CPDF_StreamAcc(const CPDF_StreamAcc&) = delete; CPDF_StreamAcc& operator=(const CPDF_StreamAcc&) = delete; - void LoadAllData(bool bRawAccess, uint32_t estimated_size, bool bImageAcc); void LoadAllDataFiltered(); + void LoadAllDataFilteredWithEstimatedSize(uint32_t estimated_size); + void LoadAllDataImageAcc(uint32_t estimated_size); void LoadAllDataRaw(); const CPDF_Stream* GetStream() const { return m_pStream.Get(); } @@ -44,6 +45,8 @@ class CPDF_StreamAcc final : public Retainable { explicit CPDF_StreamAcc(const CPDF_Stream* pStream); ~CPDF_StreamAcc() override; + void LoadAllData(bool bRawAccess, uint32_t estimated_size, bool bImageAcc); + private: uint8_t* m_pData = nullptr; uint32_t m_dwSize = 0; |