35 CPDF_Page*
GetPage()
const {
return m_pPage; }
38 const CPDF_Dictionary* pFormResources,
39 const CPDF_Dictionary* pPageResources,
43 const CFX_Size& max_size_required);
54 explicit Entry(
RetainPtr<CPDF_Image> pImage);
58 uint32_t EstimateSize()
const {
return m_dwCacheSize; }
59 uint32_t GetMatteColor()
const {
return m_MatteColor; }
60 uint32_t GetTimeCount()
const {
return m_dwTimeCount; }
61 void SetTimeCount(uint32_t count) { m_dwTimeCount = count; }
62 CPDF_Image* GetImage()
const {
return m_pImage.Get(); }
66 const CPDF_Dictionary* pFormResources,
67 const CPDF_Dictionary* pPageResources,
71 const CFX_Size& max_size_required);
83 bool IsCacheValid(
const CFX_Size& max_size_required)
const;
85 uint32_t m_dwTimeCount = 0;
86 uint32_t m_MatteColor = 0;
87 uint32_t m_dwCacheSize = 0;
93 bool m_bCachedSetMaxSizeRequired =
false;
96 void ClearImageCacheEntry(
const CPDF_Stream* pStream);
101 MaybeOwned<Entry> m_pCurImageCacheEntry;
102 uint32_t m_nTimeCount = 0;
103 uint32_t m_nCacheSize = 0;
104 bool m_bCurFindCache =
false;
bool StartLoadDIBBase(const CPDF_Dictionary *pFormResource, const CPDF_Dictionary *pPageResource, bool bStdCS, CPDF_ColorSpace::Family GroupFamily, bool bLoadMask, const CFX_Size &max_size_required)
CPDF_Page * GetPage() const
void ResetBitmapForImage(RetainPtr< CPDF_Image > pImage)
RetainPtr< CFX_DIBBase > DetachCurBitmap()
bool StartGetCachedBitmap(RetainPtr< CPDF_Image > pImage, const CPDF_Dictionary *pFormResources, const CPDF_Dictionary *pPageResources, bool bStdCS, CPDF_ColorSpace::Family eFamily, bool bLoadMask, const CFX_Size &max_size_required)
bool Continue(PauseIndicatorIface *pPause)
uint32_t GetCurMatteColor() const
void CacheOptimization(int32_t dwLimitCacheSize)
CPDF_PageImageCache(CPDF_Page *pPage)
RetainPtr< CFX_DIBBase > DetachCurMask()
uint32_t GetTimeCount() const
CPDF_PageImageCache * GetPageImageCache()