Home
last modified time | relevance | path

Searched refs:CFX_DIBitmap (Results 1 – 25 of 91) sorted by relevance

1234

/external/pdfium/core/fxge/dib/
Dcfx_dibsource.h29 class CFX_DIBitmap; variable
75 RetainPtr<CFX_DIBitmap> Clone(const FX_RECT* pClip) const;
76 RetainPtr<CFX_DIBitmap> CloneConvert(FXDIB_Format format);
77 RetainPtr<CFX_DIBitmap> StretchTo(int dest_width,
81 RetainPtr<CFX_DIBitmap> TransformTo(const CFX_Matrix* pMatrix,
84 RetainPtr<CFX_DIBitmap> SwapXY(bool bXFlip, bool bYFlip) const;
85 RetainPtr<CFX_DIBitmap> FlipImage(bool bXFlip, bool bYFlip) const;
87 RetainPtr<CFX_DIBitmap> CloneAlphaMask() const;
107 RetainPtr<CFX_DIBitmap> m_pAlphaMask;
Dcfx_dibitmap.cpp26 CFX_DIBitmap::CFX_DIBitmap() { in CFX_DIBitmap() function in CFX_DIBitmap
33 bool CFX_DIBitmap::Create(int width, in Create()
46 if (!CFX_DIBitmap::CalculatePitchAndSize(height, width, format, &pitch, in Create()
84 bool CFX_DIBitmap::Copy(const RetainPtr<CFX_DIBSource>& pSrc) { in Copy()
98 CFX_DIBitmap::~CFX_DIBitmap() {} in ~CFX_DIBitmap()
100 uint8_t* CFX_DIBitmap::GetBuffer() const { in GetBuffer()
104 const uint8_t* CFX_DIBitmap::GetScanline(int line) const { in GetScanline()
108 void CFX_DIBitmap::TakeOver(RetainPtr<CFX_DIBitmap>&& pSrcBitmap) { in TakeOver()
121 void CFX_DIBitmap::Clear(uint32_t color) { in Clear()
183 bool CFX_DIBitmap::TransferBitmap(int dest_left, in TransferBitmap()
[all …]
Dcfx_dibitmap.h16 class CFX_DIBitmap : public CFX_DIBSource {
21 ~CFX_DIBitmap() override;
42 void TakeOver(RetainPtr<CFX_DIBitmap>&& pSrcBitmap);
112 CFX_DIBitmap();
113 CFX_DIBitmap(const CFX_DIBitmap& src);
Dcfx_bitmapstorer.h33 RetainPtr<CFX_DIBitmap> GetBitmap() { return m_pBitmap; } in GetBitmap()
34 RetainPtr<CFX_DIBitmap> Detach();
35 void Replace(RetainPtr<CFX_DIBitmap>&& pBitmap);
38 RetainPtr<CFX_DIBitmap> m_pBitmap;
Dcfx_bitmapcomposer.h19 class CFX_DIBitmap; variable
26 void Compose(const RetainPtr<CFX_DIBitmap>& pDest,
59 RetainPtr<CFX_DIBitmap> m_pBitmap;
68 RetainPtr<CFX_DIBitmap> m_pClipMask;
Dcfx_bitmapstorer.cpp17 RetainPtr<CFX_DIBitmap> CFX_BitmapStorer::Detach() { in Detach()
21 void CFX_BitmapStorer::Replace(RetainPtr<CFX_DIBitmap>&& pBitmap) { in Replace()
46 auto pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in SetInfo()
/external/pdfium/core/fxge/win32/
Dcfx_windowsdib.h30 class CFX_WindowsDIB : public CFX_DIBitmap {
37 static ByteString GetBitmapInfo(const RetainPtr<CFX_DIBitmap>& pBitmap);
38 static HBITMAP GetDDBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap, HDC hDC);
40 static RetainPtr<CFX_DIBitmap> LoadFromBuf(BITMAPINFO* pbmi, void* pData);
41 static RetainPtr<CFX_DIBitmap> LoadFromFile(const wchar_t* filename);
42 static RetainPtr<CFX_DIBitmap> LoadFromFile(const char* filename);
43 static RetainPtr<CFX_DIBitmap> LoadDIBitmap(WINDIB_Open_Args_ args);
Dfx_win32_dib.cpp15 const RetainPtr<CFX_DIBitmap>& pBitmap) { in GetBitmapInfo()
55 RetainPtr<CFX_DIBitmap> _FX_WindowsDIB_LoadFromBuf(BITMAPINFO* pbmi, in _FX_WindowsDIB_LoadFromBuf()
66 auto pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in _FX_WindowsDIB_LoadFromBuf()
98 RetainPtr<CFX_DIBitmap> CFX_WindowsDIB::LoadFromBuf(BITMAPINFO* pbmi, in LoadFromBuf()
103 HBITMAP CFX_WindowsDIB::GetDDBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap, in GetDDBitmap()
118 RetainPtr<CFX_DIBitmap> CFX_WindowsDIB::LoadFromFile(const wchar_t* filename) { in LoadFromFile()
136 auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in LoadFromFile()
150 RetainPtr<CFX_DIBitmap> CFX_WindowsDIB::LoadFromFile(const char* filename) { in LoadFromFile()
154 RetainPtr<CFX_DIBitmap> CFX_WindowsDIB::LoadDIBitmap(WINDIB_Open_Args_ args) { in LoadDIBitmap()
171 auto pDIBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in LoadDIBitmap()
Dwin32_int.h41 const RetainPtr<CFX_DIBitmap>& pBitmap,
50 const RetainPtr<CFX_DIBitmap>& pBitmap,
103 bool GdipCreateBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap, void** bitmap);
111 RetainPtr<CFX_DIBitmap> LoadDIBitmap(WINDIB_Open_Args_ args);
162 bool GDI_SetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap,
166 bool GDI_StretchDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap,
172 bool GDI_StretchBitMask(const RetainPtr<CFX_DIBitmap>& pBitmap,
195 bool GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap,
/external/pdfium/core/fxcodec/codec/
Dccodec_progressivedecoder.h61 FXCODEC_STATUS StartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
160 void PngOneOneMapResampleHorz(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap,
175 void ReSampleScanline(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap,
179 void Resample(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap,
183 void ResampleVert(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap,
186 void ResampleVertBT(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap,
189 void GifDoubleLineResampleVert(const RetainPtr<CFX_DIBitmap>& pDeviceBitmap,
193 FXCODEC_STATUS JpegStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
194 FXCODEC_STATUS PngStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
195 FXCODEC_STATUS GifStartDecode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
[all …]
Dccodec_tiffmodule.cpp37 bool Decode(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
44 bool IsSupport(const RetainPtr<CFX_DIBitmap>& pDIBitmap) const;
45 void SetPalette(const RetainPtr<CFX_DIBitmap>& pDIBitmap, uint16_t bps);
46 bool Decode1bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
51 bool Decode8bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
56 bool Decode24bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
295 bool CTiffContext::IsSupport(const RetainPtr<CFX_DIBitmap>& pDIBitmap) const { in IsSupport()
325 void CTiffContext::SetPalette(const RetainPtr<CFX_DIBitmap>& pDIBitmap, in SetPalette()
349 bool CTiffContext::Decode1bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap, in Decode1bppRGB()
377 bool CTiffContext::Decode8bppRGB(const RetainPtr<CFX_DIBitmap>& pDIBitmap, in Decode8bppRGB()
[all …]
/external/pdfium/core/fxge/
Dcfx_cliprgn.h13 class CFX_DIBitmap; variable
25 RetainPtr<CFX_DIBitmap> GetMask() const { return m_Mask; } in GetMask()
29 void IntersectMaskF(int left, int top, const RetainPtr<CFX_DIBitmap>& Mask);
34 const RetainPtr<CFX_DIBitmap>& Mask);
38 RetainPtr<CFX_DIBitmap> m_Mask;
Dcfx_cliprgn.cpp44 const RetainPtr<CFX_DIBitmap>& pMask) { in IntersectMaskRect()
56 RetainPtr<CFX_DIBitmap> pOldMask(pMask); in IntersectMaskRect()
57 m_Mask = pdfium::MakeRetain<CFX_DIBitmap>(); in IntersectMaskRect()
71 const RetainPtr<CFX_DIBitmap>& pMask) { in IntersectMaskF()
88 auto new_dib = pdfium::MakeRetain<CFX_DIBitmap>(); in IntersectMaskF()
Dcfx_renderdevice.h16 class CFX_DIBitmap; variable
117 RetainPtr<CFX_DIBitmap> GetBitmap() const;
118 void SetBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap);
119 bool CreateCompatibleBitmap(const RetainPtr<CFX_DIBitmap>& pDIB,
151 RetainPtr<CFX_DIBitmap> GetBackDrop();
152 bool GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, int left, int top);
295 RetainPtr<CFX_DIBitmap> m_pBitmap;
Dcfx_defaultrenderdevice.h20 bool Attach(const RetainPtr<CFX_DIBitmap>& pBitmap,
22 const RetainPtr<CFX_DIBitmap>& pOriDevice,
27 const RetainPtr<CFX_DIBitmap>& pOriDevice);
Difx_renderdevicedriver.cpp49 bool IFX_RenderDeviceDriver::GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap, in GetDIBits()
55 RetainPtr<CFX_DIBitmap> IFX_RenderDeviceDriver::GetBackDrop() { in GetBackDrop()
56 return RetainPtr<CFX_DIBitmap>(); in GetBackDrop()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.h27 CFX_SkiaDeviceDriver(const RetainPtr<CFX_DIBitmap>& pBitmap,
29 const RetainPtr<CFX_DIBitmap>& pOriDevice,
80 bool GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap,
84 RetainPtr<CFX_DIBitmap> GetBackDrop() override;
154 static void PreMultiply(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
162 RetainPtr<CFX_DIBitmap> m_pBitmap;
163 RetainPtr<CFX_DIBitmap> m_pOriDevice;
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.h35 CFX_AggDeviceDriver(const RetainPtr<CFX_DIBitmap>& pBitmap,
37 const RetainPtr<CFX_DIBitmap>& pOriDevice,
66 bool GetDIBits(const RetainPtr<CFX_DIBitmap>& pBitmap,
69 RetainPtr<CFX_DIBitmap> GetBackDrop() override;
112 RetainPtr<CFX_DIBitmap> m_pBitmap;
120 RetainPtr<CFX_DIBitmap> m_pOriDevice;
Dfx_agg_driver.cpp38 void RgbByteOrderSetPixel(const RetainPtr<CFX_DIBitmap>& pBitmap, in RgbByteOrderSetPixel()
58 void RgbByteOrderCompositeRect(const RetainPtr<CFX_DIBitmap>& pBitmap, in RgbByteOrderCompositeRect()
133 void RgbByteOrderTransferBitmap(const RetainPtr<CFX_DIBitmap>& pBitmap, in RgbByteOrderTransferBitmap()
231 bool DibSetPixel(const RetainPtr<CFX_DIBitmap>& pDevice, in DibSetPixel()
380 bool Init(const RetainPtr<CFX_DIBitmap>& pDevice,
381 const RetainPtr<CFX_DIBitmap>& pOriDevice,
437 RetainPtr<CFX_DIBitmap> m_pOriDevice;
438 RetainPtr<CFX_DIBitmap> m_pClipMask;
439 RetainPtr<CFX_DIBitmap> m_pDevice;
879 bool CFX_Renderer::Init(const RetainPtr<CFX_DIBitmap>& pDevice, in Init()
[all …]
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.h16 class CFX_DIBitmap; variable
34 RetainPtr<CFX_DIBitmap> GetBitmap();
35 const RetainPtr<CFX_DIBitmap>& GetBitmap() const;
47 RetainPtr<CFX_DIBitmap> m_pBitmap;
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.h16 class CFX_DIBitmap; variable
32 RetainPtr<CFX_DIBitmap> GetBitmap() const { return m_pBitmap; } in GetBitmap()
39 RetainPtr<CFX_DIBitmap> m_pBitmap;
/external/pdfium/xfa/fxfa/
Dcxfa_imagerenderer.h18 class CFX_DIBitmap; variable
33 void CompositeDIBitmap(const RetainPtr<CFX_DIBitmap>& pDIBitmap,
41 RetainPtr<CFX_DIBitmap> m_pCloneConvert;
Dcxfa_imagerenderer.cpp86 RetainPtr<CFX_DIBitmap> pStretched = m_pDIBSource->StretchTo( in Start()
99 RetainPtr<CFX_DIBitmap> pBitmap = m_pTransformer->DetachBitmap(); in Continue()
120 const RetainPtr<CFX_DIBitmap>& pDIBitmap, in CompositeDIBitmap()
148 RetainPtr<CFX_DIBitmap> pCloneConvert = pDIBitmap->CloneConvert(FXDIB_Rgb); in CompositeDIBitmap()
/external/pdfium/core/fpdfapi/page/
Dcpdf_image.h19 class CFX_DIBitmap; variable
47 void SetImage(const RetainPtr<CFX_DIBitmap>& pDIBitmap);
51 void ResetCache(CPDF_Page* pPage, const RetainPtr<CFX_DIBitmap>& pDIBitmap);
/external/pdfium/fpdfsdk/
Dfpdfview.cpp358 CFX_DIBitmap* CFXBitmapFromFPDFBitmap(FPDF_BITMAP bitmap) { in CFXBitmapFromFPDFBitmap()
359 return static_cast<CFX_DIBitmap*>(bitmap); in CFXBitmapFromFPDFBitmap()
824 RetainPtr<CFX_DIBitmap> GetMaskBitmap(CPDF_Page* pPage, in GetMaskBitmap()
830 const RetainPtr<CFX_DIBitmap>& pSrc, in GetMaskBitmap()
840 RetainPtr<CFX_DIBitmap> pDst = pdfium::MakeRetain<CFX_DIBitmap>(); in GetMaskBitmap()
849 const RetainPtr<CFX_DIBitmap>& pSrc, in RenderBitmap()
857 RetainPtr<CFX_DIBitmap> pDst = pdfium::MakeRetain<CFX_DIBitmap>(); in RenderBitmap()
887 RetainPtr<CFX_DIBitmap> pBitmap; in FPDF_RenderPage()
900 pBitmap = pdfium::MakeRetain<CFX_DIBitmap>(); in FPDF_RenderPage()
925 std::vector<RetainPtr<CFX_DIBitmap>> bitmaps(mask_boxes.size()); in FPDF_RenderPage()
[all …]

1234